Detection and response
BGP blackhole (RTBH)
Remotely triggered blackhole routing with Tidegard - the route it announces, and what your edge routers must do to accept it safely.
During an attack on one address, RTBH makes your edge routers drop all traffic to that address, attack and legitimate alike. The victim goes offline; the rest of your network keeps working. It is the bluntest tool: use it when the attack threatens the network and FlowSpec cannot separate the attack from good traffic.
The route Tidegard announces
The mitigator announces one route per mitigation to its gobgpd, which
peers over iBGP with your edge routers.
| RTBH | Parent prefix | |
|---|---|---|
| Prefix | The attacked address only: a /32 or /128 | An allowlisted covering prefix, such as a /24 |
| Next hop | Your configured blackhole next hop | The same |
| Communities | 65535:666 (BLACKHOLE, RFC 7999), any you add, and NO_EXPORT |
The same |
| Ownership | The large community <your ASN>:5721677:1 |
The same |
| Lasts | The requested time, at most the guard’s maximum | The same |
The next hop and communities come from the mitigator’s settings:
{
"routes": {
"local_asn": 64500,
"rtbh_next_hop_ipv4": "192.0.2.66",
"rtbh_next_hop_ipv6": "2001:db8::66",
"communities": ["65535:666"],
"no_export": true
}
}
The parent prefix blackholes a whole block, for an attack spread across
many addresses. The guard allows it only where the allowlist lists
parent_prefix for that prefix, and never wider than the prefix floor.
What your edge routers must do
-
Route the next hop to a discard interface. Point the blackhole next hop addresses at a null interface on every edge router, using addresses from your own space that are used for nothing else. Blackholed traffic follows the BGP route there and is dropped.
-
Peer over iBGP with Tidegard’s
gobgpd, with an import policy that accepts only:- routes carrying
BLACKHOLE; - /32 and /128 routes, plus the parent prefixes you allowlisted;
- routes inside your own address space.
Reject everything else from this session. Do not rely on Tidegard’s guard alone.
- routes carrying
-
Never re-advertise these routes.
NO_EXPORTkeeps them inside your AS; make sure no export policy strips it. Asking an upstream to blackhole for you is a separate arrangement with that provider, and Tidegard does not do it.
Tidegard does destination-based RTBH only.
Test before you rely on it
In a maintenance window, with BGP on and dry-run off:
- Request an RTBH for a test address in your space that carries no traffic, and approve it.
- Check that each edge router received it, with
BLACKHOLEandNO_EXPORT. - Check that traffic to the address is dropped.
- Withdraw it, and check it is gone from every router.
Watching it
- The Mitigations page in the NOC UI, or
tidegardctl mitigations list --live, shows what is requested and what is active. tidegardctl bgp routesshows what was announced, exactly as recorded.tidegardctl bgp peersshows each iBGP session. A session that drops is notified asbgp.peer_down.

