A Python library to parse Pcap (w/ Radtiotap) and Peektagged packet traces.


Keywords
pcap, radiotap, peektagged, trace
License
Other
Install
pip install wltrace==1.1.1

Documentation

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.