Streaming algorithms for robust, real-time detection of DDoS attacks
Abstract
A distinct-count estimate is obtained in a guaranteed small footprint using a two level hash, distinct count sketch. A first hash fills the first-level hash buckets with an exponentially decreasing number of data-elements. These are then uniformly hashed to an array of second-level-hash tables, and have an associated total-element counter and bit-location counters. These counters are used to identify singletons and so provide a distinct-sample and a distinct-count. An estimate of the total distinct-count is obtained by dividing by the distinct-count by the probability of mapping a data-element to that bucket. An estimate of the total distinct-source frequencies of destination address can be found in a similar fashion. By further associating the distinct-count sketch with a list of singletons, a total singleton count and a heap containing the destination addresses ordered by their distinct-source frequencies, a tracking distinct-count sketch may be formed that has considerably improved query time.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of maintaining a data-structure capable of providing an approximate distinct-count of data-elements, said method comprising the steps of: obtaining a plurality of data-elements including a source value comprising a source IP address and a destination value comprising a destination IP address; using a processor for generating an indexed set of samples of said data-elements, each of said samples having a sample rate that is an exponentially decreasing function of the index of said sample; hashing said data-elements contained in one of a set of first-level hash buckets to a set of second
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (4)
- "Sketch-Base Multi-Query Processing Over Data Streams" by A. Dobra et al., in "lecture Notes in Compute Science", vol. 2992/2004, "Advanced in Database Technology-EDBT 2004; 9th International Conference on Extending Database Technology, Heraklion, Crete, Greece, Mar. 14-18, 2004", edited by Bertino
- S. Ganguly et al entitled "Processing Set Expressions over Continuous Update Streams", published in the Proceedings of the 2003 ACM SIGMOD International Conference on Management of Data, San Diego, California, USA, Jun. 9-12, 2003 edited by A. Halevy et al. and published by Association for Computing
- S. Ganguly et al, entitled "Tracking set-expression Cardinalities over Continuous Update Stream", published in the VLDB Journal: The International Journal on Very Large Databases, vol. 13, No. 4, Dec. 2004 pp. 354-369, published by Springer-Verlag, Heidelberg, 2004.
- S. Ganguly, et al. "Processing Data-Stream Join Aggregates Using Skimmed Sketches", published online in Feb. 2004, and as pp. 569-586 in "Lecture Notes in Computer Science", vol. 2992/2004, "Advanced in Database Technology-EDBT 2004: 9th International Conference on Extending Database Technology, Her