~/talk

Calling OPA from eBPF, Through WASM, in the Kernel? You've Gone Mad!

speakerdeck:bonifaido
slides:none on file

A kernel module embeds wasm3 in-kernel VM and loads an OPA compiled to Wasm policy, exposes the evaluator as a kfunc bridge to eBPF, and calls it from an XDP program to decide per-packet counting. The prototype runs the Wasm interpreter in-kernel (wasm32-unknown, no WASI), evaluates the policy ~1,000,000 times during the demo, and successfully filters/counters packets. It is experimental, interpreter-backed (no JIT/AOT yet) and available as open source for testing.

AI-written summary · about

  1. 0:00Welcome
  2. 1:07eBPF and WebAssembly
  3. 2:55What is eBPF
  4. 6:27WebAssembly fundamentals and advantages
  5. 8:36Kernel WASM projects
  6. 10:24Wasm kernel module
  7. 12:30eBPF calls WASM with OPA
  8. 15:44Live demo: Packet filtering
  9. 21:02Wasm VM in kernel details
  10. 22:50Project status
  11. 23:33Q&A
~/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.