GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - otherwiseguy/yappcap: A very Pythonic libpcap wrapper that aims to include as much of the API as is practical

BranchesTags
Open more actions menu

Latest commit

 

History

43 Commits
43 Commits

Folders and files

NameName
Last commit message
Last commit date
doc
doc
 
 
examples
examples
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
Makefile
Makefile
 
 
README.rst
README.rst
 
 
generate_defs.c
generate_defs.c
 
 
pcap.pxd
pcap.pxd
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 
yappcap.c
yappcap.c
 
 
yappcap.pyx
yappcap.pyx
 
 

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

Readme
Activity

Stars

5 stars

Watchers

2 watching

Forks

7 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.