Tracking Normalized Network Traffic Entropy to Detect DDoS Attacks in P4

Damu Ding, Marco Savi, Domenico Siracusa
4/11/2021
48 citations
cs.NI

Official code: DINGDAMU/P4DDoS (13 stars, Python, last commit 2024-05-09). 2 more implementations below.

Abstract

Distributed Denial-of-Service (DDoS) attacks represent a persistent threat to modern telecommunications networks: detecting and counteracting them is still a crucial unresolved challenge for network operators. DDoS attack detection is usually carried out in one or more central nodes that collect significant amounts of monitoring data from networking devices, potentially creating issues related to network overload or delay in detection.

Show full abstract

The dawn of programmable data planes in Software-Defined Networks can help mitigate this issue, opening the door to the detection of DDoS attacks directly in the data plane of the switches. However, the most widely-adopted data plane programming language, namely P4, lacks supporting many arithmetic operations, therefore, some of the advanced network monitoring functionalities needed for DDoS detection cannot be straightforwardly implemented in P4. This work overcomes such a limitation and presents two novel strategies for flow cardinality and for normalized network traffic entropy estimation that only use P4-supported operations and guarantee a low relative error. Additionally, based on these contributions, we propose a DDoS detection strategy relying on variations of the normalized network traffic entropy. Results show that it has comparable or higher detection accuracy than state-of-the-art solutions, yet being simpler and entirely executed in the data plane.

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
DINGDAMU/P4DDoSOfficial13Python–2024-05-09
DINGDAMU/P4LogLogOfficial6Shell–2021-09-24
DINGDAMU/P4NEntropyOfficial4P4–2021-09-24
DINGDAMU/P4DDoSOfficial100%

Normalized network traffic entropy-based DDoS detection in P4

133Python, ShellJan 30, 20202 years ago
DINGDAMU/P4LogLogOfficial100%

Flow cardinality estimation in P4

60Shell, P4Jan 30, 20205 years ago

Normalized network traffic entropy estimation in P4

40P4, ShellJan 30, 20205 years ago

Similar Papers

Cite this paper

@article{ding2021tracking,
  title  = {Tracking Normalized Network Traffic Entropy to Detect DDoS Attacks in P4},
  author = {Damu Ding and Marco Savi and Domenico Siracusa},
  year   = {2021},
  eprint = {2104.05117},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.05117}
}

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.05117.svg)](https://codeofpaper.com/paper/2104.05117)

Discussion