4 releases (2 breaking)

Uses old Rust 2015

0.2.0 Feb 1, 2017
0.1.1 Dec 28, 2016
0.1.0 Dec 28, 2016
0.0.1 Dec 28, 2016

#57 in #packet-parser

28 downloads per month

MIT license

74KB
1K SLoC

peel-ip

Build Status Build status Coverage Status master doc peel-ip License MIT Crates.io doc.rs

Packet parsing for the Internet Protocol Suite

The base for this crate is Peel, a dynamic parsing tree using arena based memory management. The current structure of the parsing tree look like this:

Parser diagram

This means in detail, that beside the usual protocol stack (like: [Ethernet, IPv4, TCP, HTTP]) IP in IP combinations are supported as well (like [Ethernet, IPv4, IPv6, TCP, HTTP]).

Planned features:

  • Add support packet reassembly
  • Add more protocols of the TCP/IP suite

Contributing

You want to contribute to this project? Wow, thanks! So please just fork it and send me a pull request.

Dependencies

~5.5–7MB
~137K SLoC