https://github.com/rusticata/openvpn-parser
OpenVPN zero-copy parser written in pure rust
https://github.com/rusticata/openvpn-parser
Last synced: 8 months ago
JSON representation
OpenVPN zero-copy parser written in pure rust
- Host: GitHub
- URL: https://github.com/rusticata/openvpn-parser
- Owner: rusticata
- License: apache-2.0
- Created: 2017-10-11T07:11:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-13T11:40:30.000Z (almost 5 years ago)
- Last Synced: 2025-04-22T18:06:43.829Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 34.2 KB
- Stars: 20
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# openvpn-parser
[](./LICENSE-MIT)
[](./LICENSE-APACHE)
[](https://travis-ci.org/rusticata/openvpn-parser)
[](https://crates.io/crates/openvpn-parser)
## Overview
openvpn-parser is a parser for the ([OpenVPN](https://openvpn.net/)) 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](https://github.com/rusticata/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:
-
-
- OpenVPN source code
- OpenVPN wireshark parser
## License
Licensed under either of
* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
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.