~/talk

Demystifying eBPF - eBPF Firewall from scratch

Talkat Kubernetes Community Days Zürich 2023 · on Thursday, 2023-06-15· [networking, security]
links:none on file
slides:none on file

Builds a working firewall by writing eBPF C that attaches to the NIC via XDP, shows a minimal program returning XDP_PASS then switching to XDP_DROP to block all packets, and refines it to parse the Ethernet header, use BPF_htons to compare the ethertype and drop IPv6 packets. Demonstrates verifier-driven safety with explicit bounds checks on packet data, explains persistent BPF maps for cross-packet state and userland access, and highlights that running in-kernel on the NIC yields extremely fast packet filtering that actually works.

AI-written summary · about

  1. 0:00Start
  2. 0:28CNCF Projects
  3. 9:48Pass everything
  4. 11:56Drop everything
  5. 13:24Pseudocode (what we want)
  6. 16:21Drop IPv6
  7. 22:28Outcome
  8. 23:13Summary
~/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.