SPUG: MAC address

Andrew Sweger andrew at sweger.net
Fri Oct 11 00:10:07 CDT 2002


That information is lost when going through bridges and routers. For
example, if you pulled the MAC from the ARP table for the remote half of
the socket, you may be getting the MAC of the local router involved in
that socket. If you're only dealing with local LAN connections, there
might be a way.

I can go on (and on) about this off-list if you like.

On Thu, 10 Oct 2002 benjamin at dzhan.com wrote:

> Is there a way using perl socket/networking functions to determine the
> source hardware MAC address of incoming connections?

-- 
Andrew B. Sweger -- The great thing about multitasking is that several
                                things can go wrong at once.


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org




More information about the spug-list mailing list