Python bindings for pcap and libnet???

Gerhard Häring gerhard.nospam at bigfoot.de
Wed May 9 14:19:18 EDT 2001


On Wed, 09 May 2001 11:44:43 -0400, David Lees <Davidl at nospammyraqia.com> wrote:
>Are their any Python modules that let me use the pcap and libnet
>libraries for reading and writing ethernet packets directly?  I am
>playing with these libraries in C, but would love to use them directly
>from Python.

Yes, there is a libpcap Python binding:

http://pylibpcap.sourceforge.net

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://highqualdev.com              public key at homepage
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list