A Robust Counting Sketch for Data Plane Intrusion Detection
Sian Kim, Changhun Jung, RhongHo Jang, David Mohaisen, DaeHun Nyang
Abstract
— Demands are increasing to measure per-flow statistics in the data plane of high-speed switches. However, the resource constraint of the data plane is the biggest challenge. Although existing in-data plane solutions improve memory efficiency by accommodating Zipfian distribution of network traffic, they cannot adapt to various flow size distributions due to their static data structure. In other words, they cannot provide robust flow measurement under complex traffic patterns (e.g., under attacks). Recent works suggest dynamic data structure management schemes, but the high complexity is the major obstruction for the data plane deployment. In this paper, we present Count-Less (CL) sketch that enables robust and accurate network measurement under a wide variety of traffic distributions without dynamic data structure updates. Count-Less adopts a novel sketch update strategy, called minimum update (CL-MU), which approximates the conservative update strategy of Count-Min for fitting into in-network switches. Not only theoretical proof on CL-MU’s estimation but also comprehensive experimental results are presented in terms of estimation accuracy and throughput of CL-MU, compared to Count-Min (baseline), Elastic sketch, and FCM sketch. More specifically, experiment results on security applications including estimation errors under various skewness parameters are provided. CL-MU is much more accurate in all measurement tasks than Count-Min and outperforms FCM sketch and Elastic sketch, state-of-the-art algorithms without the help of any special hardware like TCAM. To prove its feasibility in the data plane of a high-speed switch, CL-MU prototype on an ASIC-based programmable switch (Tofino) is implemented in P4 language and evaluated. In terms of data plane latency, CL-MU is faster than FCM, while consuming fewer resources such as hash bits, SRAM, and ALU
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e3d1e46a-9a1e-4340-80e5-6b341d3b94fbCited by top-tier papers5
- Enhancing Network Attack Detection with Distributed and In-Network Data Collection SystemSeyed Mohammad Mehdi Mirnajafizadeh, Ashwin Raam Sethuram, David Mohaisen, DaeHun Nyang et al.USENIX Security 2024 · 12 citations
- Lemon: Network-Wide DDoS Detection with Routing-Oblivious Per-Flow MeasurementWenhao Wu, Zhenyu Li, Xilai Liu, Zhaohua Wang et al.USENIX Security 2025
- SketchFeature: High-Quality Per-Flow Feature Extractor Towards Security-Aware Data PlaneSian Kim, Seyed Mohammad Mehdi Mirnajafizadeh, Bara Kim, Rhongho Jang et al.NDSS 2025
- On the Security Risks of Memory Adaptation and Augmentation in Data-plane DoS MitigationHocheol Nam, Daehyun Lim, Huancheng Zhou, Guofei Gu et al.NDSS 2026
- Defeating Slow-and-Low Threats via Diffusion Model-based Generative InferenceSeyed Mohammad Mehdi Mirnajafizadeh, Prashant Khanduri, DaeHun Nyang, Rhongho JangNSDI 2026
Builds on7
- Jaqen: A High-Performance Switch-Native Approach for Detecting and Mitigating Volumetric DDoS Attacks with Programmable SwitchesZaoxing Liu, Hun Namkung, Georgios Nikolaidis, Jeongkeun Lee et al.USENIX Security 2021 · 221 citations
- Self-Adaptive Sampling for Network Traffic MeasurementYang Du, He Huang, Yu-e Sun, Shigang Chen et al.INFOCOM 2021 · 49 citations
- Cheetah: Accelerating Database Queries with Switch PruningMuhammad Tirmazi, Ran Ben Basat, Jiaqi Gao, Minlan YuSIGMOD 2020 · 47 citations
- SALSA: Self-Adjusting Lean Streaming AnalyticsRan Ben Basat, Gil Einziger, Michael Mitzenmacher, Shay VargaftikICDE 2021 · 45 citations
- SketchFlow: Per-Flow Systematic Sampling Using Sketch Saturation EventRhongho Jang, DaeHong Min, Seongkwang Moon, David Mohaisen et al.INFOCOM 2020 · 24 citations
Related papers
- Single Update Sketch with Variable Counter StructureDimitrios Melissourgos, Haibo Wang, Shigang Chen, Chaoyi Ma et al.VLDB 2023 · 16 citations
- Phantom: Virtualizing Switch Register Resources for Accurate Sketch-based Network MeasurementXiang Chen, Hongyan Liu, Zhengyan Zhou, Xi Sun et al.EuroSys 2025 · 4 citations
- SketchPipe: Toward Accurate Sketch-based Network Measurement on Multi-Pipeline Switches with Splitless Sketch PlacementXiang Chen, Longlong Zhu, Linying Zheng, Hongyang Du et al.NSDI 2026
- FlyMon: enabling on-the-fly task reconfiguration for network measurementHao Zheng, Chen Tian, Tong Yang, Huiping Lin et al.SIGCOMM 2022 · 52 citations
- Universal Online Sketch for Tracking Heavy Hitters and Estimating Moments of Data StreamsQingjun Xiao, Zhiying Tang, Shigang ChenINFOCOM 2020 · 30 citations
