In-Network Volumetric DDoS Victim Identification Using Programmable Commodity Switches

Damu Ding, Marco Savi, Federico Pederzolli, Mauro Campanella, Domenico Siracusa
4/13/2021
cs.NI

Official code: DINGDAMU/INDDoS (16 stars, P4, last commit 2024-01-27).

Abstract

Volumetric distributed Denial-of-Service (DDoS) attacks have become one of the most significant threats to modern telecommunication networks. However, most existing defense systems require that detection software operates from a centralized monitoring collector, leading to increased traffic load and delayed response.

Show full abstract

The recent advent of Data Plane Programmability (DPP) enables an alternative solution: threshold-based volumetric DDoS detection can be performed directly in programmable switches to skim only potentially hazardous traffic, to be analyzed in depth at the controller. In this paper, we first introduce the BACON data structure based on sketches, to estimate per-destination flow cardinality, and theoretically analyze it. Then we employ it in a simple in-network DDoS victim identification strategy, INDDoS, to detect the destination IPs for which the number of incoming connections exceeds a pre-defined threshold. We describe its hardware implementation on a Tofino-based programmable switch using the domain-specific P4 language, proving that some limitations imposed by real hardware to safeguard processing speed can be overcome to implement relatively complex packet manipulations. Finally, we present some experimental performance measurements, showing that our programmable switch is able to keep processing packets at line-rate while performing volumetric DDoS detection, and also achieves a high F1 score on DDoS victim identification.

View on arXivView PDF

Code Implementations(1)

DINGDAMU/INDDoSOfficial100%

In-Network Volumetric DDoS Victim Identification Using Programmable Commodity Switches

161P4, ShellApr 22, 20202 years ago

Similar Papers

Cite this paper

@article{ding2021innetwork,
  title  = {In-Network Volumetric DDoS Victim Identification Using Programmable Commodity Switches},
  author = {Damu Ding and Marco Savi and Federico Pederzolli and Mauro Campanella and Domenico Siracusa},
  year   = {2021},
  eprint = {2104.06277},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.06277}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.06277.svg)](https://codeofpaper.com/paper/2104.06277)

Discussion