Summary

  • At RIPE 93, Alarig Le Lay and Evann Dreumont described RS-API, a configuration service built for the network of small French IXPs operated by Breizh-IX.
  • A peer at Lille finished maintenance without restoring some filters and sent the full Internet table. The route server accepted unwanted announcements until almost every other session exceeded its own max-prefix and shut down.
  • Le Lay put three numbers on the mismatch: the AS-SET expanded to roughly 200,000 routes, PeeringDB reported 50,000, and the route server actually imported 400. RS-API now compares PeeringDB with observed BGP data and regenerates filters and max-prefix values across multiple route servers.

The incident is a lesson in denominator failure. None of the three counts was obviously fake. They answered different questions. The AS-SET described the full expansion of relationships. PeeringDB described what an operator said about its network. The route server had accepted 400 routes from that peer in the observed state. The dangerous configuration used a much larger number than the route server should have allowed and did not distinguish the meaning of the three sources.

The sequence at Lille made that abstraction concrete. A peer had downstream customers, one of which put a large upstream in its AS-SET. Level 3 did not maintain the PeeringDB record Le Lay needed, so the route-server configuration lacked the expected data. The peer then took a router out for maintenance. When it returned, some filters were still absent and the route server received the entire Internet view instead of the peer’s legitimate cone.

The max-prefix setting absorbed enough of the leak to create a second failure. Le Lay said the route server did not accept the complete table, but it accepted enough that almost every other peer crossed its own session limit. One configuration error became a local interconnect outage. The route server was supposed to protect the exchange from bad announcements; its numeric guardrail was too loose to keep the incident inside one session.

RS-API is the response. It is a proxy and a client around tools the team already used. PeeringDB remains an input, but it no longer stands alone. BGP.tools and bgproutes.io provide real routing observations. The service uses those observations to infer the AS cone and recalculate max-prefix values, then generates route-server filters from templates. BIRD, OpenBGPD and other implementations can request the fields they need.

The operating detail is as important as the architecture. A 24-hour cache reduces repeated calls to upstream services. Configuration is generated twice a day, at noon and midnight. The setup runs in four cities with two route servers in each. A change in a customer AS-SET therefore does not send an operator into eight consoles by hand. One source of filter truth feeds multiple implementations and locations.

Le Lay also avoids trusting one observation point. The team uses external route data rather than only a view from its own network, where a peer’s customers or peculiar routes could bias the result. The text does not prove those external collectors represent the global Internet. It does document the design choice: compare the operator’s PeeringDB claim with independent BGP observations before changing a production limit.

The session also places RS-API inside a wider control stack. RPKI route-origin authorization and ASPA path validation reduce dependence on Internet Routing Registry objects. RPKI is available now; ASPA is still being deployed. OTC processing rejects routes marked as leaked in transit. Until those systems cover the market, IRR and observed BGP data remain the fallback for the groups that route servers serve.

That fallback explains why a cache and a template matter. A filter built from stale AS-SET data can block a legitimate new customer or admit a stale relationship. A cache that survives too long has the same problem. A template that hides which upstream supplied a number makes the generated configuration authoritative without making the evidence visible.

The public record stops before the tests that would justify turning this into an unattended market standard. It does not publish false-positive and false-negative rates for regenerated filters or max-prefix values. It does not show whether a BGP.tools or bgproutes.io sample carries the same customer cone as every route server. It also does not give a full timeline of the Lille outage or the number of affected peers.

The right operational record is narrower and reviewable. For each route-server session, record the AS-SET input, PeeringDB snapshot, BGP vantage points, observed maximum-prefix, configured margin, prior and next value, template hash and deployment result. Expand the evidence to the original session when a generated value moves outside an approved band. Keep a rollback action that does not require rebuilding all four cities by hand.

Le Lay’s best claim is not that automation removes BGP mistakes. It is that the three denominators can be made visible before a maintenance window produces a fourth: the number of sessions left alive after a single peer returns. RPKI, IRR, PeeringDB and observed routes each see only part of that problem. RS-API works when it puts their disagreements in front of an operator before the next command changes every route server.

Sources: RIPE 93 RS-API abstract; RIPE 93 Connect transcript; RIPE 93 daily meeting report.