Commit Graph

126 Commits

Author SHA1 Message Date
mzz2017
ecadddaeca optimize: reduce loading time and memory requirement by shrinking process name searching length 2023-04-05 00:42:56 +08:00
mzz2017
85343ac141 fix: should update system DNS every 5 seconds 2023-04-02 17:43:50 +08:00
mzz2017
648710a40e feat: add virtual must_rules outbound 2023-04-02 12:02:57 +08:00
mzz2017
006b7fbfd2 feat: support must_xxx outbounds 2023-04-02 11:07:53 +08:00
mzz2017
f2dc750dbb chore: refine reloading code 2023-03-30 23:28:51 +08:00
mzz2017
12febe94cf optimize: remove rush-answer detector because it does always work in all districts 2023-03-29 18:14:13 +08:00
mzz2017
d85e7080fe fix/optimize: fix https h2 problem and add h2 mutiplex 2023-03-27 21:44:13 +08:00
mzz2017
ae618e6c6e fix: preprocess wan_interface 'auto' before ebpf program loading to avoid to fail to insert filter 2023-03-26 12:54:21 +08:00
mzz2017
43d5d81858 feat: support to auto config kernel parameters 2023-03-25 17:16:24 +08:00
mzz2017
c0abd753eb optimize: reduce UDP buffer 2023-03-25 13:52:52 +08:00
mzz2017
2ff7e1ba47 feat: add config dir as extern geosite search dir. fix #41 2023-03-25 00:57:04 +08:00
mzz2017
07ff753cf3 optimize: give warning instead of error when invalid domain is given in routing 2023-03-25 00:36:01 +08:00
mzz2017
a04a6be76b feat: support to auto detect WAN interface 2023-03-24 13:30:02 +08:00
mzz2017
4592be2320 fix: potential panic and check upstreams format before using them 2023-03-21 18:27:30 +08:00
mzz2017
feaf05af08 chore: allow NOSTRIP 2023-03-17 15:37:12 +08:00
mzz2017
fe3f9c62c3 optimize: refine dns cache behaviour 2023-03-17 13:13:49 +08:00
mzz2017
160e17f6e7 fix: should intercept dns traffic even if no dns upstreams 2023-03-16 14:42:08 +08:00
mzz2017
86547c6522 feat: add dial_mode domain++ 2023-03-14 18:22:21 +08:00
mzz2017
e2964ee6aa chore: transferred to daeuniverse 2023-03-14 15:01:55 +08:00
mzz2017
a6c2a077db optimize: lower the requirement of bootstrap memory 2023-03-14 13:54:43 +08:00
mzz2017
f061ca7884 optimize(dial_mode): cache for real domain 2023-03-13 16:40:37 +08:00
mzz2017
bbc5b77020 optimize: more accurate dial_mode:domain 2023-03-13 15:52:44 +08:00
mzz2017
3b8ae5eb18 chore: prompt 2023-03-13 14:25:14 +08:00
mzz2017
6736979c57 chore: prompt for memory at startup 2023-03-13 13:29:23 +08:00
mzz2017
5807a7c11a feat: should support to run on ipv6 disabled machines 2023-03-04 21:16:09 +08:00
mzz2017
fd43971eab chore: support docker. fix #30 2023-03-04 13:16:26 +08:00
mzz2017
4706f58d22 fix: dead loop if no dns upstream given 2023-03-03 16:53:09 +08:00
mzz2017
c15c0ee410 fix: should roll back configuration if failure of reload 2023-03-02 22:25:51 +08:00
mzz2017
1eaf4bb7f6 fix: bad udp behaviour 2023-03-02 21:09:24 +08:00
mzz2017
f3845bd452 fix: potential panic 2023-03-01 11:36:08 +08:00
mzz2017
741a8dedb4 chore 2023-02-28 21:25:15 +08:00
mzz2017
a1fb979ee5 fix: init upstreams should be in goroutine 2023-02-27 16:24:16 +08:00
mzz2017
95a8c0ac42 fix: potential panic caused by dns upstream ready callback 2023-02-27 16:21:53 +08:00
mzz2017
a9709d2a57 optimize: allow to bind nothing 2023-02-27 14:57:00 +08:00
mzz2017
2525c0658d chore: send real ready after listening and clean up thoroughly 2023-02-27 14:36:36 +08:00
mzz2017
01162f3d7e feat: support reload 2023-02-27 13:29:42 +08:00
mzz2017
8b59492fe5 chore: remove selective loading bpf objects 2023-02-27 09:56:00 +08:00
mzz2017
7542884451 chore: log shows dialMode 2023-02-26 20:33:50 +08:00
mzz2017
e0cec1874a optimize: drop ipv6 send_redirects 2023-02-26 13:36:38 +08:00
mzz
5cf6dca509
feat: support export config outline and config marshal (#27) 2023-02-25 22:53:18 +08:00
mzz2017
80cffe8ca9 chore: replace ip with dip, port with dport 2023-02-25 03:12:35 +08:00
mzz
8bd6a77398
feat: dns routing (#26) 2023-02-25 02:38:21 +08:00
mzz2017
33ad434f8a fix: should fix traffic loop sent by dae in WAN mode 2023-02-21 19:10:17 +08:00
mzz2017
ea340372b8 fix: No AddrPort presented for LAN 2023-02-21 16:28:09 +08:00
mzz2017
384b4131a3 feat: add more trace info (pid, pname, mac) 2023-02-21 16:10:44 +08:00
mzz
9fd52c4d38
feat: support to mark direct traffic (#24) 2023-02-20 18:06:54 +08:00
mzz2017
9efeada72d chore 2023-02-19 22:17:08 +08:00
mzz2017
a011c2a74c fix: domain match 2023-02-19 14:08:13 +08:00
mzz2017
500248ea5c chore 2023-02-19 00:13:26 +08:00
mzz2017
55c68a1676 optimize(memory): reuse kernel lpm tries in userspace 2023-02-18 22:18:34 +08:00
mzz
8f6b0a6e2a
feat/optimize: add userspace routing and optimize domain routing (#18) 2023-02-18 18:27:28 +08:00
mzz2017
0bf9e464ff Revert "optimize: no need for rule table for wan and reject TCP to tproxy"
This reverts commit 7452abb158.
2023-02-18 14:55:42 +08:00
mzz2017
7452abb158 optimize: no need for rule table for wan and reject TCP to tproxy 2023-02-18 14:47:34 +08:00
mzz2017
de08c7c861 chore: rename routing final as fallback 2023-02-18 03:01:51 +08:00
mzz
e495ee1b7c
feat: support to dial domain for udp and support udp for ssr (#17) 2023-02-18 00:49:35 +08:00
mzz2017
791752399d optimize: show outbound name when notify kernel connectivity change 2023-02-17 02:11:08 +08:00
mzz2017
739682dabc feat: add dial_mode domain+ 2023-02-17 01:07:27 +08:00
mzz
ebdbf9a4a7
feat: add sniffing suite and dial_mode option (#16) 2023-02-15 01:53:53 +08:00
mzz2017
a78f8c2cff docs: add prompt for bad lxc 2023-02-13 11:08:19 +08:00
mzz2017
919fcc32d9 feat: fix port collision problem 2023-02-12 21:50:15 +08:00
mzz2017
7656a6ecaf feat/fix: support allow_insecure and fix ws path with query 2023-02-12 17:17:51 +08:00
mzz2017
4c2f936fa4 feat: support to check independent tcp dns connectivity 2023-02-12 15:39:00 +08:00
mzz
4145a79559
feat: add lan_snat_direct option for non-transparent-bridge user (#14) 2023-02-11 13:34:12 +08:00
mzz
c54a5a0c30
feat: support subscription tag and subtag filter (#13) 2023-02-10 11:04:16 +08:00
mzz2017
4f4afc5d82 chore: upgrade softwind 2023-02-10 00:29:23 +08:00
mzz2017
158dfb2a27 feat: add check_tolerance to make node selection stable 2023-02-09 21:16:51 +08:00
mzz2017
3060417be7 feat: lazily init dns upstream and tcp/udp check to avoid fatal when start 2023-02-09 19:22:37 +08:00
mzz2017
2107aead00 fix: problem that not switch to tcp if udp is blocked 2023-02-09 13:27:59 +08:00
mzz2017
b34af9c6a4 chore: core should be created after right bpf loaded 2023-02-09 12:03:29 +08:00
mzz
15faa3cdd2
feat: support tcp:// and tcp+udp:// for dns_upstream (#11) 2023-02-09 11:40:34 +08:00
mzz2017
2ef332b018 feat: drop frame in kernel to take advance of happy eyeballs if outbound shoud fail 2023-02-08 23:35:30 +08:00
mzz2017
5e7b68822a feat: support independent tcp4, tcp6, udp4, udp6 connectivity check 2023-02-08 23:35:30 +08:00
mzz2017
551e79d9e5 refactor: rename check_url to tcp_check_url and restrict dns_upstream as udp://ip:port 2023-02-08 23:35:30 +08:00
mzz2017
a3d4a06dab chore: refine code and add annotations 2023-02-08 15:38:13 +08:00
mzz2017
3c139765d2 feat: support bind wan and lan in the same interface 2023-02-08 14:36:16 +08:00
mzz2017
c49ca89683 chore: adjust directory structure 2023-02-07 23:49:30 +08:00