conntrack
Linux kernel feature: tracks state per network flow. Drives stateful firewall (iptables -m state) + NAT (matching incoming packets to outgoing). Table in kernel: src/dst IP/port, protocol, state, expires.
States: NEW, ESTABLISHED, RELATED, INVALID. conntrack -L shows table. Default hash size 65k entries → can fill on heavy server → "nf_conntrack: table full, dropping packet" → connection drops. Tuning: nf_conntrack_max, hash size. UDP state simulation: flow tracked timeout 30 sec default. Conntrack zones for multi-tenant (same 5-tuple different zones). Modern Linux: nftables replaces iptables but uses same conntrack. Cilium/eBPF-based networking bypasses conntrack for performance.