#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

#1614 in Network programming

Download history 67/week @ 2024-07-27 298/week @ 2024-08-03 23/week @ 2024-08-10 18/week @ 2024-08-17 17/week @ 2024-08-24 1/week @ 2024-08-31 3/week @ 2024-09-07 49/week @ 2024-09-14 72/week @ 2024-09-21 47/week @ 2024-09-28 94/week @ 2024-10-05 36/week @ 2024-10-12 2/week @ 2024-10-19 1/week @ 2024-10-26 117/week @ 2024-11-02 20/week @ 2024-11-09

141 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