~/talk

Building a Hypervisor Firewall with nftables and Rust

Talkat Open Source Summit Europe 2024 · 2024-09-16..09-18· [security, rust]
links:none on file
slides:none on file

Builds a working hypervisor firewall using nftables and Rust that leverages nftables-json schema and Rust types to emit JSON commands and get compile‑time checked rules, and a daemon that atomically updates only affected objects. Uses nftables features — sets, maps, concatenations, ingress/prerouting/forward hooks and CT marks per interface — to implement constant‑time ACLs across hundreds of tap interfaces, dynamic connection limits (example: drop when per‑source conntrack > 20), bandwidth groups, and shows Red Hat data where throughput stays flat versus iptables as rules scale.

AI-written summary · about

  1. 0:00Introduction
  2. 3:56nftables rules structure
  3. 9:58Hypervisor networking
  4. 17:49Outgoing VM traffic security
  5. 23:27East-West and North-South filtering
  6. 27:45Dynamic firewall with Rust
  7. 30:11Q&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.