Ga naar hoofdinhoud
Coplango

Case

DDoS defence with blackholing and FlowSpec

Volumetric attacks were reaching customer ports through the upstreams before anyone could react.

Deze case is voorlopig alleen in het Engels beschikbaar.

Samenvatting

  1. Het probleem

    Attacks filled customer ports before the NOC could react, the only tool was a manual null route on one router, and downstream customers could not ask for a blackhole themselves.

  2. Wat we deden

    Designed remote-triggered blackholing to RFC 7999, including the communities that push a blackhole to each upstream so attack traffic is dropped before it reaches the network. Wrote a guide so downstream customers can trigger it for their own prefixes. Added FlowSpec rules driven by flow analytics on the border routers, and a NOC runbook that says which tool to use when.

  3. Resultaat

    Customers can now trigger blackholing themselves. FlowSpec runs at the border, and the NOC follows a runbook during an attack.

Meer in detail

Blackholing en FlowSpec tijdens een aanvalTwee stroken, elk van het internet via uw upstream en uw edge naar het aangevallen adres. Bij blackholing stuurt uw edge een blackhole-community naar de upstream, die al het verkeer naar het aangevallen adres weggooit, aanvalsverkeer en legitiem verkeer samen. Bij FlowSpec gooit uw edge alleen het aanvalsverkeer weg en bereikt legitiem verkeer het adres nog steeds.InternetUpstreamUw edgeDoelwitBlackholing (RTBH)Blackhole-communityInternetUpstreamUw edgeDoelwitFlowSpec
  • Legitiem verkeer
  • Aanvalsverkeer
  • Weggegooid

Blackholing or FlowSpec

Blackholing is blunt: it drops everything to the attacked address, which ends the attack and the service at the same time. It is the right answer when an attack is bigger than the port, and the wrong one when the customer can still be kept online. FlowSpec is the finer tool: it matches the attack by protocol, port and packet shape and drops only that. The design gives the NOC both, with clear rules about which to reach for.

Dropping traffic upstream

A blackhole inside your own network still lets the attack fill the links that bring it in. The important part of the work was agreeing communities with each upstream so a blackhole announced by the carrier is honoured on the upstream’s side, and confirming with each upstream how it is applied.

Customers in control

Downstream networks can now tag a prefix with the blackhole community and have it dropped across the carrier’s network and its upstreams. The guide we wrote covers the configuration for the router platforms customers run, and the filter that only accepts a blackhole for a customer’s own prefixes.

Begin met de review.

Configuraties en twee weken flowdata zijn genoeg om u te vertellen wat we als eerste zouden veranderen.