This release makes pylibpcap work in a multithreaded Python environment, and fixes a few other small bugs.
The first release of pylibpcap in three years! It's not a very fast-moving project. This release works with newer vesions of libpcap and SWIG, and should compile on a wider variety of operating systems and OS versions.
pylibpcap 0.4 release notes:
-pylibpcap now requires libpcap 0.7.1 from www.tcpdump.org to build. Please note that the libpcap distributed with redhat 7.3 does not work. New libpcap features such as 'setnonblock' and 'findalldevs' are now supported.
-SWIG 1.3.12 required if you want to play with modifying the interface.
However, all SWIG-generated code is included, so SWIG is not required to simply build.... read more
This is a minor update release because the sample program (sniff.py) got left out of the previous release. Some minor additional changes (see changelog).
I'm planning to add features from the tcpdump.org libpcap, which is being actively developed unlike the LBL libpcap. Also at some point I will add documentation.
Release 0.3 of pylibpcap is the first in over a year. This release incorporates various fixes and enhancements, thanks to the following folks:
- PC Drew for a fix to exception handling in callbacks.
- Gustavo Carneiro for various fixes to pcap_next() and to handling of packet capture lengths.
- John Nelson for distutil patch.
A new python module for libpcap is now available. This is based on the original module by Aaron Rhodes, with some extensive changes to make the interface more OO.
You will need SWIG to compile the module, but a linux binary release is also available.