INDDoS
In-Network Volumetric DDoS Victim Identification Using Programmable Commodity Switches
Install / Use
/learn @DINGDAMU/INDDoSREADME
Citation
@article{ding2021innetwork,
title={In-Network Volumetric DDoS Victim Identification Using Programmable Commodity Switches},
author={Ding, Damu and Savi, Marco and Pederzolli, Federico and Mauro, Campanella and Siracusa, Domenico},
journal={IEEE Transactions on Network and Service Management},
year={2021},
publisher={IEEE}
}
INDDoS has been implemented in two different testbeds:
- Bmv2 (v1model, available in the folder INDDoS.p4app)
- Tofino (TNA, available in the folder INDDoS_TNA)
Bmv2
Installation
-
Install docker if you don't already have it.
-
Clone the repository to local
git clone https://github.com/DINGDAMU/INDDoS.git -
cd INDDoS -
If you want, put the
p4appscript somewhere in your path. For example:cp p4app /usr/local/bin
Execute the program
-
./p4app run INDDoS.p4appAfter this step you'll see the terminal of mininet
-
Forwarding some packets in mininet
pingall pingall
or
h1 ping h2 -c 12 -i 0.1
It is also possible to test the code by using scapy
An example can be found in INDDoS.p4app/send.py and INDDoS.p4app/receive.py
- Enter INDDoS.p4app folder
cd INDDoS.p4app - Check the result by reading the register
./read_registers1.sh ./read_registers2.sh ./read_registers3.sh
In registers occSlots 1-3 there are the resulsted number of 1s.
Tofino
The P4 code has been installed and tested in Edgecore Wedge-100BF-32X switch equipped with Barefoot Tofino 3.3 Tbps ASIC using SDE 9.1.1.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
