openvpn-parser

Crates.ioopenvpn-parser
lib.rsopenvpn-parser
version0.6.0
sourcesrc
created_at2017-11-03 08:36:44.908782
updated_at2021-09-13 11:39:56.190654
descriptionParser for the OpenVPN protocol
homepagehttps://github.com/rusticata/openvpn-parser
repositoryhttps://github.com/rusticata/openvpn-parser.git
max_upload_size
id37886
size25,657
Pierre Chifflier (chifflier)

documentation

https://docs.rs/openvpn-parser

README

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.

Commit count: 29

cargo fmt