3 ms·
I'm surprised the blog post does not mention Cloudflare's own library, tubular [0], the "BSD socket API on steroids": > The control plane for BPF socket lookup
by chatmasta 4y ago
I'm surprised the blog post does not mention Cloudflare's own library, tubular [0], the "BSD socket API on steroids":
> The control plane for BPF socket lookup. Steers traffic that arrives via the tubes of the Internet to processes running on the machine. Its much more flexible than traditional BSD bind semantics:
> * You can bind to all ports on an IP
> * You can bind to a subnet instead of an IP
> * You can bind to all ports on a subnet
I played with it once and found it to be pretty awesome.
[0] https://github.com/cloudflare/tubular https://github.com/cloudflare/tubular
- majke 4y agoThanks for reminder. This was a blog post after we hit the connectx() troubles :) Tubular/sk_lookup is about ingress. This blog post is about connected sockets on “egress”. Actually, bpf sk lookup could be used on egress, but its not quite yet implemented