Conntrack tales - one thousand and one flows
Apr 6, 2020Marek Majkowski

Summary
This post delves into the intricacies of Linux's 'conntrack' subsystem, a critical component for stateful firewalling and network security. It explains how 'conntrack' tracks network connections and highlights the potential for performance degradation and packet loss when the 'conntrack' table becomes full. The post details experimental methods for testing 'conntrack' behavior, demonstrating that exceeding its capacity can lead to silent packet drops and even application errors like EPERM, without explicit firewall rules. This deep dive into low-level network behavior is crucial for understanding and optimizing the performance and reliability of Cloudflare's security infrastructure.
More from the Website Security & Threat Management trail
- We tested our own WAF with frontier AI models. Here’s what we found
- When scanners miss the attack: how Cloudflare Client-Side Security protects storefronts
- Introducing automatic remediation policies with Cloudflare CASB
- Introducing context-aware vulnerability discovery and remediation with Cloudflare Managed Defense and OpenAI Daybreak Models
- Introducing Adaptive Intelligence: undermining the economics of every bot attack