luci-app-daed-next

A Linux high-performance transparent proxy solution based on eBPF.
https://github.com/daeuniverse/daed-revived-next


Build on OpenWrt Official 23.05/SNAPSHOT

1. Get Source

git clone https://github.com/sbwml/luci-app-daed-next package/daed-next

2. Install clang-13, refer to https://apt.llvm.org

apt-get update
apt-get install -y clang-13

3. Compile Options (Requirements for DAED to work)

  • 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
    

4. Build luci-app-daed-next

make menuconfig # choose LUCI -> Applications -> luci-app-daed-next
make package/daed-next/luci-app-daed-next/compile V=s # build luci-app-daed-next