Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
You're probably interested in https://github.com/xdp-project/xdp-tools and https://github.com/xdp-project/xdp-tutorial. BPF programs are (usually) written in a restricted subset of C, it's not really as simple as nft add rule inet filter input tcp dport 80 accept.
You're probably interested in https://github.com/xdp-project/xdp-tools and https://github.com/xdp-project/xdp-tutorial. BPF programs are (usually) written in a restricted subset of C, it's not really as simple as nft add rule inet filter input tcp dport 80 accept.
BCC has couple of nice examples https://github.com/iovisor/bcc and was advertised to me as "making it easy to write BPF". Didn't try it out yet, though.
Related posts
- eBPF Tutorial by Example 9: Capturing Scheduling Latency and Recording as Histogram
- The Secure Path Forward for eBPF runtime: Challenges and Innovations
- eBPF Tutorial by Example: Learning eBPF Step by Step with Tools
- Exploring Seven-Layer Protocol Tracing with eBPF: HTTP and Beyond via Socket Filters and Syscall Tracing
- Sum discrepancy for libbpf