A library to parse packet traces.
Python Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
tests
wltrace
.gitignore
.travis.yml
Changelog.rst
LICENSE
LICENSE.txt
MANIFEST.in
Makefile
README.rst
common-requirements.txt
py27-requirements.txt
pypy-requirements.txt
setup.cfg
setup.py
tox.ini

README.rst

https://travis-ci.org/jhshi/wltrace.svg?branch=master Documentation Status https://coveralls.io/repos/github/jhshi/wltrace/badge.svg?branch=master

WlTrace: A Python Library to Pcap and Peektagged Packet Traces

Features

  • Support Pcap (w/ optical Radiotap header) and Peektagged format.
  • Simple and easy to use interface

Installation

You can install this package using pip.

$ pip install -U wltrace

Usage

from wltrace import wltrace

trace = wltrace.load_trace('/path/to/trace')
for pkt in trace:
    # do stuff with pkt

See full documentation at http://wltrace.readthedocs.io.