Skip to content

sbwml/luci-app-daed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

luci-app-daed

A Linux high-performance transparent proxy solution based on eBPF.


Build on OpenWrt Official 23.05/SNAPSHOT

1. Get Source

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

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

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

Packages

No packages published

Languages

  • HTML 91.3%
  • Makefile 4.8%
  • Lua 2.4%
  • Shell 1.5%