"fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols"
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:
- dpkt/dpkt.py: decouple dnet from dpkt
- dpkt/dns.py : parse some more DNS flags
@jonoberheide's 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
Jeff Silverman has some code and documentation.
BSD 3-Clause License, as the upstream project