~/talk

Write your own Firewall with Java & eBPF

Talkat Øredev 2024 · 2024-11-06..11-08· [security]
slides:none on file

Claims a runnable high-throughput firewall built by combining Java and eBPF that actually loads BPF bytecode from Java, attaches to XDP and drops packets at the NIC, uses hello-ebpf and Java FFI via Project Panama, compiles Java annotations into C/Clang-produced eBPF, stores rules in kernel maps, demonstrates a live demo that drops every third packet and cites iptables ~1.6M pps for comparison while noting hardware offload and verifier safety constraints.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Why build firewall in Java & eBPF
  3. 3:59Traditional firewall limits
  4. 6:47eBPF future for kernel
  5. 9:56What is eBPF
  6. 14:10eBPF vs kernel modules
  7. 15:33eBPF maps
  8. 18:46eBPF hooks
  9. 21:14eBPF security
  10. 22:17eBPF tools
  11. 23:20Java support for eBPF
  12. 24:24Demo setup
  13. 25:29Simple eBPF firewall in Java
  14. 28:20Compile & load eBPF
  15. 31:12Attach to interface
  16. 32:17Test with ping
  17. 34:04Java to eBPF C
  18. 35:33Java benefits for eBPF
  19. 36:58eBPF real-world apps
  20. 37:42Conclusion
  21. 38:43Q&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.