IT lexicon › Networking › BGP FlowSpec

BGP FlowSpec

Networking På svenska → Updated: 2026-05-28

A BGP extension (RFC 5575) for distributing flow filter rules through the network — "drop all traffic to IP X on port Y". Used mainly for DDoS mitigation: a rule is injected and all routers start filtering almost immediately.

Principle: instead of just advertising routes (prefix → next hop), FlowSpec carries match criteria (source/dest IP, ports, protocol, packet length) + an action (drop, rate-limit, redirect to scrubbing). DDoS win: spread a mitigation rule to the whole network in seconds, far faster than manual ACL rollout. Risk: a faulty FlowSpec rule can blackhole legitimate traffic network-wide → requires discipline. Operators and IXPs offer FlowSpec so customers can signal mitigations. Distinct from RTBH (remotely-triggered blackhole), which only drops per destination IP — FlowSpec is fine-grained.

← Back to the lexicon