This commit is contained in:
Gustavo Iñiguez Goia 2023-05-17 13:00:13 +02:00
parent 0bb46197cc
commit 96a962be2b
Failed to generate hash of commit

View file

@ -66,9 +66,9 @@ if [ -f ebpf_prog/modules/opensnitch.o ]; then
if objdump -h ebpf_prog/modules/opensnitch.o | grep "kprobe/tcp_v4_connect"; then if objdump -h ebpf_prog/modules/opensnitch.o | grep "kprobe/tcp_v4_connect"; then
ls ebpf_prog/modules/*.o ls ebpf_prog/modules/*.o
echo -e "\n * eBPF modules compiled. Now you can copy the *.o files to /etc/opensnitchd/ and restart the daemon\n" echo -e "\n * eBPF modules compiled. Now you can copy the *.o files to /etc/opensnitchd/ and restart the daemon\n"
exit 1
else else
echo -e "\n [WARN] opensnitch.o module not valid\n" echo -e "\n [WARN] opensnitch.o module not valid\n"
exit 1
fi fi
else else
echo -e "\n [WARN] opensnitch.o module not compiled\n" echo -e "\n [WARN] opensnitch.o module not compiled\n"