Automated Route Filtering

The Manitoba Internet Exchange (MBIX) Operations Team has completed automating the route filtering performed on the MBIX route servers. Testing was performed over October 12 and 13 on the new Pelican2 RS2. The testing was so successful that RS1 was fully automated as well on the evening of October 14 at 8:00 p.m. local time.

Why was this done?

Internet Exchange Points (IXPs) that offer route servers but do not perform filtering have aided the propagation of numerous malicious and accidental BGP hijacks over the previous 12–18 months. This has been a hot topic on numerous technical mailing lists.

The other reason the operations team wanted to automate route-server filtering is that we are volunteers. Validating LOAs and manually adding new prefixes to route-server filters takes time; automation lets us use volunteer time more efficiently.

How is this accomplished?

MBIX recently upgraded its route servers to newer hardware and more modern Linux. Our route servers run BIRD. A piece of software called arouteserver is used to generate the BIRD configuration files.

At midnight and noon, RS1’s configuration files are regenerated, syntax is validated, then reloaded in BIRD. At 6:00 a.m. and 6:00 p.m., the same happens for RS2.

arouteserver automatically pulls data from numerous sources. It uses the AS-SET found in the IRR record field at PeeringDB, IRR route objects in a configurable list of sources, ARIN Whois OriginAS entries through a bulk export, and RPKI ROAs.

What this means for MBIX members

For those who peer with the route server, there is no longer any need to send PDF LOAs to the operations team. The best way to ensure that your routes pass through the MBIX route servers is to have IRR route objects for your routes. If you provide transit, have route objects for your customer routes.

You can view your current IRR objects using NLNOG’s IRR Explorer. Search for your ASN or your AS-SET.

Example: MBIX-connected, non-transit ASN with correct IRR: AS395089

Special thanks

A special thanks to Theo de Raadt and Job Snijders of YYCIX for pioneering the way and going first, then encouraging us to do so as well. Theo de Raadt contacted many people and had them fix or create IRR entries—enough that we only had to contact one local network about one prefix that needed an IRR entry created.