#ipfix #netflow #protocols #parser #network-protocol

netgauze-flow-pkt

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

7 releases (4 breaking)

0.5.0 Nov 5, 2024
0.4.1 Aug 8, 2024
0.3.1 Oct 10, 2024
0.3.0 Jan 31, 2024
0.1.0 Mar 5, 2023

#1789 in Network programming

Download history 9/week @ 2024-08-12 17/week @ 2024-08-19 18/week @ 2024-08-26 3/week @ 2024-09-09 53/week @ 2024-09-16 69/week @ 2024-09-23 46/week @ 2024-09-30 117/week @ 2024-10-07 15/week @ 2024-10-14 1/week @ 2024-10-28 128/week @ 2024-11-04 9/week @ 2024-11-11 4/week @ 2024-11-18 8/week @ 2024-11-25

149 downloads per month
Used in netgauze-flow-service

Apache-2.0

325KB
6K 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
~219K SLoC