Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 476 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 476 Bytes

Demo BPF applications

sockops

sockops add the pid int tcp option in syn packet.

We can provide a similar developing experience as the libbpf-bootstrap development. Just run make to build the wasm binary:

make

test the prog load and attach correctly

bpftool prog list | grep -i pid_tcp_opt_inject -A 3 

open wireshark to capture and verify the tcp option(kind 254) is add to option in syn packet