#nom #mrt #bgp #mrt-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

#2150 in Parser implementations

Download history 13/week @ 2023-10-30 7/week @ 2023-11-06 13/week @ 2023-11-13 12/week @ 2023-11-20 19/week @ 2023-11-27 14/week @ 2023-12-04 6/week @ 2023-12-11 9/week @ 2023-12-18 13/week @ 2023-12-25 2/week @ 2024-01-01 6/week @ 2024-01-08 10/week @ 2024-01-15 5/week @ 2024-01-22 11/week @ 2024-01-29 6/week @ 2024-02-05 25/week @ 2024-02-12

51 downloads per month
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
~15K SLoC