#netflow #ipfix #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

#1652 in Network programming

Download history 60/week @ 2024-07-26 275/week @ 2024-08-02 56/week @ 2024-08-09 19/week @ 2024-08-16 17/week @ 2024-08-23 2/week @ 2024-08-30 2/week @ 2024-09-06 47/week @ 2024-09-13 67/week @ 2024-09-20 44/week @ 2024-09-27 52/week @ 2024-10-04 88/week @ 2024-10-11 3/week @ 2024-10-18 111/week @ 2024-11-01 20/week @ 2024-11-08

135 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