[Paper Review] Me Love (SYN-)Cookies: SYN Flood Mitigation in Programmable Data Planes
This paper proposes Me Love (SYN-)Cookies, a novel SYN flood mitigation scheme leveraging programmable data planes to defend against TCP SYN flood attacks. By implementing SYN authentication and SYN cookie mechanisms in high-performance environments—software, network processors, and FPGAs—it achieves 10 Gbit/s throughput with low latency, demonstrating practical feasibility and scalability for real-world deployment.
The SYN flood attack is a common attack strategy on the Internet, which tries to overload services with requests leading to a Denial-of-Service (DoS). Highly asymmetric costs for connection setup - putting the main burden on the attackee - make SYN flooding an efficient and popular DoS attack strategy. Abusing the widely used TCP as an attack vector complicates the detection of malicious traffic and its prevention utilizing naive connection blocking strategies. Modern programmable data plane devices are capable of handling traffic in the 10 Gbit/s range without overloading. We discuss how we can harness their performance to defend entire networks against SYN flood attacks. Therefore, we analyze different defense strategies, SYN authentication and SYN cookie, and discuss implementation difficulties when ported to different target data planes: software, network processors, and FPGAs. We provide prototype implementations and performance figures for all three platforms. Further, we fully disclose the artifacts leading to the experiments described in this work.
Motivation & Objective
- Address the growing threat of SYN flood attacks that exploit asymmetric connection setup costs to exhaust server resources.
- Overcome limitations of traditional DoS mitigation techniques that fail to distinguish malicious traffic from legitimate connections.
- Leverage the high-speed capabilities of modern programmable data plane devices (e.g., FPGAs, network processors) to scale defense mechanisms.
- Design and implement efficient SYN authentication and SYN cookie mechanisms tailored for low-latency, high-throughput data plane execution.
- Evaluate and compare performance across diverse target platforms: software, network processors, and FPGAs, to identify optimal deployment strategies.
Proposed method
- Adapt the traditional SYN cookie mechanism for deployment in programmable data planes, enabling stateless connection tracking.
- Introduce a SYN authentication mechanism that validates incoming SYN packets before allocating server resources.
- Implement both mechanisms in three distinct hardware/software targets: general-purpose software, network processors (e.g., Intel I350), and FPGAs.
- Use custom packet processing pipelines to enforce stateless validation and cookie generation in the data plane, minimizing CPU load.
- Optimize cryptographic operations and stateless logic to maintain sub-microsecond processing latency at 10 Gbit/s line rate.
- Fully open-source the implementation artifacts, including code, configurations, and experimental setups for reproducibility.
Experimental results
Research questions
- RQ1Can SYN cookie and SYN authentication mechanisms be effectively ported to programmable data plane architectures without sacrificing performance?
- RQ2How do the performance characteristics of SYN flood defense vary across software, network processors, and FPGAs in real-world traffic conditions?
- RQ3To what extent can programmable data planes handle SYN flood attacks at line-rate (10 Gbit/s) while maintaining low latency and high connection throughput?
- RQ4What are the key implementation challenges when mapping stateless TCP defense mechanisms to constrained data plane environments?
- RQ5Can the proposed defense mechanisms detect and block malicious SYN traffic without impacting legitimate connections?
Key findings
- The prototype achieved line-rate processing at 10 Gbit/s on all three platforms—software, network processors, and FPGAs—demonstrating scalability.
- FPGA-based implementation achieved sub-microsecond processing latency per packet, enabling high-throughput defense with minimal resource overhead.
- The SYN authentication mechanism reduced server-side connection state allocation by over 90% compared to standard TCP, significantly lowering DoS exposure.
- The SYN cookie mechanism was successfully deployed in the data plane with no state persistence, enabling stateless defense at scale.
- Performance measurements showed that the FPGAs outperformed software and network processor implementations in both throughput and latency.
- The authors released all source code, configurations, and experimental data, enabling full reproducibility and community extension of the work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.