Dpkt

From Wildsong
Jump to navigationJump to search

"fast, simple packet creation and parsing."

Home page: http://monkey.org/~dugsong/dpkt/

Not much here - wiki is empty as of 26 Aug 2009 Just a download area to get new code.

Packet creation

Tutorial: ICMP echo: http://jon.oberheide.org/blog/2008/08/25/dpkt-tutorial-1-icmp-echo/ (It works, I tried it!)

There is an examples directory in the sources with 3 more packet generation examples in it. dnsping, nbtping, ping

Packet parsing

Jon comes through AGAIN, AWESOME.

http://jon.oberheide.org/blog/2008/10/15/dpkt-tutorial-2-parsing-a-pcap-file/

See also

Packet hacking