×
Programmable Data Planes for Network Security

Authors

Gursimran Singh1, H.B. Acharya2, Minseok Kwon1 , 1Rochester Institute of Technology, 2Oklahoma State University, United States

Abstract

The emergence of programmable data planes, and particularly switches supporting the P4 language, has transformed network security by enabling customized, line-rate packet processing. These switches, originally intended for flexible forwarding, now play a broader role: detecting and mitigating attacks such as DDoS and spoofing, enforcing next-generation firewall policies, and even supporting innetwork cryptography and machine learning. These capabilities are made possible by techniques such as recirculate-and-truncate and lookup-table precomputation, which work around architectural constraints like limited memory and restricted instruction sets. In this paper, we systematize recent advances in security applications built on programmable switches, with an emphasis on the capabilities, challenges, and architectural workarounds. We highlight the non-obvious design techniques that make complex in-network security functions feasible despite the constraints of the hardware platform, and also comment on remaining issues and emerging research directions.

Keywords

Programmable data planes, P4, network security, DDoS mitigation, firewalls, machine learning, cryptography.