A Linux high-performance transparent proxy solution based on eBPF.
git clone https://github.com/sbwml/luci-app-daed package/daed
git clone https://github.com/sbwml/v2ray-geodata package/daed/v2ray-geodata
2. Install clang-13, refer to https://apt.llvm.org
apt-get update
apt-get install -y clang-13
- Enable eBPF support, add content to:
.config
CONFIG_DEVEL=y CONFIG_BPF_TOOLCHAIN_HOST=y # CONFIG_BPF_TOOLCHAIN_NONE is not set CONFIG_KERNEL_BPF_EVENTS=y CONFIG_KERNEL_CGROUP_BPF=y CONFIG_KERNEL_DEBUG_INFO=y CONFIG_KERNEL_DEBUG_INFO_BTF=y # CONFIG_KERNEL_DEBUG_INFO_REDUCED is not set CONFIG_KERNEL_XDP_SOCKETS=y
make menuconfig # choose LUCI -> Applications -> luci-app-daed
make package/daed/luci-app-daed/compile V=s # build luci-app-daed