首页 lsm-connect
文章
取消

lsm-connect

BPF LSM program (on socket_connect hook) that prevents any connection towards 1.1.1.1 to happen. Found in demo-cloud-native-ebpf-day

Run eBPF program in a line

1
sudo ecli run lsm-connect

run

1
docker run -it -v `pwd`/:/src/ yunwei37/ebpm:latest

Run:

1
sudo ecli/build/bin/Release/ecli run examples/bpftools/lsm-connect/package.json

reference

https://github.com/leodido/demo-cloud-native-ebpf-day

本文由作者按照 CC BY 4.0 进行授权