mirror of
https://github.com/daeuniverse/dae.git
synced 2024-12-23 01:14:46 +07:00
eBPF-based Linux high-performance transparent proxy solution.
.github/workflows | ||
cmd | ||
common | ||
component | ||
config | ||
install | ||
pkg | ||
.gitignore | ||
.gitmodules | ||
example.dae | ||
go.mod | ||
go.sum | ||
insert.sh | ||
LICENSE | ||
logo.png | ||
main.go | ||
Makefile | ||
README.md | ||
routing.md |
dae
dae, means goose, is a lightweight and high-performance transparent proxy solution.
In order to improve the traffic diversion performance as much as possible, dae runs the transparent proxy and traffic diversion suite in the linux kernel by eBPF. Therefore, we have the opportunity to make the direct traffic bypass the forwarding by proxy application and achieve true direct traffic through. Under such a magic trick, there is almost no performance loss and additional resource consumption for direct traffic.
As a successor of v2rayA, dae abandoned v2ray-core to meet the needs of users more freely. In the initial conception, dae will serve soft router users first, and may also serve desktop users later.
Usage
Build:
git clone https://github.com/v2rayA/dae.git
cd dae
git submodule update --init --recursive
make
Run:
./dae run -c example.dae
See example.dae.
TODO
- Check dns upstream and source loop (whether upstream is also a client of us) and remind the user to add sip rule.
- Domain routing performance optimization.
- DisableL4Checksum by link.
- Handle the case that nodes do not support UDP.
- L4Checksum problem.
- Config support list like:
wan_interface: [wlp5s0, eth0]
. - ...