SYN packet handling in the wild
Jan 15, 2018Marek Majkowski

Summary
This post delves into the low-level details of TCP SYN packet handling within the Linux kernel, specifically focusing on the SYN Queue and Accept Queue mechanisms. It explains how these queues function, their size limitations, the impact of application performance on connection handling, and the role of SYN cookies in mitigating SYN flood attacks. The post also highlights the use of tools like `ss` and custom SystemTap scripts for monitoring and debugging these network operations, contributing to Cloudflare's deep understanding and optimization of its network infrastructure.
More from the Data Infrastructure & Analytics trail
- Introducing Cloudflare Basin: an open, serverless data platform, now generally available
- Introducing the Billable Usage API: programmatic cost visibility for Cloudflare
- Announcing the Monetization Gateway: charge for any resource behind Cloudflare via x402
- How we built Cloudflare's data platform and an AI agent on top of it
- Iran's Internet is partially restored, Cloudflare Radar data shows