Python and libpcap. find source mac address of packet.

Posted by Shamanu4 on Stack Overflow See other posts from Stack Overflow or by Shamanu4
Published on 2010-06-10T12:17:36Z Indexed on 2010/06/10 12:22 UTC
Read the original article Hit count: 320

Filed under:
|
|
|

Hello! I'm writing python program to build mac-address cache using pcap. But pcap module for python has no good documentation. I have found this page http://pylibpcap.sourceforge.net/ with code example and it works fine.

Can anybody modify this example to make it able to show the source mac-address for each packet? Or point me to the documentation where I can read about it ...

© Stack Overflow or respective owner

Related posts about python

Related posts about mac-address