BGP Route Leak That Rerouted Traffic Through an Unexpected AS
A misconfigured BGP peer accepted a broader-than-intended prefix announcement, briefly rerouting user traffic through a third-party network.
Overview
A prefix-filter mistake on a Direct Connect router accepted a /16 instead of a /24, and for 18 minutes part of another customer's traffic ran through the company's link.
What happened
A network engineer updated the BGP route policy at the Direct Connect router. The company never noticed; the adjacent customer did. The incident ran in six steps.
- The engineer updated the BGP route policy.
- The prefix filter now accepted a /16 supernet, a wide prefix that covers many smaller ones.
- For 18 minutes, some BGP speakers preferred the /16.
- The adjacent customer's traffic transited the company's link.
- The customer saw latency spikes and complained to the carrier.
- The carrier traced the misconfigured route, and a formal incident report followed.
Key concepts
- BGP route leak
- Prefix filter
- AS-path prepending
- Direct Connect route policy
Interview questions
- How do you design BGP prefix filters to prevent route leaks on a Direct Connect connection?
Sign up free to read the full topic
More War Stories topics
- A Failed Migration That Left the Database in a Partial State
- A Feature Flag Change That Triggered a Production Outage
- Accidental DELETE Without a WHERE Clause in Production
- An IAM Misconfiguration That Let a Developer Become Admin
- AWS Credentials Committed to a Public GitHub Repository
- Backups That Were Never Actually Completing
- Blue-Green Deployment That Resulted in Split-Brain Sessions
- Cache Stampede on a Flash-Sale Product Page
- Connection Pool Exhaustion That Brought Down 12 Microservices
- DynamoDB Hot Partition That Throttled a Flash Sale
- Failover to a Lagging Replica Lost 4 Minutes of Orders
- Internal DNS Cache Poisoning That Redirected API Traffic
Start free on Cariara · Coding problems · System design studio