[Paper Review] Anycast Agility: Network Playbooks to Fight DDoS
This paper introduces a BGP-based playbook for defending against DDoS attacks using anycast routing, enabling dynamic traffic engineering to balance load across geographically distributed sites. It proposes a novel method to estimate true attack volume despite upstream packet loss and evaluates the effectiveness of AS prepending, BGP communities, and path poisoning—finding prepending widely available but coarse, while communities and path poisoning offer finer control but inconsistent support across networks.
IP anycast is used for services such as DNS and Content Delivery Networks (CDN) to provide the capacity to handle Distributed Denial-of-Service (DDoS) attacks. During a DDoS attack service operators redistribute traffic between anycast sites to take advantage of sites with unused or greater capacity. Depending on site traffic and attack size, operators may instead concentrate attackers in a few sites to preserve operation in others. Operators use these actions during attacks, but how to do so has not been described systematically or publicly. This paper describes several methods to use BGP to shift traffic when under DDoS, and shows that a response playbook can provide a menu of responses that are options during an attack. To choose an appropriate response from this playbook, we also describe a new method to estimate true attack size, even though the operator's view during the attack is incomplete. Finally, operator choices are constrained by distributed routing policies, and not all are helpful. We explore how specific anycast deployment can constrain options in this playbook, and are the first to measure how generally applicable they are across multiple anycast networks.
Motivation & Objective
- To address the lack of systematic, publicly documented guidance on how to use BGP routing changes during DDoS attacks in anycast deployments.
- To estimate the true attack rate despite incomplete visibility due to upstream packet loss, enabling accurate load balancing across anycast sites.
- To evaluate the availability and effectiveness of key BGP-based traffic engineering mechanisms—AS prepending, BGP communities, and path poisoning—in real-world anycast topologies.
- To demonstrate that a playbook-driven approach enables automated or operator-guided response to volumetric and polymorphic DDoS attacks through controlled routing shifts.
- To assess how deployment-specific factors such as site count, geographic distribution, and routing policy constraints affect the applicability of traffic engineering strategies.
Proposed method
- Proposes a new method to estimate true offered load at each anycast site by analyzing partial traffic measurements and accounting for upstream packet loss, enabling accurate attack size estimation.
- Develops a BGP playbook that maps attack characteristics (e.g., size, source distribution) to specific routing actions (e.g., prepending, community marking, path poisoning) to rebalance traffic.
- Employs real-world DDoS attack data from public sources (e.g., CLDAP, LDAP, VoIP.ms) to simulate attacks in a testbed environment with controlled anycast topologies.
- Evaluates the availability and effectiveness of BGP traffic engineering techniques across multiple real-world anycast networks, measuring propagation delays and policy filtering.
- Uses route manipulation (e.g., negative prepending, community tagging) to shift traffic from overloaded to underloaded sites during simulated attacks.
- Validates the approach by replaying real attacks and measuring mitigation success, including reduced site overload and sustained service availability.
Experimental results
Research questions
- RQ1How can service operators accurately estimate the true attack volume when upstream packet loss distorts their view of traffic?
- RQ2Which BGP-based traffic engineering techniques (AS prepending, communities, path poisoning) are most effective and widely supported in real anycast deployments?
- RQ3How do network topology, site distribution, and routing policies constrain the applicability of traffic engineering playbooks during DDoS attacks?
- RQ4To what extent can dynamic routing changes mitigate both volumetric and polymorphic DDoS attacks in practice?
- RQ5How does the convergence delay of BGP affect the effectiveness of routing-based defenses, especially for short-lived or rapidly shifting attacks?
Key findings
- The proposed attack size estimation method successfully recovers true attack volume even with significant upstream packet loss, enabling accurate load balancing decisions.
- AS prepending is widely available across networks but often results in coarse-grained traffic shifts—either nearly all or nearly none of the traffic is redirected due to the flatness of today’s Internet.
- BGP communities provide finer control over traffic distribution but are inconsistently supported, with filtering prevalent in Tier-1 and major transit providers.
- Path poisoning can influence routing decisions multiple hops away but is frequently filtered, especially by Tier-1 Autonomous Systems, limiting its practical utility.
- The playbook approach enables effective mitigation of both volumetric and polymorphic DDoS attacks in real-world testbeds, including sustained attacks like the 2021 VoIP.ms event.
- Traffic engineering responses are effective only after BGP convergence, limiting their utility for attacks shorter than 5 minutes, though they remain robust against source-shifting attacks when volume is high.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.