~/talk

Container Networking: The Play of BPF and Network NS with different...

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15· [networking]
links:none on file
links:none on file
slides:none on file

Shows that per-container IPv6 plus cgroup-bpf bind/connect/sendmsg actually lets multiple containers bind the same port by rewriting bind and source addresses, but wildcard binds, UDP and host wildcard services break that model. When those limits bite, full network namespaces with virtual links (veth, netkit/lkit, IPVLAN, SR-IOV) are used; benchmarks measure CPU system and softirq time, with optimized BPF (avoid FIB lookups) closing the gap so IP L2 approaches bare metal and remaining overhead is ~1% CPU. A practical fix for UDP is BPF redirect to loopback to avoid costly host traversal.

AI-written summary · about

  1. 0:00Introduction to container networking
  2. 1:04BPF and network namespaces overview
  3. 3:54Port isolation challenges without namespaces
  4. 5:18Using cgroup BPF for container identity
  5. 7:25Limitations of cgroup BPF solutions
  6. 9:09TLS interception with cgroup BPF
  7. 10:11Multi-tenant and multi-host scenarios
  8. 11:59Evolution to network namespaces
  9. 14:49Performance evaluation of virtual devices
  10. 21:49Benchmarking results and optimizations
  11. 22:13Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.