Skip to content

v0.1.0 (Initial Release)

Choose a tag to compare

@mikemiles-dev mikemiles-dev released this 17 Feb 00:43
· 6 commits to main since this release
eaeb14c

v0.1.0 (Initial Release)

  • sFlow v5 datagram parsing with IPv4 and IPv6 agent addresses
  • All four sample types: Flow Sample, Counter Sample, Expanded Flow Sample, Expanded Counter Sample
  • Flow record types: Raw Packet Header, Sampled Ethernet, Sampled IPv4/IPv6, Extended Switch, Extended Router, Extended Gateway, Extended User, Extended URL
  • Counter record types: Generic Interface, Ethernet Interface, Token Ring, VLAN, Processor
  • Unknown/unrecognized records preserved as raw bytes for forward compatibility
  • Serde support for all types (JSON serialization/deserialization)
  • Builder pattern with configurable max samples limit (DoS protection)
  • Structured error types: Incomplete, UnsupportedVersion, ParseError, TooManySamples
  • Examples: single-threaded, multi-threaded, and async (tokio) UDP listeners; pcap file parser
  • Benchmarks for datagram, flow sample, and counter sample parsing