19 releases (11 breaking)

Uses new Rust 2024

new 0.12.1 May 22, 2026
0.11.0 Apr 21, 2026
0.10.0 Mar 10, 2026
0.8.0 Nov 25, 2025
0.1.0 Mar 5, 2023

#1486 in Parser implementations

Download history 4/week @ 2026-01-25 25/week @ 2026-02-01 69/week @ 2026-02-08 6/week @ 2026-02-15 39/week @ 2026-03-01 7/week @ 2026-03-08 7/week @ 2026-03-15 5/week @ 2026-03-22 9/week @ 2026-03-29 31/week @ 2026-04-05 21/week @ 2026-04-12 60/week @ 2026-04-19

60 downloads per month
Used in 3 crates

Apache-2.0

445KB
9K SLoC

NetGauze flow reporting pkt (Netflow V9 and IPFIX)

Crates.io Documentation Apache licensed

Supported RFCs

  1. Specification of the IP Flow Information Export (IPFIX) Protocol for the Exchange of Flow Information RFC 7011
  2. Information Model for IP Flow Information Export RFC 5102
  3. Cisco Systems NetFlow Services Export Version 9 RFC 3954
  4. Information Elements are pulled automatically at compile time from IANA registry IP Flow Information Export (IPFIX) Entities. The crate to download and generate the necessary rust code is netgauze-ipfix-code-generator When the IANA registry introduces changes, such as a new data type, generation may fail. If your project depends on this crate and requires stable generation, you can enable the backwards-compatibility-snapshot feature in your Cargo.toml file. This feature uses a snapshot of registry files taken at the time of the crate's release, ensuring a reliable generation even if the registry is updated. In addition to this, users can define a single custom local registry or multiple custom local registries, allowing NetGauze to generate the necessary code at build time. To use this functionality, the custom-upstream-build feature must be enabled and the environment variable NETGAUZE_CUSTOM_XML_PATHS must be set. NETGAUZE_CUSTOM_XML_PATHS takes the paths and PENs with the format NETGAUZE_CUSTOM_XML_PATHS="path=pen" or to specify more registries NETGAUZE_CUSTOM_XML_PATHS="path=pen,path2=pen2,path3=pen3".

Examples

  1. IPFIX ipfix.rs

    cargo run --example ipfix

  2. Netflow V9 netflow.rs

    cargo run --example netflow

Dependencies

~10–22MB
~302K SLoC