Skip to main content
Help us improve Python packaging – donate today!

packet capture library

Project Description

Python pcap module

This is a simplified object-oriented Python wrapper for libpcap - the current tcpdump.org version, and the WinPcap port for Windows.

example use:

>>> import pcap
>>> for ts, pkt in pcap.pcap():
...     print ts, `pkt`
...

Building

Just try ‘make’, and then ‘make install’

If your libpcap installation is missing the pcap-int.h header, you will need to build against a libpcap build directory. Modify the CONFIG_ARGS in the Makefile to point to the location of your built libpcap distribution, and try again.

See INSTALL file for more detailed build instructions.

Support

Visit http://code.google.com/p/pypcap for help!

Release history Release notifications

This version
History Node

1.1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pcap-fix-1.1.1.tar.gz (18.7 kB) Copy SHA256 hash SHA256 Source None Apr 4, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page