Traditional network security architectures rely on a strict division of labor: the data plane forwards packets as fast as possible, while a centralized control plane or dedicated software-based Network Intrusion Detection System (NIDS) handles complex security logic. However, as modern network backbones scale to 100 Gbps and beyond, this division creates a dangerous performance bottleneck.
When a volumetric Distributed Denial-of-Service (DDoS) attack strikes, or when fine-grained per-packet inspection is required, routing traffic to a centralized software controller introduces devastating latency. Furthermore, adversaries can exploit this architectural lag to launch control plane saturation attacks, rendering the network's "brain" helpless before a defense can even be deployed.
To overcome these limitations, a major research direction focuses on data plane security offloading. By embedding security primitives directly into programmable network hardware—such as P4-enabled switches, Data Processing Units (DPUs), and hardware-accelerated enclaves—security logic can be executed at the physical line rate. This shift allows networks to detect and mitigate threats in nanoseconds or microseconds rather than milliseconds, neutralizing terabit-scale attacks before they can disrupt infrastructure.
Shielding the Control Plane from Saturation
In Software-Defined Networks (SDNs), an attacker can flood a switch with novel packets, forcing it to repeatedly query the centralized controller for instructions. This quickly exhausts the controller's resources.
To break this vulnerability loop, Yegneswaran et al. developed AVANT-GUARD, a framework that shifts initial connection intelligence directly to the network edge. In AVANT-GUARD: scalable and vigilant switch flow management in software-defined networks, the authors introduce "connection migration," which proxies TCP handshakes directly inside the data plane. The switch fully resolves the handshake before notifying the control plane, ensuring that malicious, half-open connection requests are filtered out instantly without consuming controller resources.
For massive, terabit-scale volumetric attacks, systems like Poseidon, designed by Zhang et al., leverage programmable switches to execute real-time defense policies at line rate. As detailed in Poseidon: Mitigating Volumetric DDoS Attacks with Programmable Switches, this hardware-driven approach achieves processing latencies that are two orders of magnitude lower than traditional software-based network function virtualization. Similarly, Xing et al. proposed Ripple in Ripple: A Programmable, Decentralized Link-Flooding Defense Against Adaptive Adversaries, demonstrating that decentralized defense primitives embedded in switch hardware can dynamically counter adaptive link-flooding attacks without relying on a slow, centralized coordinator.
Hardware-Optimized Tracking and Sketches
Programmable switches achieve high speeds because they use Application-Specific Integrated Circuits (ASICs) organized as sequential match-action pipelines. However, these pipelines have strict memory constraints and cannot maintain massive, arbitrary state tables for millions of concurrent network flows.
To track traffic anomalies under these hardware constraints, researchers use compact, probabilistic data structures called sketches. In In-Network Volumetric DDoS Victim Identification Using Programmable Commodity Switches, Ding et al. introduced the BACON sketch. This hardware-optimized data structure aggregates traffic metrics directly within the switch's register arrays. By executing detection logic entirely in the data plane, the system identifies attack victims at line rate and only alerts the control plane when specific volume thresholds are breached, drastically reducing communication overhead.
This stateful tracking capability can also be repurposed for stealthier threats. Network covert channels exfiltrate data by subtly altering packet timing or header fields. In NetWarden: Mitigating Network Covert Channels without Performance Loss and its extended work NetWarden: Mitigating Network Covert Channels while Preserving Performance, Xing et al. demonstrate that the fine-grained timestamping and stateful registers of programmable data planes can inspect and normalize packet headers at line speed, neutralizing covert channels without degrading legitimate network performance.
In-Band Context Signaling
A major challenge in data plane offloading is enforcing complex, context-aware security policies (such as access control based on device health or user role) without forcing the switch to perform slow, external database lookups. The solution is in-band signaling, where the required security context travels alongside the packet itself.
+-----------------------------------------------------------------------+
| In-Band Signaling |
+-----------------------------------------------------------------------+
| [Packet Payload] -> [Kernel Module appends Metadata] -> [P4 Switch] |
| | |
| v |
| Enforces policy |
| at 100 Gbps |
+-----------------------------------------------------------------------+
In Programmable In-Network Security for Context-aware BYOD Policies, Kang et al. designed Poise, a system that embeds dynamic device metadata directly into network packet headers via a kernel-level module. As these packets pass through P4-programmable switches, the hardware parses the custom headers on the fly. This allows the switch to apply context-aware rules to every subflow in nanoseconds, eliminating centralized software bottlenecks.
This strategy is equally effective for preventing lateral movement within enterprise networks. In P4Control: Line-Rate Cross-Host Attack Prevention via In-Network Information Flow Control Enabled by Programmable Switches and eBPF, Bajaber et al. combined P4 switches with lightweight host-level eBPF agents. The system tracks Decentralized Information Flow Control (DIFC) tags across the network, blocking unauthorized cross-host attack propagation at a line rate of 99.9 Gbps.
Hybrid Architectures and Verifiable Filtering
While programmable switches excel at deterministic, packet-level operations, they lack the computational flexibility to run complex machine learning algorithms or handle heavy cryptographic operations. To bridge this gap, modern frameworks adopt hybrid, multi-stage architectures or leverage specialized hardware accelerators.
As highlighted by Badonnel et al. and Aloqaily et al., executing detection logic directly in the data plane reduces the computational burden on central controllers. To balance accuracy and speed, HorusEye, a framework designed by Dong et al., splits the workload: initial, coarse-grained anomaly detection is offloaded to a programmable switch, while suspicious traffic is passed to a lightweight deep learning model on the control plane (HorusEye: A Realtime IoT Malicious Traffic Detection Framework using Programmable Switches). Similarly, in Genos: General In-Network Unsupervised Intrusion Detection by Rule Extraction, Li et al. extract simplified rules from complex unsupervised models and offload them to programmable switches, achieving 100 Gbps intrusion detection with sub-microsecond latency. For large-scale industrial deployments, Miao et al. emphasize that fully realizing these capabilities requires integrating hardware-accelerated detection with intelligent correlation mechanisms on Data Processing Units (DPUs) (Intrusion Alert Analysis Method for Power Information Communication Networks Based on Data Processing Units).
Finally, moving security filtering into transit networks introduces a trust problem: how can a network operator verify that an upstream provider is actually applying requested filters rather than silently dropping legitimate traffic or ignoring rules to save resources?
+-----------------------------------------------------------------------+
| Verifiable In-Network Filtering (VIF) |
+-----------------------------------------------------------------------+
| [Incoming Packets] -> [Near Zero-Copy Memory] -> [Intel SGX Enclave] |
| | |
| v |
| Line-Rate Filtering |
| & Cryptographic Proof |
+-----------------------------------------------------------------------+
To address this, Gong et al. developed VIF (Verifiable In-network Filtering). As described in Practical Verifiable In-network Filtering for DDoS defense, VIF leverages hardware-based Trusted Execution Environments (TEEs), such as Intel SGX, deployed at major Internet Exchange Points (IXPs). By utilizing near zero-copy memory management to minimize the overhead of moving data into secure enclaves, the authors demonstrate that cryptographic integrity guarantees can be maintained at a 10 Gbps line rate, proving that high-throughput transit requirements and rigorous security verifiability can coexist.
Key Foundational Work
AVANT-GUARD: scalable and vigilant switch flow management in software-defined networks (2013) — contributed 3 concept elements to this direction.
Programmable In-Network Security for Context-aware BYOD Policies (2019) — contributed 3 concept elements to this direction.
NetWarden: Mitigating Network Covert Channels without Performance Loss (2019) — contributed 2 concept elements to this direction.