Skip to content

hroi/filterupdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple, fast IRR-based prefix-list generator

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages