eBPF-based Linux high-performance transparent proxy solution.
Go to file
2023-01-28 01:50:21 +08:00
cmd feat: support config file 2023-01-28 01:50:21 +08:00
common feat: support config file 2023-01-28 01:50:21 +08:00
component feat: support config file 2023-01-28 01:50:21 +08:00
config feat: support config file 2023-01-28 01:50:21 +08:00
pkg feat: support config file 2023-01-28 01:50:21 +08:00
.gitignore
example.conf feat: support config file 2023-01-28 01:50:21 +08:00
go.mod feat: support config file 2023-01-28 01:50:21 +08:00
go.sum feat: support config file 2023-01-28 01:50:21 +08:00
insert.sh
LICENSE
logo.png
main.go
Makefile
README.md feat: support config file 2023-01-28 01:50:21 +08:00

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
make

Run:

./dae run -c example.conf

See example.conf.

TODO

  1. Check dns upstream and source loop (whether upstream is also a client of us) and remind the user to add sip rule.
  2. Domain routing performance optimization.
  3. Support not operator for RoutingA rule.
  4. DisableL4Checksum by link.
  5. Handle the case that nodes do not support UDP.
  6. ...