Publication | Closed Access
Bitmap Algorithms for Counting Active Flows on High-Speed Links
177
Citations
17
References
2006
Year
Internet Traffic AnalysisEngineeringNetwork RoutingComputer ArchitectureNetwork AnalysisPort Scan DetectionBitmap AlgorithmsHardware SecurityDenial-of-service AttackParallel ComputingComputer EngineeringFlow Control (Data)Hash FunctionComputer ScienceData SecurityCryptographyExternal-memory AlgorithmNetwork Routing AlgorithmEdge ComputingParallel ProgrammingNetwork Traffic MeasurementDistinct Header Patterns
This paper presents a family of bitmap algorithms that address the problem of counting the number of distinct header patterns (flows) seen on a high-speed link. Such counting can be used to detect DoS attacks and port scans and to solve measurement problems. Counting is especially hard when processing must be done within a packet arrival time (8 ns at OC-768 speeds) and, hence, may perform only a small number of accesses to limited, fast memory. A naive solution that maintains a hash table requires several megabytes because the number of flows can be above a million. By contrast, our new probabilistic algorithms use little memory and are fast. The reduction in memory is particularly important for applications that run multiple concurrent counting instances. For example, we replaced the port-scan detection component of the popular intrusion detection system Snort with one of our new algorithms. This reduced memory usage on a ten minute trace from 50 to 5.6 MB while maintaining a 99.77% probability of alarming on a scan within 6 s of when the large-memory algorithm would. The best known prior algorithm (probabilistic counting) takes four times more memory on port scan detection and eight times more on a measurement application. This is possible because our algorithms can be customized to take advantage of special features such as a large number of instances that have very small counts or prior knowledge of the likely range of the count.
| Year | Citations | |
|---|---|---|
Page 1
Page 1