[][src]Crate snmp_parser

SNMP Parser

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.

Re-exports

pub use snmp::*;
pub use snmpv3::*;

Modules

error
snmp

SNMP Parser (v1 and v2c)

snmpv3

SNMPv3 Parser

Enums

SnmpGenericMessage

Functions

parse_snmp_generic_message