Summary

  • RFC 7999 defines the well-known BLACKHOLE community, 65535:666 (hex 0xFFFF029A), which lets an origin network ask a neighbor to discard traffic bound for a tagged prefix.
  • The tag is advice, not a command: the receiver honors it only under prior agreement, inside address space the neighbor is authorized to announce, through explicit local policy, and with propagation held to the intended domain.

The one BGP signal that promises packets will not arrive

Every other routing message is an optimist. It says: send traffic this way, and it will get there. The BLACKHOLE community is the pessimist in the room. It says: send traffic this way, and we will throw it in the bin — on purpose, before it ever reaches the customer being hammered.

That is the whole trick, and it is a good one. When a DDoS flood is aimed at a single address, the packets still have to cross the link to your upstream before anything can decide they are junk. If the pipe is full of garbage, every neighbor sharing it feels the pain. Discarding the flood earlier — at the peer, not at the victim — keeps the rest of the network breathing.

How a flood becomes a link problem

Picture a /32 under attack. The attacker does not care about the destination's health; the attacker cares about volume. A few hundred megabits of junk aimed at one host will happily saturate a transit port that also carries thousands of other customers. The victim's own router can drop packets all day, but by then the damage to the shared link is already done.

So the victim, or its provider, asks a neighbor to do the dropping upstream. RFC 7999 gives that request a standard name instead of a bespoke community negotiated per peer. IANA registers it as 0xFFFF029A, written in the usual AS:value form as 65535:666. An origin AS tags the prefix covering the victim; a participating neighbor reads the tag and, if it has agreed to, discards traffic for that prefix.

Why the codepoint is not a blank check

Here is where the engineering gets interesting, because the simplicity is a trap. The sender names the destination to be sacrificed. The receiver owns the routers that actually do the sacrificing. If the tag were treated as an unconditional order, any peer could reach into your forwarding table and switch off packet delivery with a single community — remote control over packet loss, handed out for free.

RFC 7999 does not hand it out for free. The community is advisory. The receiver decides whether the signal has any effect at all.

Agreement comes before activation

Two networks must agree to use BLACKHOLE before anyone advertises it. The receiving side must also configure its own boxes to honor the tag. Absent that operator directive, a router should not drop a single packet just because 65535:666 showed up in a route.

That is the first boundary: recognizing a standardized value is not the same as consenting to act on it. The receiver chooses which sessions carry the capability, which policy invokes it, and what local action follows. In a multilateral setting — a route server, an exchange fabric — the same decision lives in the operator's routing policy, not in the sender's enthusiasm.

The second boundary is address authority. A receiver should honor a tagged announcement only when the tagged prefix is covered by an equal or shorter prefix the neighbor is actually authorized to advertise. Prior agreement does not let a customer, a peer, or a route-server participant blackhole somebody else's space. The request has to stay inside the sender's established routing authority — the same authority that got it a session in the first place.

Specificity decides who pays the bill

The blackhole prefix should be as tight as the job allows. RFC 7999 points to the usual /32 for IPv4 and /128 for IPv6. This is not fussiness. Blackhole a broad aggregate and you have made a whole neighborhood unreachable to save one house. A maximally specific prefix shrinks the intentional outage to the smallest target that still does the job.

The beneficiary is not only the victim. Upstream links and neighboring services stay usable when the flood is dropped before the bottleneck. But the cost is real and should be named: the chosen destination loses legitimate traffic along with the attack. BLACKHOLE is mitigation by controlled sacrifice, not a repair. Nobody's service comes back; one address simply stops being a problem for everyone else.

The standard is also honest about what it does not do. It does not quantify the capacity saved, does not set how long a blackhole may stay up, and does not certify that a given operator honors the tag at all. Those are operational facts that need local evidence. Nor does the community authenticate the story attached to it — the "maintenance window" or "we're under attack" note is not carried by the number. Authorization comes from the BGP session, the prefix controls, and the receiver's policy, not from 65535:666 itself.

Keep the discard local

A receiver should staple on NO_ADVERTISE, NO_EXPORT, or an equivalent chosen by policy so the blackhole route does not escape the domain that agreed to it. Leak a more-specific discard route into the wider Internet and you surprise networks that never signed up, running validation and filtering rules you cannot see. The tag that was supposed to save a link becomes an unexplained hole somewhere else.

That creates a second proof obligation, after authorization: show that the route was accepted only where intended and did not travel farther. RFC 7999 encourages keeping BGP updates carrying BLACKHOLE for long-term analysis and audit. A useful record ties together the requesting peer, the prefix, the covering authorization, the session agreement, the policy action, the propagation control, the activation time, and the withdrawal.

Evidence and limits

The normative ground is bounded and worth stating plainly. RFC 7999 defines the advisory community, the bilateral agreement requirement, the covering-prefix test, the recommendation for explicit configuration, maximum practical specificity, local-scope controls, and update retention. RFC 1997 supplies the surrounding community semantics; RFC 4271 supplies the BGP context; the IANA registry supplies the assigned value.

The conclusion that follows is an inference from those controls, not a claim about any deployment: BLACKHOLE is best treated as a narrowly delegated emergency capability. The standard does not prove that any operator configured it correctly, that a discarded prefix was genuinely under attack, or that the mitigation worked. No allegation about a network or a vendor follows from the codepoint.

Sources