The Routing Registries: IRRs and Their Limitations
The Routing Registries: IRRs and Their Limitations
Long before cryptographic validation through RPKI was deployed, the network operations community created the Internet Routing Registry (IRR) system to record routing policies, prefix ownership, and transit relationships. While IRRs remain widely used to generate automated prefix-lists, their fundamental design weaknesses highlight why cryptographic authentication became necessary.
What Routing Registries Are and How They Store Route Objects
An Internet Routing Registry is a distributed database storing text-based policy statements formatted in Routing Policy Specification Language (RPSL, RFC 2622).
The IRR system is not a single database; it is a confederation of more than 30 independent registries worldwide: - Authoritative RIR Registries: Run by Regional Internet Registries (RIPE, APNIC, AFRINIC, LACNIC, and ARIN-RR), containing records tied to actual resource allocations. - Third-Party / Commercial Registries: Including RADB (Merit), NTT, Level3/Lumen, and ALTDB, established historically to allow multi-region operators to register policy objects without cross-RIR coordination.
Registries mirror each other’s databases via daily or hourly bulk dumps, but synchronization is loose, partial, and frequently inconsistent.
Policy-Based Filtering: Using IRR Data to Build Filters
Modern Tier-1 and Tier-2 transit providers use open-source tools such as bgpq4 or irrpt to query IRR databases and automatically generate vendor-specific prefix filters:
# Query RADB and generate a Cisco IOS XR prefix-list for AS-EXAMPLE-CUSTOMERS
bgpq4 -X -l CUSTOMER-IN AS-EXAMPLE-CUSTOMERSOutput:
prefix-set CUSTOMER-IN
198.51.100.0/24,
203.0.113.0/24 le 24
end-set
These generated prefix-lists are applied to customer-facing eBGP sessions, preventing customers from advertising arbitrary unauthorized prefixes.
The Transition from IRR Filtering to RPKI-Based Validation
Because the legacy IRR system could not guarantee origin authenticity or prevent rogue registrations, the IETF developed the Resource Public Key Infrastructure (RPKI).
While RPKI provides cryptographic truth for origin validation, IRRs remain operationally necessary for expanding as-set customer cones and generating strict inbound prefix-lists at transit borders. In modern network operations, IRR and RPKI are deployed as complementary controls: IRR validates the path and customer cone, while RPKI cryptographically verifies the origin.