English

eBPF-Based Real-Time DDoS Mitigation for IoT Edge Devices

Cryptography and Security 2025-08-05 v1 Networking and Internet Architecture

Abstract

The rapid expansion of the Internet of Things (IoT) has intensified security challenges, notably from Distributed Denial of Service (DDoS) attacks launched by compromised, resource-constrained devices. Traditional defenses are often ill-suited for the IoT paradigm, creating a need for lightweight, high-performance, edge-based solutions. This paper presents the design, implementation, and evaluation of an IoT security framework that leverages the extended Berkeley Packet Filter (eBPF) and the eXpress Data Path (XDP) for in-kernel mitigation of DDoS attacks. The system uses a rate-based detection algorithm to identify and block malicious traffic at the earliest stage of the network stack. The framework is evaluated using both Docker-based simulations and real-world deployment on a Raspberry Pi 4, showing over 97% mitigation effectiveness under a 100 Mbps flood. Legitimate traffic remains unaffected, and system stability is preserved even under attack. These results confirm that eBPF/XDP provides a viable and highly efficient solution for hardening IoT edge devices against volumetric network attacks.

Keywords

Cite

@article{arxiv.2508.00851,
  title  = {eBPF-Based Real-Time DDoS Mitigation for IoT Edge Devices},
  author = {Abdurrahman Tolay},
  journal= {arXiv preprint arXiv:2508.00851},
  year   = {2025}
}

Comments

10 pages, 5 figures, includes evaluation on Docker and Raspberry Pi testbeds. Keywords: IoT Security, DDoS Mitigation, eBPF, XDP, Raspberry Pi. Submitted to IEEE Internet of Things Journal

R2 v1 2026-07-01T04:29:52.144Z