Sflow Analyzer Here
When a router samples a packet, it creates a tiny record (usually 64–128 bytes of the packet header—source IP, destination IP, port, protocol). It wraps this in an sFlow datagram (UDP) and fires it out to a collector.
The analyzer sees: "1 packet for 192.168.1.100 -> 203.0.113.50, sample rate 1/1000". It immediately multiplies: This represents 1,000 real packets . It then multiplies by average packet size (from the header, say 500 bytes) to get 500,000 bytes (4 Mbits) of traffic contributed by that flow. sflow analyzer
A modern analyzer (e.g., FastNetMon, Akvorado) uses sFlow to watch for SYN floods. When a DDoS starts, the analyzer detects the anomaly in <1 second, extracts the victim IP from the sFlow samples, and automatically injects a BGP FlowSpec rule to block the attack at the router—all without human intervention. When a router samples a packet, it creates