Re: how to get the mac address(network card physical address) of a remote computer by its IP address?
On Wed, Nov 19, 2008 at 9:20 PM, Ron Johnson <email@example.com> wrote:
> On 11/19/08 07:06, 中和刘 wrote:
>> when a user visit my website, it's easy to get the ip address of the
>> user, but i think IP address is not as stable as mac address, so I
>> hope I can get the mac address of the user according to its IP
>> address, is it possible? thanks
> IP packets don't contain the MAC address. You'd have to run some
> asynchronous arp ping against the IP address.
i heard that arp ping only get the mac address on the LAN, it cannot
get mac address outside the LAN.
> (Why do I get the feeling that some Chinese Government rule is behind this
no, I'm not a member of chinese government, I just want to provide
better service in my website :)
> Ron Johnson, Jr.
> Jefferson LA USA
> If you don't agree with me, you are worse than Hitler!!!
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact firstname.lastname@example.org
Welcome to visit my home page http://www.starliu.com
[It's only accessable when my pc is turned on, on which it's hosted.]