- Specification of the IP Flow Information Export (IPFIX) Protocol for the Exchange of Flow Information RFC 7011
- Information Model for IP Flow Information Export RFC 5102
- Cisco Systems NetFlow Services Export Version 9 RFC 3954
- 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
netcalyx-ipfix-code-generatorWhen 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 NetCalyx to generate the necessary code at build time. To use this functionality, thecustom-upstream-buildfeature must be enabled and the environment variableNETCALYX_CUSTOM_XML_PATHSmust be set.NETCALYX_CUSTOM_XML_PATHStakes the paths and PENs with the formatNETCALYX_CUSTOM_XML_PATHS="path=pen"or to specify more registriesNETCALYX_CUSTOM_XML_PATHS="path=pen,path2=pen2,path3=pen3".
-
IPFIX ipfix.rs
cargo run --example ipfix -
Netflow V9 netflow.rs
cargo run --example netflow