6 releases (breaking)

0.6.0 Sep 13, 2021
0.5.0 Nov 30, 2020
0.4.0 Aug 1, 2019
0.3.0 Feb 25, 2019
0.1.0 Nov 3, 2017

#30 in #nom

Download history 60/week @ 2021-07-04 34/week @ 2021-07-11 47/week @ 2021-07-18 46/week @ 2021-07-25 94/week @ 2021-08-01 71/week @ 2021-08-08 72/week @ 2021-08-15 57/week @ 2021-08-22 51/week @ 2021-08-29 26/week @ 2021-09-05 34/week @ 2021-09-12 57/week @ 2021-09-19 71/week @ 2021-09-26 136/week @ 2021-10-03 119/week @ 2021-10-10 46/week @ 2021-10-17

236 downloads per month

MIT/Apache

11KB
169 lines

openvpn-parser

License: MIT Apache License 2.0 Build Status Crates.io Version

Overview

openvpn-parser is a parser for the (OpenVPN) protocol.

It can be used to decode the packet structures, access fields and verify some properties. The content of the Control packets uses the TLS protocol, so tls-parser can be used to decode the messages.

The parser does not decrypt messages.

This crate mostly serves as a demo/example crate for network protocol parsers written using nom, and nom-derive.

Notes

Writen in great pain, due to lack of specifications, and a number of fields defined in a very useless way, like "usually 16 or 20 bytes".

Closest thing to specifications:

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1MB
~18K SLoC