Apex › Security & web

eBPF & the verifier — safe kernel programs

eBPF runs your code inside the kernel — on the NIC (XDP), on any function (kprobes), on security hooks (LSM). That’s only sane because a static verifier proves each program safe before loading it: it must terminate (bounded loops), never read out of bounds, stay under a complexity limit, and call only allowed helpers. Write an XDP program that drops a DDoS flood, then break a property and watch the verifier reject it — so the filter never loads and the flood gets through.

More in Security & web