#ipfix #netflow #protocols #parser

netgauze-flow-pkt

Netflow(v9)/IPFIX(v10) Protocol representation and serde

3 releases (breaking)

0.3.0 Jan 31, 2024
0.2.0 Oct 9, 2023
0.1.0 Mar 5, 2023

#1275 in Network programming

35 downloads per month
Used in netgauze-flow-service

Apache-2.0

205KB
4K SLoC

NetGauze flow reporting pkt (Netflow V9 and IPFIX)

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

Examples

  1. IPFIX ipfix.rs

    cargo run --example ipfix

  2. Netflow V9 netflow.rs

    cargo run --example netflow

Dependencies

~4–17MB
~208K SLoC