#cidr #bgp #networking

bin+lib fup

Simple bgpq3 alternative in Rust. Generates prefix-lists/sets for Cisco routers using IRR data.

6 releases

0.7.7 May 4, 2020
0.7.6 May 4, 2020
0.7.5 Feb 3, 2020
0.7.4 Jan 3, 2020
0.7.3 Dec 2, 2019

#2413 in Command line utilities

MIT license

31KB
707 lines

CI status

Routing filter updater

Simple bgpq3 alternative in Rust. Generates prefix-lists/sets for Cisco routers using IRR data.

Features

  • Fast (pipelined communication)
  • Configuration file (TOML)
  • Multiple file output
  • Improved prefix aggregation/compression

Example configuration

[global]
server = "whois.radb.net:43"
sources = ["RADB", "RIPE", "APNIC"]
aggregate  = true  # default = true
timestamps = true  # default = false
outputdir = "./output"

[[routers]]
hostname = "xr-router"
style = "prefix-set"
filters = [
  "AS-RIPENCC",
  "AS3333",
]

[[routers]]
hostname = "ios-router"
style = "prefix-list"
filters = [
  "AS-RIPENCC",
  "AS3333",
]

Example usage

nocbox$ fup ./examples/telianet.toml
fup version 0.7.1 (2bd7b0c70f5ce3f3ccbefa6d20922ab6ec504790)
Connected to 198.108.0.18:43.
71271 objects downloaded in 10.09 s.
Aggregated 1693814 prefixes into 355263 entries.
Wrote ./output/xr-router.txt

Dependencies

~1.3–2MB
~42K SLoC