Skip to content

Latest commit

 

History

History

sockops

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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