Detail publikačního výsledku

ML-Driven Real-Time In-Network Intrusion Classification on P4-Programmable Switches

PHAN, V.; JEŘÁBEK, J.

Originální název

ML-Driven Real-Time In-Network Intrusion Classification on P4-Programmable Switches

Anglický název

ML-Driven Real-Time In-Network Intrusion Classification on P4-Programmable Switches

Druh

Stať ve sborníku v databázi WoS či Scopus

Originální abstrakt

Network intrusion detection is a cornerstone of modern cybersecurity, yet existing P4-based approaches have a critical blind spot. A lot of research relies on packet-level features like header fields and individual packet sizes, which lack the discriminative power to capture behavioral patterns across a flow's lifetime. Feature extraction at the flow level within the P4 data plane has been almost entirely overlooked, with only a single prior study attempting it. Moreover, prior work is limited to a narrow selection of ML models and relies on exact matching in Match-Action tables, which cannot handle the large value ranges inherent in real network flow features. This paper presents a unified framework that closes these gaps. We implement bidirectional flow feature extraction directly in the P4 data plane, computing per-flow statistical features in line with traffic processing. To meet P4 hardware's strict match-field constraints, we encode ML classifiers as range match tables, which accommodate continuous and wide-ranging feature values while substantially reducing the number of required table entries compared to exact matching. The framework supports three classifiers, namely Decision Tree, Random Forest, and XGBoost, and covers the full pipeline of the intrusion detection system.

Anglický abstrakt

Network intrusion detection is a cornerstone of modern cybersecurity, yet existing P4-based approaches have a critical blind spot. A lot of research relies on packet-level features like header fields and individual packet sizes, which lack the discriminative power to capture behavioral patterns across a flow's lifetime. Feature extraction at the flow level within the P4 data plane has been almost entirely overlooked, with only a single prior study attempting it. Moreover, prior work is limited to a narrow selection of ML models and relies on exact matching in Match-Action tables, which cannot handle the large value ranges inherent in real network flow features. This paper presents a unified framework that closes these gaps. We implement bidirectional flow feature extraction directly in the P4 data plane, computing per-flow statistical features in line with traffic processing. To meet P4 hardware's strict match-field constraints, we encode ML classifiers as range match tables, which accommodate continuous and wide-ranging feature values while substantially reducing the number of required table entries compared to exact matching. The framework supports three classifiers, namely Decision Tree, Random Forest, and XGBoost, and covers the full pipeline of the intrusion detection system.

Klíčová slova

P4, programmable data plane, in-network machine learning, in-network feature extraction, attack detection, PCA, Decision Tree, Random Forest, XGBoost

Klíčová slova v angličtině

P4, programmable data plane, in-network machine learning, in-network feature extraction, attack detection, PCA, Decision Tree, Random Forest, XGBoost

Autoři

PHAN, V.; JEŘÁBEK, J.

Vydáno

28.04.2026

Nakladatel

Brno University of Technology, Faculty of Electrical Engineering and Communication

Místo

Brno

ISBN

978-80-214-6418-6

Kniha

Proceedings II of the 32nd Conference STUDENT EEICT 2026

Strany od

187

Strany do

191

Strany počet

5

URL

BibTex

@inproceedings{BUT211701,
  author="Viet Anh {Phan} and Jan {Jeřábek}",
  title="ML-Driven Real-Time In-Network Intrusion Classification on P4-Programmable Switches",
  booktitle="Proceedings II of the 32nd Conference STUDENT EEICT 2026",
  year="2026",
  pages="5",
  publisher="Brno University of Technology, Faculty of Electrical Engineering and Communication",
  address="Brno",
  doi="10.13164/eeict.2026.187",
  isbn="978-80-214-6418-6",
  url="https://www.eeict.cz/eeict_download/archiv/sborniky/EEICT_2026_sbornik_2.pdf"
}