fup

Crates.iofup
lib.rsfup
version0.7.7
sourcesrc
created_at2019-12-02 07:35:31.483222
updated_at2020-05-04 17:51:50.167522
descriptionSimple bgpq3 alternative in Rust. Generates prefix-lists/sets for Cisco routers using IRR data.
homepage
repositoryhttps://github.com/hroi/filterupdater
max_upload_size
id185880
size49,693
Hroi Sigurdsson (hroi)

documentation

README

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
Commit count: 92

cargo fmt