Understanding NetFlow Latency and Effectiveness in Detecting and Mitigating DDoS Attacks
Network operators who use or evaluate flow-based telemetry for DDoS detection can learn why concerns about NetFlow latency are often a router configuration issue, and how NETSCOUT recommends configuring flow export for fast detection in Arbor Sightline. The FAQ compares NetFlow and IPFIX with sFlow and explains how flow data supports detection and mitigation.
Is flow export too slow to detect DDoS attacks?
The FAQ says no. It explains that routers sample packets, keep flow records in a flow cache, and export the oldest record when the cache fills, so keeping the cache nearly full speeds export. Operators who see long latency usually have longer timers or an oversized cache. Customers using Sightline and TMS who follow the recommended practices report detection in one second and mitigation in as little as 10 seconds, depending on BGP propagation.
What flow export settings does NETSCOUT recommend?
The recommended router settings are:
• Active flow timer of 60 seconds
• Inactive flow timer of 5 seconds
• Sampling rate of 1:1000 or 1:1024, with 1:2048 or 1:4096 acceptable if the router cannot support faster sampling
• A flow cache size tuned to stay mostly full, described as running hot
How do NetFlow and IPFIX compare with sFlow?
The FAQ states that flow export is up to 30x more efficient than sFlow because flow records are batched, with up to 30 records per UDP packet. It also says sFlow typically exports only the first 128 bytes of a packet, which is rarely more useful than flow records, and that sFlow often omits the egress interface, which complicates traceback. Sightline fully supports sFlow with feature parity.
Frequently Asked Questions
Does frequent flow export overload routers?
The FAQ says flow export has not caused load issues in modern routers for many years because flow records are compact and batched.
Why avoid higher sampling rates?
Higher sampling rates reduce data granularity and increase the minimum DDoS attack size that can be accurately detected.
Asset Type: Fact Sheet