~/talk

Can We Really Parse DNS in eBPF? Improving Cilium ToFQDN With In-kernel Policy Upda...

slides:none on file

Claims DNS can be fully parsed in-kernel to make Cilium ToFQDN policy proxyless: implementation uses eBPF SKSKB-based sock ops to capture TCP sockets, a stream parser to read the two‑byte TCP length, and a stream verdict program with bounded BPF loops to parse multiple answers and handle compression heuristically. Identities are preallocated into a BPF map, the parser updates the node IP cache directly, and DNS over TCP truncation is handled without a userspace proxy.

AI-written summary · about

  1. 0:00eBPF DNS parsing in Cilium
  2. 1:04FQDN policy limits in Cilium
  3. 2:52How Cilium intercepts DNS
  4. 4:17DNS proxy architecture issues
  5. 4:58DNS proxy high availability
  6. 6:25Why parse DNS in eBPF
  7. 8:13DNS wire protocol basics
  8. 10:19Parsing domain names in DNS
  9. 11:23DNS label compression impact
  10. 12:50DNS header RFC 9619
  11. 13:53DNS parsing assumptions
  12. 14:36BPF loop evolution
  13. 15:20BPF loop helper for DNS
  14. 16:01TCP DNS truncation handling
  15. 16:42SKSKB BPF for TCP DNS
  16. 17:25Socket tracking with sock ops
  17. 18:09Stream parser BPF program
  18. 18:51Stream verdict BPF program
  19. 19:34Updating IP cache with DNS
  20. 20:37Live demo eBPF DNS parsing
  21. 23:56Tracing DNS parsing with BPF
  22. 24:39Policy enforcement testing
  23. 25:00Next steps and improvements
  24. 26:26Q&A: Metrics and hijacking
  25. 27:33Q&A: Visibility and security
  26. 28:15Q&A: IP cache and BPF maps
~/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.