| Crates.io | snmp-parser |
| lib.rs | snmp-parser |
| version | 0.11.0 |
| created_at | 2018-05-08 20:03:42.585888+00 |
| updated_at | 2025-02-10 16:32:22.364888+00 |
| description | Parser for the SNMP protocol |
| homepage | https://github.com/rusticata/snmp-parser |
| repository | https://github.com/rusticata/snmp-parser.git |
| max_upload_size | |
| id | 64376 |
| size | 69,078 |
A SNMP parser, implemented with the nom parser combinator framework.
The goal of this parser is to implement SNMP messages analysis, for example to use rules from a network IDS.
To read a message, different functions must be used depending on the expected message
version. The main functions for parsing are parse_snmp_v1,
parse_snmp_v2c and
parse_snmp_v3.
If you don't know the version of the message and want to parse a generic SNMP message,
use the parse_snmp_generic_message function.
The code is available on Github and is part of the Rusticata project.
#[from] instead of From impl for asn1 errorOid and OidParseErrorFromBer for all top-level messagesThanks: @MattesWhite
parse_ber_u32 from der-parser crateLicensed under either of
at your option.
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.