#implemented #nom #bgp #message #rfc6396

mrt

An MRT (RFC6396) file parser implemented in Rust, using Nom

4 releases

0.2.0 Nov 1, 2019
0.1.2 Nov 19, 2018
0.1.1 Oct 25, 2018
0.1.0 Oct 24, 2018

#59 in #bgp


Used in bgptools

Custom license

26KB
678 lines

mrt

Build Status Docs

An MRT (RFC6396) file parser implemented in Rust, using Nom (v5).

Key Features

  • Implemented in Rust
  • Fairly fast

Supported messages

  • PEER_INDEX_TABLE
  • RIB_IPV4_UNICAST
  • RIB_IPV6_UNICAST
  • BGP4MP_MESSAGE_AS4
    • Only the content of the UPDATE message is parsed.

Supported attributes

  • ORIGIN
  • AS_PATH
  • NEXT_HOP
  • MULTI_EXIT_DISC
  • LOCAL_PREF
  • ATOMIC_AGGREGATE
  • COMMUNITY

Contribute

Pull requests are welcome!

Dependencies

~1MB
~18K SLoC