Skip to content

VersBinarii/netflow_v9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
    }
}

Releases

No releases published

Packages

No packages published

Languages