~/talk

Kernel-Resident Regex and Jails: DFA-powered eBPF filtering and certificate...

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13· [security]
links:none on file
slides:none on file

Compiles regexes to DFAs and runs them in-kernel via eBPF at LSM and fentry to achieve no-emit security, cutting user-space filtering and I/O; integrates with BpfJailer and MetArmor for certificate, executable and DNS enforcement across hosts. Uses a regex→AST→DFA pipeline, represents DFAs in BPF maps, and exposes runtime variable values via BPF maps for context-aware matching. Prototype limits current DFAs to small state counts (≈64), supports a reduced regex feature set, shows measurable CPU savings, and targets open source in 2026.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:06AI agents and privilege escalation risks
  3. 3:39Runtime context in FSM file matching
  4. 6:49Why regex in eBPF
  5. 8:35Performance benefits of kernel regex
  6. 11:42NFA to DFA conversion theory
  7. 13:24Regex parsing and fragment conversion
  8. 15:30BPF maps for DFA representation
  9. 17:57eBPF regex matching implementation
  10. 20:06Challenges with DFA state limits
  11. 22:15Future optimizations and open source plans
  12. 23:24Q&A on state limits and optimizations
~/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.