Sapo-boi: Bypassing Linux Kernel Network Stack in the Implementation of an XDP-based NIDS
Journal of the Brazilian Computer Society · 02.03.2026 · 32 (1)
DOI: 10.5753/jbcs.2026.5551 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of the Brazilian Computer Society, online erschienen am 02.03.2026. Verfasst von Raphael Kaviak Machnicki und 5 weiteren Autor:innen. Die Arbeit nennt 33 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
Network intrusion detection systems (NIDS) must inspect multiple parts of a packet to detect patterns of known attacks. With the advent of XDP, it has become feasible to implement such a system within the kernel's own network stack for the evaluation of ingress traffic. In this work, we propose Sapo-boi, an NIDS solution consisting of two modules: (i) the Suspicion Module, an XDP program capable of processing packets in parallel, discarding packets considered safe, and redirecting suspicious packets for verdict in user space through XDP sockets (Af_XDP); and (ii) the Evaluation Module, a user-level process capable of finding the rule to which the suspicious packet should be analyzed in constant time and triggering notifications if the suspicion is confirmed. The system demonstrated superior results in terms of packet analysis rates and CPU usage compared to traditional NIDS alternatives (Snort and Suricata).
Zitieren
APA
Machnicki, R. K., Andreotti, J. R., Penteado, U., Correia, J. P., Fulber-Garcia, V., & Grégio, A. (2026). Sapo-boi: Bypassing Linux Kernel Network Stack in the Implementation of an XDP-based NIDS. Journal of the Brazilian Computer Society, 32(1). https://doi.org/10.5753/jbcs.2026.5551
Vancouver
Machnicki RK, Andreotti JR, Penteado U, Correia JP, Fulber-Garcia V, Grégio A. Sapo-boi: Bypassing Linux Kernel Network Stack in the Implementation of an XDP-based NIDS. Journal of the Brazilian Computer Society. 2026;32(1). doi:10.5753/jbcs.2026.5551
BibTeX
@article{Machnicki2026,
author = {Machnicki, Raphael Kaviak and Andreotti, João Ribeiro and Penteado, Ulisses and Correia, Jorge Pires and Fulber-Garcia, Vinicius and Grégio, André},
title = {Sapo-boi: Bypassing Linux Kernel Network Stack in the Implementation of an XDP-based NIDS},
journal = {Journal of the Brazilian Computer Society},
year = {2026},
volume = {32},
number = {1},
doi = {10.5753/jbcs.2026.5551}
}
EUVIMED