Giter Club home page Giter Club logo

luci-app-dae's Introduction

luci-app-dae

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-dae package/dae
git clone https://github.com/sbwml/v2ray-geodata package/v2ray-geodata

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

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

3. Change OpenWrt Source (Requirements for DAE 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
    
  • Patch cgroupfs-mount: use cgroupfs2 (Required when docker is compiled.)

    # fix unmount hierarchical mount
    pushd feeds/packages
        curl -s https://raw.githubusercontent.com/sbwml/luci-app-dae/main/.cgroupfs/cgroupfs-mount.init.patch | patch -p1
    popd
    # cgroupfs v2
    mkdir -p feeds/packages/utils/cgroupfs-mount/patches
    curl -s https://raw.githubusercontent.com/sbwml/luci-app-dae/main/.cgroupfs/900-add-cgroupfs2.patch > feeds/packages/utils/cgroupfs-mount/patches/900-add-cgroupfs2.patch

4. Build luci-app-dae

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

dae

luci-app-dae's People

Contributors

1715173329 avatar actions-user avatar sbwml avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.