Finding MAC Addresses (Computer IDs)
Moderator: General Moderators
Finding MAC Addresses (Computer IDs)
Is there a way in PHP that I can grab MAC Addresses. Some friends and I are creating a game and want to stop the creation of multiple accounts. So in order to do so, as logging IP addresses and trying to match them doesn't always work with users using dial-up, proxies ect.
we'd like to learn how to log MAC Addresses.
First off, is this legal?
Second, is it possible?
Third, how do I do it?
Thanks in advance,
we'd like to learn how to log MAC Addresses.
First off, is this legal?
Second, is it possible?
Third, how do I do it?
Thanks in advance,
-
RobertPaul
- Forum Contributor
- Posts: 122
- Joined: Sun Sep 18, 2005 8:54 pm
- Location: OCNY
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
As it turns out, almost every box in the network that has needed to communicate with his is probably storing his MAC address via an arp table. Same goes for switches, which is why they're so much better then hubs in terms of dealing with network congestion.pickle wrote:As far as I know, the MAC address would only be stored on their DHCP host. Or, if they have static IPs, not even there. A MAC address is not transmitted across the Internet.
From a linux command line, type in "arp -n" and you should see a dump of the kernels arp table.
Cheers,
BDKR
But you don't need to know the mac addresses of hosts in a different ethernetwork..BDKR wrote:As it turns out, almost every box in the network that has needed to communicate with his is probably storing his MAC address via an arp table. Same goes for switches, which is why they're so much better then hubs in terms of dealing with network congestion.pickle wrote:As far as I know, the MAC address would only be stored on their DHCP host. Or, if they have static IPs, not even there. A MAC address is not transmitted across the Internet.
From a linux command line, type in "arp -n" and you should see a dump of the kernels arp table.
http://www.erg.abdn.ac.uk/users/gorry/c ... ridge.html
Of course, but that's not what we're talking about anyways.timvw wrote: But you don't need to know the mac addresses of hosts in a different ethernetwork..
http://www.erg.abdn.ac.uk/users/gorry/c ... ridge.html
BDKR wrote:Of course, but that's not what we're talking about anyways.timvw wrote: But you don't need to know the mac addresses of hosts in a different ethernetwork..
http://www.erg.abdn.ac.uk/users/gorry/c ... ridge.html
You don't (generally) use a proxy on the same network. The described problem set implies different networks.Lang wrote:So in order to do so, as logging IP addresses and trying to match them doesn't always work with users using dial-up, proxies ect.
MAC addresses are generally only propogated one network wide, so for the original requestor the answer is generally no - he won't be able to capture them.