Commit Graph

243 Commits

Author SHA1 Message Date
CosPotato
4ae12bb7ed
fix: minimal upgrade panjf2000/ants dependency to v2.0.0 (#707) 2024-11-27 12:07:19 +08:00
Ekko
6039b256de
chore: more detail of Choose DNS path log (#692)
Co-authored-by: mzz <2017@duck.com>
2024-11-25 20:25:01 +08:00
Ekko
bfc17c3e2d
feat(dns): support DoH, DoT, DoH3, DoQ (#649) 2024-11-02 00:45:03 +08:00
mzz
382dc5cd58
refactor/optimize(bpf): rework bpf route with bpf_loop (#580) 2024-10-30 01:06:13 +08:00
./gray
438c05cbd6
ci(workflows/bpf-test): add BPF test to cover route logic (#671)
Co-authored-by: mzz <2017@duck.com>
2024-10-13 23:21:45 -04:00
mzz
218ae3f654
fix: connection leaks (#624)
Co-authored-by: dae-prow[bot] <136105375+dae-prow[bot]@users.noreply.github.com>
2024-09-26 22:40:29 +08:00
Ekko
a7675988d8
fix: compatible issue when DNS msg not be compressed (#646)
Co-authored-by: mzz2017 <2017@duck.com>
2024-09-24 22:06:37 +08:00
mzz
cec5e71d4e
fix: crash on openwrt (#640)
Co-authored-by: dae-prow[bot] <136105375+dae-prow[bot]@users.noreply.github.com>
2024-09-19 13:40:05 -04:00
Integral
ff62fae5c5
refactor: reuse existing functions & format code (#641) 2024-09-18 20:20:37 +08:00
mzz
3b2ae3add3
patch: revert: refactor: improve code readability of struct initialization (#637) 2024-09-17 22:47:49 +08:00
Integral
903b595417
refactor: remove redundant assignments (#634) 2024-09-14 13:26:09 +08:00
Integral
8255400fe2
refactor: improve code readability of struct initialization (#633) 2024-09-14 00:41:45 +08:00
Integral
e637d666e0
optimize: replace c arithmetic operators with bitwise ones (#628) 2024-09-13 22:39:33 +08:00
mzz
d8fad75597
feat(dialer): support reality (without udp support) (#573) 2024-09-12 12:50:33 +08:00
神楽坂·喵
9f04adfe16
feat: allow group override global node connectivity check (#623)
Co-authored-by: mzz2017 <2017@duck.com>
2024-09-08 22:13:06 +08:00
该ID暂无昵称
c8856614c5
feat: support ipip tunnel as lan/wan interface (#615) 2024-09-03 18:38:21 +08:00
秋野かえで
c5b596c293
feat: add MPTCP support (#601) 2024-08-27 09:49:51 +08:00
./gray
00d569f298
optimize(bpf): Alternative way to avoid parsing packet at dae0 (#600) 2024-08-24 14:52:56 +08:00
./gray
222dfcf429
optimize(bpf): Use direct packet access (#562)
Co-authored-by: dae-prow[bot] <136105375+dae-prow[bot]@users.noreply.github.com>
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
2024-07-22 08:59:15 +08:00
mzz
c3ccf179d9
fix: cannot sniff tls fragments (#555)
Co-authored-by: dae-prow[bot] <136105375+dae-prow[bot]@users.noreply.github.com>
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
2024-07-22 08:51:26 +08:00
mzz
5810244109
fix(udp_task_pool): panic: close of closed channel (#570) 2024-07-15 13:29:58 +08:00
mzz
76a4fe9be7
feat: support assist connectivity check (udp-dns) by dns module (#543)
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
2024-06-16 19:51:16 +08:00
mzz
93e47ffe88
fix: incidental packet drop and weird UDP state maintaining (#539) 2024-06-16 19:46:22 +08:00
mzz
3d68dbafdc
fix: set accept_ra=2 to fix missing ipv6 address on WAN interface if necessary (#504) 2024-06-11 21:33:21 +08:00
/gray
ec7cf06de4
fix: Opt out TCP sockmap bypass by default (#518)
Signed-off-by: gray <gray.liang@isovalent.com>
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
2024-05-20 21:03:39 +08:00
/gray
3764df2af3
fix: sysctl net.ipv4.conf.dae0peer.accept_local=1 (#512)
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
2024-05-03 19:11:28 +08:00
mzz
a75a2fffd7
fix: maintain udp conn direction to fix possible dns leaking (#505)
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
2024-04-25 08:43:28 +08:00
mzz
f26ac49d9e
fix/chore: update submodule outbound to fix panic in some edge cases (#503) 2024-04-24 02:22:50 +08:00
/gray
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
/gray
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
/gray
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
/gray
36fa05b105
fix(bpf): revert using bpf_redirect_peer (#480) 2024-03-30 20:59:58 +08:00
/gray
7aad3a9474
chore: bump submodule dae_bpf_headers (#487) 2024-03-30 14:34:15 +08:00
/gray
b18e081e09
fix: Fix bpf CO-RE issue on 6.9 (#483) 2024-03-27 12:39:26 +08:00
/gray
d31d8802ce
style: format bpf c code using kernel checkpatch.pl (#477) 2024-03-15 20:26:21 +08:00
/gray
49f576e37d
patch/optimize(bpf): improve lan hijack datapath performance (#466) 2024-03-08 23:28:40 +08:00
/gray
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
/gray
4d6d98c9d4
fix: Create DaeNetns instance strictly once on reload (#446) 2024-01-29 18:56:11 +08:00
/gray
5f3249bcb3
feat: dae trace (#435)
Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
2024-01-27 13:33:00 +08:00
/gray
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
/gray
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
/gray
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
Sumire (菫)
3184aa5abd
chore(license): update license signature (#406) 2024-01-04 17:28:16 +08:00
/gray
97cb4909fc
fix(bpf): sk_lookup_udp for listener only (#401) 2024-01-02 12:06:14 +00:00