~/talk

Building a Hypervisor Firewall with nftables and Rust

Talkat LinuxCon @ OSS EU 2024 · on Tuesday, 2024-09-17· at 16:55· Hall M2 (Level 1)· [security, rust]
links:none on file
slides:none on file

Shows how nftables uses maps, sets and concatenations to get constant-time lookup so one rule scales across hundreds or even a thousand tap interfaces, and how conntrack marks mapped from interface names tag per-VM flows. Demonstrates preventing ARP spoofing and dropping rogue DHCP by matching UDP port tuples in a set, enforces per-source connection limits (example threshold 20) with dynamic sets and ADD, and implements bandwidth groups. Builds a Rust daemon that models the nftables JSON schema for compile-time-checked rule generation and issues atomic partial updates; Red Hat data shows nftables throughput stays flat where iptables degrades.

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.