Skip to content

A very Pythonic libpcap wrapper that aims to include as much of the API as is practical

Notifications You must be signed in to change notification settings

otherwiseguy/yappcap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8d48d20 · Sep 23, 2016

History

43 Commits
Dec 19, 2011
Dec 23, 2011
Dec 18, 2011
Dec 13, 2011
Dec 14, 2011
Dec 23, 2011
Dec 18, 2011
Dec 23, 2011
Sep 22, 2016
Sep 22, 2016
Sep 23, 2016
Sep 23, 2016

Repository files navigation

yappcap

yappcap is a Pythonic wrapper for the libpcap library. It aims to support as much of the libpcap API as is practical to implement in Python with complete documentation and active support.

Installation

make && sudo make install

or

sudo python setup.py install

Getting started

Starting a capture on an interface and saving all packets on port 5060 to a save file:

>>> import yappcap
>>> p = PcapLive("eth0", timeout=1000)
>>> p.activate()
>>> p.filter = "port 5060"
>>> p.loop(-1, None)

Full documentation at http://otherwiseguy.github.com/yappcap/

About

A very Pythonic libpcap wrapper that aims to include as much of the API as is practical

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published