netflow_v9

Crates.ionetflow_v9
lib.rsnetflow_v9
version0.2.1
sourcesrc
created_at2019-11-14 13:37:24.213159
updated_at2019-11-14 21:43:05.401452
descriptionLibrary for parsing Netflow-v9 packets
homepage
repositoryhttps://github.com/VersBinarii/netflow_v9
max_upload_size
id181231
size44,118
(VersBinarii)

documentation

README

netflow_v9

A simple parser for the Netflow v9 protocol. It collects the flows and outputs each in a JSON format.

Install

In your Cargo.toml file:

netflow_v9 = { git = "https://github.com/VersBinarii/netflow_v9.git" }

Example

let mut parser = Parser::new();

if let Ok(sets) = parser.parse_netflow_packet(&packet_1) {
    for set in sets {
        let s = set.to_json();
        println!("{}",s);
    }
}
Commit count: 23

cargo fmt