Skip to main content

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!

Project details


Download files

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

Source Distribution

pcap-fix-1.1.1.tar.gz (18.7 kB view details)

Uploaded Source

File details

Details for the file pcap-fix-1.1.1.tar.gz.

File metadata

  • Download URL: pcap-fix-1.1.1.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pcap-fix-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b445ad84c6c1ddef1add881f35386e05f54ab2b514689ecad79df6eceed2f8c0
MD5 c1a75986d84a2ebce338329800aa6317
BLAKE2b-256 06d8eb0736d19ea241d3528f9ef6303b83925f78be52f7564287bec6bb50502d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page