Commit Graph

216 Commits

Author SHA1 Message Date
mzz
f26ac49d9e fix/chore: update submodule outbound to fix panic in some edge cases (#503) 2024-04-24 02:22:50 +08:00
c091694b14 fix: auto_config_kernel_parameter sets net.ipv6.conf.all.forwarding=1 when binding lan interfaces (#499)
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
Co-authored-by: dae-prow[bot] <136105375+dae-prow[bot]@users.noreply.github.com>
2024-04-15 08:17:14 +08:00
89a0596727 fix: Don't enable net.ipv6.conf.all.forwarding (#496) 2024-04-12 19:35:02 +08:00
mzz
605f005e54 feat: support to maintain udp conn state (#493) 2024-04-08 22:23:55 +08:00
mzz
7defd23ae9 fix: shoot ipv6 icmp redirects (#494) 2024-04-08 19:35:17 +08:00
mzz
3a83d98819 feat: add .clang-format file from torvalds/linux (#492) 2024-04-07 21:13:55 +08:00
b6c3f69bf3 patch/optimize(bpf): improve wan tcp hijack datapath performance (#481)
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
2024-03-31 13:03:20 +08:00
36fa05b105 fix(bpf): revert using bpf_redirect_peer (#480) 2024-03-30 20:59:58 +08:00
7aad3a9474 chore: bump submodule dae_bpf_headers (#487) 2024-03-30 14:34:15 +08:00
b18e081e09 fix: Fix bpf CO-RE issue on 6.9 (#483) 2024-03-27 12:39:26 +08:00
d31d8802ce style: format bpf c code using kernel checkpatch.pl (#477) 2024-03-15 20:26:21 +08:00
49f576e37d patch/optimize(bpf): improve lan hijack datapath performance (#466) 2024-03-08 23:28:40 +08:00
6f1db5ee1f feat(bpf): implement stack bypass (#458)
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
2024-03-01 18:27:02 +08:00
4d6d98c9d4 fix: Create DaeNetns instance strictly once on reload (#446) 2024-01-29 18:56:11 +08:00
5f3249bcb3 feat: dae trace (#435)
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
2024-01-27 13:33:00 +08:00
f47caada0a fix: Watch sysctl changes to ensure expected values (#426)
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
2024-01-23 21:11:44 +08:00
883437b6a3 refactor/optimize: remove dead code (#411) 2024-01-23 20:50:07 +08:00
mzz
b0f6205cc9 optimize: avoid conflict with potential local dns server (#422) 2024-01-22 17:32:07 +08:00
mzz
18931ac477 fix/docs: fix the first check failure and possible dns leaking (#418)
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
2024-01-11 13:47:05 +00:00
0f8277b5a4 fix: Workaround UDP port conflicts when another local process binds 53 (#414) 2024-01-11 21:33:16 +08:00
mzz
f9bba2498e feat: support to auto config firewall (firewalld) (#420) 2024-01-11 12:25:29 +00:00
3184aa5abd chore(license): update license signature (#406) 2024-01-04 17:28:16 +08:00
97cb4909fc fix(bpf): sk_lookup_udp for listener only (#401) 2024-01-02 12:06:14 +00:00
mzz
d1d0f6d16f fix: ip rule is not added when only binding to wan (#399) 2024-01-02 12:02:00 +00:00
mzz
e466295096 fix: running issue and no network on android (#264) 2024-01-01 20:45:44 +08:00
5360893c3d bpf: Don't clear checksum on wan_egress (#393) 2024-01-01 20:40:23 +08:00
3a8f2d642c Use bpf_sk_assign at tproxy_wan_ingress (#383) 2024-01-01 19:28:10 +08:00
e7c4473da1 Rewrite bpf spec before loading to avoid bpf map lookup during runtime (#376) 2024-01-01 17:20:28 +08:00
mzz
fa69b4cbe8 feat/refactor: refactor outbound and support v2ray-plugin (#390) 2024-01-01 09:19:18 +00:00
mzz
366fcb192a fix/chore: disable gso on client by default and upgrade softwind/quic-go (#391) 2024-01-01 08:06:34 +00:00
mzz
25c047a766 optimize(udp)/fix(quicSniffer): optimize performance of udp and fix a potential panic of quic (#301) 2023-11-15 14:32:57 +08:00
mzz
9f7a49b81d feat: support --abort for reload and suspend (#346) 2023-11-14 16:26:33 +08:00
mzz
b9b1624b0b docs: improve docs about pppoe and mark (#305)
Co-authored-by: kev <yqlbu@bu.edu>
Co-authored-by: dae-bot[bot] <136105375+dae-bot[bot]@users.noreply.github.com>
2023-09-02 15:06:50 +08:00
mzz
c6557ce207 refactor/fix: match dscp instead of tos (#294)
Co-authored-by: dae-bot[bot] <136105375+dae-bot[bot]@users.noreply.github.com>
2023-08-20 23:43:33 +08:00
mzz
7273be6a06 feat: support ToS routing rule (#292) 2023-08-20 01:55:42 +08:00
mzz
e7f774001a fix: rebinding wg/tun not work (#271) 2023-08-11 09:19:32 +08:00
mzz
a32bd81637 chore: upgrade quic-go to 0.37.4 to support go1.21 (#270)
Co-authored-by: kev <31861128+yqlbu@users.noreply.github.com>
2023-08-09 23:00:38 +08:00
62ca625aaf feat: add meek (#258)
Co-authored-by: mzz <2017@duck.com>
Co-authored-by: dae-bot[bot] <136105375+dae-bot[bot]@users.noreply.github.com>
2023-08-06 22:35:23 +08:00
mzz
7ef8205d41 fix: caddy cannot accept connections (#262)
* fix: caddy cannot accept connections

* chore: deprecate -D__REMOVE_BPF_PRINTK

---------

Co-authored-by: dae-bot[bot] <136105375+dae-bot[bot]@users.noreply.github.com>
2023-08-06 01:43:17 +08:00
mzz
a6382423a4 fix: bad ipversion selection caused by #251 (#257)
* fix: bad ipversion selection caused by #251

* chore: upgrade softwind
2023-08-05 18:18:21 +08:00
mzz
36dc16f6cc chore: upgrade go mod (#249) 2023-07-31 14:59:11 +08:00
mzz
a2f7c37f4d feat/refactor: support the node-level proxy chain (#235)
* feat/refactor: support the chains node

* docs: update example.dae

* fix: order

* fix: http

---------

Co-authored-by: dae-bot[bot] <136105375+dae-bot[bot]@users.noreply.github.com>
2023-07-23 20:36:57 +08:00
mzz
936b2a09df fix(ebpf): udp problem caused by #221 by accident (#225) 2023-07-16 23:27:22 +08:00
mzz
b34b5acfe9 fix: support to bind dae to wg lan (and other tun) (#221) 2023-07-16 18:26:20 +08:00
mzz
00b39df677 fix(dns): should reject with nx instead of 0.0.0.0 (#141) 2023-07-16 11:28:28 +08:00
mzz
7ea40151ad feat/chore: add log file/refine code/add tip for no-load (#219) 2023-07-15 12:23:36 +08:00
mzz
acfc1db679 fix/optimize/refactor(udp): fix potential stuck UDP and optimize reroute logic (#204) 2023-07-13 19:04:48 +08:00
mzz
9c5159f135 fix: No AddrPort presented (#207) 2023-07-11 23:14:48 +08:00
mzz
1cc9edc0c6 fix: truncated dns resp (#203) 2023-07-11 01:25:05 +08:00
mzz
11d2ea945f feat: latency-based failover (#119) 2023-07-10 19:44:56 +08:00