fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols
Clone or download
obormot [clone of PR #403] update ip6.py to read all extension headers (#412)
* update ip6.py
with current ip6.py, dpkt will escape all extension headers in packet and only read the last extension header in each packet. with this update you are able to count/read all extension headers.
Latest commit 98e84ad Feb 20, 2018

README.rst

dpkt

Installation

pip install dpkt

Documentation

https://dpkt.readthedocs.org/

Recent News

The DPKT code base now supports both Python2 and Python3 thanks to the efforts of @kylekeppler @jonathanslenders @sunhao2014 and many more.

Given the large amount of work that went into the Python3 support there's bound to be a few wrinkles that crop up.

About

This code is based on dpkt code lead by Dug Song and is now being maintained and improved by an extended set of contributors and developers.

LICENSE

BSD 3-Clause