-
Distro
Ubuntu 22.04 server (kernel 5.15 or higher)
sudo apt update sudo apt upgrade sudo reboot sudo apt install -y gcc clang libc6-dev-i386 libbpfcc-dev libbpf-dev
Fedora 36 (kernel 6.0.5-200)
sudo yum clean all sudo yum check-update sudo yum upgrade --refresh sudo yum install -y clang bcc-devel libbpf-devel iproute-devel iproute-tc glibc-devel.i686 git
-
Compile:
mkdir ~/repos cd repos git clone https://github.com/r-caamano/ebpf-tproxy-splicer.git cd ebpf-tproxy-splicer/src clang -g -O2 -Wall -Wextra -target bpf -c -o tproxy_splicer.o tproxy_splicer.c clang -g -O2 -Wall -Wextra -target bpf -c -o outbound_track.o outbound_track.c clang -O2 -Wall -Wextra -o map_update map_update.c
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.