Home / Blog / BGP Anycast DDoS Protection: Where Distributed Scrubbing Breaks

BGP Anycast DDoS Protection: Where Distributed Scrubbing Breaks

Every few months someone announces that DDoS is a solved problem: announce one prefix from thirty locations, let BGP sort out the rest, and attacks evaporate on contact. A SecurityLab analysis published on 10 November walks through the machinery behind that promise — anycast announcements, geographically distributed points of presence, local traffic filtering — and, to its credit, spends real space on the caveats. We live in those caveats. Distribution changes the shape of an attack; it never deletes it.

PoP mapping: BGP picks paths, not geography

Anycast is usually sold as a geographic load balancer. It is not. BGP selects routes by AS-path length, local preference, MED and a thick layer of operator policy, so a user in Moscow can easily land in Frankfurt while a Frankfurt user lands in Amsterdam. That quirk becomes decisive under fire: if a large share of the attacking botnet sits behind networks whose best path points at a single PoP, that PoP absorbs the hit. We have watched one site take the majority of a multi-hundred-gigabit UDP flood while neighbouring sites idled at single-digit utilisation. Asymmetric routing compounds it — requests may enter through a scrubbing PoP while responses leave by a different path, so stateful filters end up inspecting half a conversation. Mapping which prefixes land where, via traceroute, RTT triangulation and resolver probing, is the first step of any honest stress testing engagement and the first thing a lazy DDoS protection vendor skips.

BGP anycast PoP map distributing DDoS attack traffic unevenly across scrubbing sites
One prefix, many landing sites — and one of them always takes more than its share.

The control plane is the softer target

Scrubbing capacity is a data-plane problem. The control plane is where things get embarrassing. A more-specific /25 announcement, a careless route leak, an RPKI ROV policy nobody finished rolling out — and traffic for your carefully protected prefix goes somewhere else entirely. BGP hijacking is cheap, and the fallout is indistinguishable from a plain outage. Session resets and prefix flapping do the same job with even less effort. Then there is origin exposure: the reverse proxy guards the front door while the origin keeps answering on its own address. Certificate transparency logs, historical DNS records, a forgotten staging subdomain — that is your Cloudflare bypass, no exotic technique required. A modest SYN flood or a 5 Gbps UDP flood aimed straight at the origin ends the story before any scrubbing appliance sees a packet. Allowlist the provider's ranges, tunnel delivery over GRE, and alert on direct-to-origin traffic.

BGP hijack via more-specific prefix diverting traffic around anycast scrubbing to an exposed origin
The control plane does not care how much scrubbing capacity you bought.

Capacity, packets per second and the layer 7 wall

Vendors quote aggregate terabits; per-PoP capacity is what decides the fight, and that capacity depends on uplink diversity — two transit providers survive one upstream failure, not two. A UDP PPS flood of 64-byte packets exhausts packet-per-second budgets long before bandwidth, and UDP amplification via DNS, NTP, SSDP or CLDAP turns small queries into large responses. Fragmentation floods and ACK floods slip past stateless filters that only count bits. Above the network layer, anycast contributes almost nothing: HTTP/2 Rapid Reset (CVE-2023-44487) produced record request rates on tiny bandwidth, while HTTP GET floods, HTTP POST floods, Slowloris and TLS floods drain workers one connection at a time. Contemporary botnets run headless browser farms with rotated JA3 fingerprints and solve JS challenges at scale — CAPTCHA bypass as a service. That is where a DDoS service earns its money, or quietly fails.

Layer 7 HTTP flood and high-PPS UDP flood slipping past volumetric scrubbing filters
Bits per second is a comfortable metric — until the attack is measured in packets and requests.

Test the seams, not the marketing

Anycast buys distribution and time; it does not buy correctness. Ask where your traffic actually lands, how many packets per second a single site survives, and whether your origin is reachable without the proxy. The answers are uncomfortable far more often than the brochures suggest — including for the networks behind our own world-record runs. If you would rather measure than assume, point an ip stresser at your own edge and watch which PoP bends first. Our free stress test at /contact is a decent place to start.