| Crates.io | netflow_v9 |
| lib.rs | netflow_v9 |
| version | 0.2.1 |
| created_at | 2019-11-14 13:37:24.213159+00 |
| updated_at | 2019-11-14 21:43:05.401452+00 |
| description | Library for parsing Netflow-v9 packets |
| homepage | |
| repository | https://github.com/VersBinarii/netflow_v9 |
| max_upload_size | |
| id | 181231 |
| size | 44,118 |
A simple parser for the Netflow v9 protocol. It collects the flows and outputs each in a JSON format.
In your Cargo.toml file:
netflow_v9 = { git = "https://github.com/VersBinarii/netflow_v9.git" }
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);
}
}