Explore advanced packet capture techniques and BPF program debugging in this Linux Plumbers Conference talk. Dive into the benefits of arbitrary packet capture for general debugging and BPF program troubleshooting. Learn about potential improvements to BPF helpers and libbpf interfaces for formatting packet data, retrieving capture information, and implementing filters. Examine existing work in the field, such as Cloudflare's xdpcap, and discuss how standardized APIs could simplify and enhance packet capture capabilities in BPF programs. Gain insights into the future of flexible packet capture methods and their applications in system behavior analysis and error debugging.
Overview
Syllabus
LPC2019 - BPF packet capture helpers, libbpf interfaces
Taught by
Linux Plumbers Conference