• Stars
    star
    117
  • Rank 300,061 (Top 6 %)
  • Language
    Python
  • License
    Other
  • Created over 9 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Automatically exported from code.google.com/p/pypcap
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!