Python module for the libpcap packet capture library, based on the original python libpcap module by Aaron Rhodes.

Project Activity

See All Activity >


Monitoring, Security


BSD License

Follow python-libpcap

python-libpcap Web Site

Other Useful Business Software

PubNub: Realtime APIs, Global Infrastructure PubNub: Realtime APIs, Global Infrastructure Icon
PubNub: Realtime APIs, Global Infrastructure Icon

Harness the power of PubNub’s programmable APIs and robust global network to power realtime chat, geolocation, IoT, multiplayer games, and more.

The realtime revolution is upon us. Users want data, and they want it now. Deliver the immersive, interactive experiences your audience craves with PubNub. Get to market quickly with pre-built SDKs, integrations, and serverless computing at the edge; then scale on a global network that delivers any message in under a quarter of a second with five 9’s reliability guaranteed.

Rate This Project

Login To Rate This Project

User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 2 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 1 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5

User Reviews

  • It has not been updated for pcapng file format. It is missing a pcap_close() function, useful if you do offline pcap_open_offline() (or pcap_open_offline_with_tstamp_precision(), which must be implemented for pcapng). I have modified it for my own use to do both things and hope to send it to the maintainers after some more work on it, and to figure out how to give them the patch files that they can apply to the code. Modifying it is very difficult; there's tons of code in there from SWIG (whatever that is [btw, I know what it is]), and I'm sure I've done it wrong. There are not many examples about how to use the library, and it is not well documented. There are other features of libpcap that have not been included, as well. For basic functionality, it will do the job, and I do appreciate the effort, but it is a tough row to hoe to use it and it is missing some basic and necessary functionality.

    1 user found this review helpful.
Read more reviews >

Additional Project Details



Intended Audience

Developers, System Administrators

Programming Language

C, Python