|
ABSTRACT
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.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
[1] Cisco Offers Wire-Speed Intrusion Detection. 2000 [Online]. Available: http://www.nwfusion.com/reviews/2000/1218rev2.html
|
 |
2
|
|
| |
3
|
[3] C. Estan, The bmpcount library of flow counting algorithms. [Online]. Available: http://ial.ucsd.edu/bitmaps/
|
 |
4
|
Cristian Estan , George Varghese, New directions in traffic measurement and accounting, Proceedings of the 2002 conference on Applications, technologies, architectures, and protocols for computer communications, August 19-23, 2002, Pittsburgh, Pennsylvania, USA
|
 |
5
|
|
| |
6
|
[6] C. Estan, G. Varghese, and M. Fisk, Bitmap algorithms for counting active flows on high speed links Comput. Sci. Eng. Dept., Univ. California, San Diego, Tech. Rep. 0738, 2003.
|
| |
7
|
[7] W. Fang and L. Peterson, "Inter-as traffic patterns and their implications," in Proc. IEEE GLOBECOM, Dec. 1999, vol. 3, pp. 1859-1868.
|
| |
8
|
|
| |
9
|
[9] Fyodor, "Remote OS detection via TCP/IP stack fingerprinting," Phrack, vol. 54, Dec. 1998.
|
 |
10
|
|
| |
11
|
[11] K. Keys, D. Moore, R. Koga, E. Lagache, M. Tesch, and K. Claffy, "The architecture of Coralreef: An internet traffic monitoring software suite," presented at the Workshop on Passive and Active Measurements (PAM2001), Amsterdam, The Netherlands, Apr. 2001.
|
| |
12
|
[12] A. Kumar, J. Xu, J. Wang, O. Spatschek, and L. Li, "Space-code Bloom filter for efficient per-flow traffic measurement," in Proc. IEEE INFOCOM , Mar. 2004, pp. 1762-1773.
|
 |
13
|
Ratul Mahajan , Steven M. Bellovin , Sally Floyd , John Ioannidis , Vern Paxson , Scott Shenker, Controlling high bandwidth aggregates in the network, ACM SIGCOMM Computer Communication Review, v.32 n.3, p.62-73, July 2002
[doi> 10.1145/571697.571724]
|
| |
14
|
[14] M. Durand and P. Flajolet, "Loglog counting of large cardinalities," presented at the Eur. Symp. Algorithms (ESA), Budapest, Hungary, Sep. 2003.
|
| |
15
|
[15] CAIDA analysis of Code Red. 2001 [Online]. Available: http://www. caida.org/analysis/security/code-red/
|
| |
16
|
[16] Cisco Netflow. [Online]. Available: http://www.cisco.com/warp/ public/732/Tech/netflow
|
| |
17
|
[17] LFAP: Lightweight Flow Accounting Protocol, Riverstone Networks. [Online]. Available: http://www.riverstonenet.com/technology/ac-counting_for_profitability.shtml
|
| |
18
|
|
| |
19
|
|
| |
20
|
|
| |
21
|
[21] S. Venkataraman, D. Song, P. B. Gibbons, and A. Blum, "New streaming algorithms for fast detection of superspreaders," presented at the Network and Distributed Systems Symp. (NDSS), San Diego, CA, Feb. 2005.
|
 |
22
|
|
|