A Feature-Rich Embedded NIDS with eBPF/XDP: Detector and Architecture Trade-offs

📅 2026-09-11
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文通过使用eBPF/XDP和改进的Isolation Forest算法提高了NIDS在DDoS检测中的性能,并探讨了不同架构部署对检测效果的影响。
📝 Abstract
Distributed Denial-of-Service (DDoS) attacks remain a serious threat to transport networks, with recent attack volumes exceeding 30 Tbps, and the telecommunications industry being the main target. Recent work has yet to study the impact of the hosting software architecture on network monitoring solutions, or to assess recent algorithms for improving attack detection. This paper presents a Network Intrusion Detection System (NIDS) for DDoS detection in transport networks, developed in collaboration with Ericsson. Building on a statistical baseline, we improve detection effectiveness with an Isolation Forest trained on a wider set of flow features, extracted by GoFlowMeter, our open-source Go implementation of CICFlowMeter, and we integrate eBPF/XDP so that the NIDS filters real traffic at the kernel level. We further compare three deployments, monolithic, Kafka-based, and gRPC-based microservices, on a Raspberry Pi 5 testbed replaying the CIC-DDoS2019 dataset as real network traffic. Detection quality is governed mainly by the choice of detector rather than by the transport: the Isolation Forest raises recall and F1 score (0.965 live in the monolithic variant) over the baseline by flagging low-volume attack windows that the baseline misses. The transport is not neutral, however: gRPC reaches almost the same accuracy as the monolithic variant while adding less than 2 milliseconds of transport time per window, whereas the asynchronous Kafka pipeline trails by roughly nine percentage points and adds about 27 milliseconds. These findings clarify the trade-off between detection quality and architectural overhead when deploying a NIDS on resource-constrained hardware.
Problem

Research questions and friction points this paper is trying to address.

DDoS
Network Intrusion Detection System
eBPF/XDP
software architecture
detection quality
Innovation

Methods, ideas, or system contributions that make the work stand out.

eBPF/XDP
Isolation Forest
microservices
S
Shiqi Wu
Chalmers University of Technology, Gothenburg, Sweden; University of Gothenburg, Gothenburg, Sweden; Ericsson AB, Gothenburg, Sweden
O
Oleksii Koshovyi
Chalmers University of Technology, Gothenburg, Sweden; University of Gothenburg, Gothenburg, Sweden; Ericsson AB, Gothenburg, Sweden
G
Georgios Pseiridis Pseiras
University of Gothenburg, Gothenburg, Sweden; Ericsson AB, Gothenburg, Sweden
Victor Morel
Victor Morel
Chalmers University of Technology
privacyinterplay law/technology
R
Romaric Duvignau
Chalmers University of Technology, Gothenburg, Sweden