So long, and thanks for all the fish- how to escape the Linux networking stack
Oct 29, 2025Chris Branch

Summary
This post details Cloudflare's efforts to push beyond the limitations of the Linux networking stack for specific high-performance use cases, particularly in managing soft-unicast IP addresses. It introduces 'fish' (SLATFATF), a custom service for proxying IP packets using soft-unicast address space, and explores the challenges of coexisting packet forwarding with socket binding. The post details the investigation into Netfilter/conntrack interactions and the development of solutions using Netlink and, more effectively, kernel features like TCP_REPAIR and TCP Fast Open to achieve precise control over connection state and avoid collisions, thereby enabling more efficient and reliable network operations for services like WARP.
More from the Hardware Infrastructure & Performance Optimization trail
- How we reduced core unit boot time from hours to minutes
- A one-line Kubernetes fix that saved 600 hours a year
- Inside Gen 13- how we built our most powerful server yet
- Launching Cloudflare’s Gen 13 servers- trading cache for cores for 2x edge compute performance
- A deep dive into BPF LPM trie performance and optimization