First commit

This commit is contained in:
2025-01-03 13:56:03 +01:00
commit 0c10e12608
10 changed files with 150640 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
GCC=gcc
CL=clang-11
CFLAGS=-Wall
LIBS=-lbpf
all: ssh-trace.ebpf.o ssh-trace
ssh-trace.ebpf.o: src/ssh-trace.ebpf.c
$(CL) -g -O2 -target bpf -c src/ssh-trace.ebpf.c -o src/ssh-trace.ebpf.o
ssh-trace: src/load_bpf.c
$(GCC) $(CFLAGS) src/load_bpf.c -o ssh-trace $(LIBS)
clean:
rm -rf src/*.o && rm ssh-trace