Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/asphaltt/learn-by-example

Learn something interesting by examples.
https://github.com/asphaltt/learn-by-example

bpf2bpf ebpf fentry fexit freplace go iptables-nfqueue kprobe nfnetlink nsenter tc-bpf tracepoint xdp xdp-acl

Last synced: 4 days ago
JSON representation

Learn something interesting by examples.

Awesome Lists containing this project

README

        

# learn-by-example

Learn something interesting by examples.

---

1. [`nsenter` in Go](./nsenter/)
2. [`nfnetlink`(`iptables-nfqueue`) in Go](./nfnetlink/)
3. [`nfqueue`(another example of `iptables-nfqueue`) in Go](./nfqueue/)

## eBPF examples

1. [`demo for 「eBPF 技术实践:高性能 ACL」`](./ebpf/acl/)
2. [`为 eBPF 程序注入黑魔法`](./ebpf/inject/)
3. [`bpf2bpf functions call example`](./ebpf/bpf2bpf/)
4. [`bpf_tail_call() example`](./ebpf/tailcall/)
5. [`eBPF global variables`](./ebpf/global-variable/)
6. [`XDP metadata 实战指南`](./ebpf/xdpmetadata/)
7. [`XDP ping`](./ebpf/xdpping/)
8. [`ping latency injection with XDP metadata`](./ebpf/metadata_xdp2afxdp/)
9. [`eBPF timer`](./ebpf/timer/)
10. [`eBPF iterator`](./ebpf/iter/)
11. [`binary search in eBPF`](./ebpf/bsearch/)
12. [`fentry/fexit on XDP program`](./ebpf/fentry_fexit-xdp/)
13. [`fentry/fexit on tc-bpf program`](./ebpf/fentry_fexit-tc)
14. [`fentry/fexit on tailcall target program` (FAILED)](./ebpf/fentry_fexit-tailcall/)
15. [`fentry/fexit on bpf2bpf target program`](./ebpf/fentry_fexit-bpf2bpf/)
16. [`fentry/fexit on freplace program`](./ebpf/fentry_fexit-freplace/)
17. [`fentry/fexit on freplace program (XDP)`](./ebpf/fentry_fexit-freplace-xdp/)
18. [`fentry/fexit on kprobe program`](./ebpf/fentry_fexit-kprobe/)
19. [`fentry/fexit on tracepoint program`](./ebpf/fentry_fexit-tracepoint/)
20. [`tracepoint of netlink_extack`](./ebpf/tracepoint/)
21. [`tailcall shared on multi-processes`](./ebpf/tailcall-shared/)
22. [`tailcall stack overflow?`](./ebpf/tailcall-stack-overflow/)
23. [`XDP supports traceroute`](./ebpf/xdp-traceroute/)
24. [`tailcall in bpf2bpf`](./ebpf/tailcall-in-bpf2bpf/)
25. [`fexit on RPS/XPS`](./ebpf/fexit_rpsxps/)
26. [`fexit on ipv4 sysctl`](./ebpf/fexit_ipv4_sysctl/)