dumb packet processing python module
fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols
pip install dpkt
To run the all tests run:
Deviations from upstream
This code is based on dpkt code lead by Dug Song.
At this point, this is not the exact upstream version. If you are looking for the latest stock dpkt, please get it from the above link.
Almost all of the upstream changes are pulled. However, some modules are not. Here is a list of the changes:
[@jonoberheide’s](https://twitter.com/jonoberheide) old examples still apply:
- dpkt Tutorial #1: ICMP Echo
- dpkt Tutorial #2: Parsing a PCAP File
- dpkt Tutorial #3: dns spoofing
- dpkt Tutorial #4: AS Paths from MRT/BGP
BSD 3-Clause License, as the upstream project
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size dpkt-1.8.2.tar.gz (80.9 kB)||File type Source||Python version None||Upload date||Hashes View|