Commit Graph

207 Commits

Author SHA1 Message Date
mzz2017
8465229e35 refactor(sniffer): refine code 2023-04-10 00:37:48 +08:00
mzz2017
02423fabec fix: shadowsocket sharing link 2023-04-10 00:23:34 +08:00
mzz2017
99c0d190d2 fix(sniffer): should remain partial data for further read even if timeout 2023-04-09 16:41:39 +08:00
mzz2017
129d6055dd fix(sniffer): server push cases for games 2023-04-09 16:33:21 +08:00
mzz2017
38cc66d1d3 feat: support dns.ipversion_prefer 2023-04-07 23:06:04 +08:00
mzz2017
127a000058 fix/optimize: reroute if necessary and add opendns as bootstrap dns 2023-04-07 20:38:06 +08:00
mzz2017
85343ac141 fix: should update system DNS every 5 seconds 2023-04-02 17:43:50 +08:00
mzz2017
006b7fbfd2 feat: support must_xxx outbounds 2023-04-02 11:07:53 +08:00
mzz2017
d9133b2517 fix: problem that cannot use unsorted ip set in dns response routing 2023-03-31 23:36:24 +08:00
mzz2017
6657fb329c feat: support reject in dns request routing 2023-03-31 15:46:53 +08:00
mzz2017
f3b80c977c style: beautify log 2023-03-30 01:56:05 +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
59a07289d5 optimize: use sigusr2 to suspend instead of sighup 2023-03-25 15:46:05 +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
b69cb63a11 fix: rollback reloading and refresh fixed outbound alive state 2023-03-23 15:34:56 +08:00
mzz2017
4592be2320 fix: potential panic and check upstreams format before using them 2023-03-21 18:27:30 +08:00
mzz2017
160e17f6e7 fix: should intercept dns traffic even if no dns upstreams 2023-03-16 14:42:08 +08:00
mzz2017
e2964ee6aa chore: transferred to daeuniverse 2023-03-14 15:01:55 +08:00
mzz2017
f061ca7884 optimize(dial_mode): cache for real domain 2023-03-13 16:40:37 +08:00
mzz2017
1950d37d14 optimize: refine http sniffer to adapt to non-standard http request header 2023-03-12 11:32:23 +08:00
mzz2017
4706f58d22 fix: dead loop if no dns upstream given 2023-03-03 16:53:09 +08:00
mzz2017
0433f8d5da fix: should reset kernel program outbound alive status every reload 2023-03-02 21:28:30 +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
95a8c0ac42 fix: potential panic caused by dns upstream ready callback 2023-02-27 16:21:53 +08:00
mzz2017
203e824ccf fix: potential dns leaking in the very beginning 2023-02-27 14:47:20 +08:00
mzz2017
01162f3d7e feat: support reload 2023-02-27 13:29:42 +08:00
mzz
5cf6dca509
feat: support export config outline and config marshal (#27) 2023-02-25 22:53:18 +08:00
mzz2017
90dac980b9 fix: bad ext extraction in qname func 2023-02-25 03:24:33 +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
f412f9eeac chore: bitlist use uint16 as underlay 2023-02-20 18:24:29 +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
c75db9397d optimize: optimize momory of domain matching trie 2023-02-19 19:15:16 +08:00
mzz2017
a011c2a74c fix: domain match 2023-02-19 14:08:13 +08:00
mzz2017
156769bf55 feat: add min moving average latencies policy 2023-02-19 01:49:36 +08:00
mzz2017
cd588d017d optimize: even faster domain keyword matching 2023-02-19 00:11:30 +08:00
mzz2017
23140c1f15 fix: avoid domain matching false positive 2023-02-18 22:04:28 +08:00
mzz2017
b277212715 optimize: memory occupation 2023-02-18 21:39:46 +08:00
mzz2017
5806f9bb39 fix: missing regex domain matching 2023-02-18 19:02:34 +08:00
mzz
8f6b0a6e2a
feat/optimize: add userspace routing and optimize domain routing (#18) 2023-02-18 18:27:28 +08:00
mzz2017
de08c7c861 chore: rename routing final as fallback 2023-02-18 03:01:51 +08:00
mzz2017
914aec31a2 optimize: not force to check connectivity at the very beginning 2023-02-18 02:13:47 +08:00
mzz2017
43589ee243 fix(tls sniff): may be multiple types SNI in an extension 2023-02-18 01:48:56 +08:00
mzz2017
a920ff432f feat: support stream ciphers for shadowsocks 2023-02-18 01:12:23 +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
b767036966 chore: simplify some error prompt 2023-02-15 23:06:44 +08:00
mzz2017
6b68e74335 optimize: sniffer 2023-02-15 12:54:25 +08:00
mzz
ebdbf9a4a7
feat: add sniffing suite and dial_mode option (#16) 2023-02-15 01:53:53 +08:00
mzz2017
11f8683d8f fix: latency comparison had potential arithmetic overflow problem 2023-02-13 15:27:36 +08:00
mzz2017
d88961681e fix: simple-obfs host problem 2023-02-13 14:59:18 +08:00
mzz2017
0b5263c89b feat: allow tcp_check_url and udp_check_dns are not double stack 2023-02-13 02:40:34 +08:00
mzz2017
feb58925a4 feat: add must_direct outbound 2023-02-12 23:11:40 +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
mzz2017
c43b6887d7 refactor: tag getter 2023-02-12 11:33:12 +08:00
mzz2017
a2bc4793a3 feat: support overwrite node name using tag 2023-02-12 11:26:58 +08:00
mzz2017
448debd620 feat: support no group filter 2023-02-12 11:17:10 +08:00
mzz2017
5a4d87c085 optimize: re-select algorithm 2023-02-12 00:14:00 +08:00
mzz2017
e269c4bf60 fix: panic when dialer switching from nil old dialer 2023-02-11 22:26:28 +08:00
mzz2017
55301897e0 fix: fix dialer switching if only one node and fix ss+simple-obfs 2023-02-11 22:24:14 +08:00
mzz2017
bd55d76753 docs: example.dae 2023-02-10 12:02:25 +08:00
mzz
c54a5a0c30
feat: support subscription tag and subtag filter (#13) 2023-02-10 11:04:16 +08:00
mzz2017
158dfb2a27 feat: add check_tolerance to make node selection stable 2023-02-09 21:16:51 +08:00
mzz2017
e3a71d0ee2 fix: calcMinLatency should skip no latency dialer 2023-02-09 20:54:06 +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
mzz
15faa3cdd2
feat: support tcp:// and tcp+udp:// for dns_upstream (#11) 2023-02-09 11:40:34 +08:00
mzz2017
ea260ab581 fix: incorrect outbound alive state change result 2023-02-08 23:35:30 +08:00
mzz2017
f3e3ae2ae7 fix: problem that disable l4proto+ipversion when single node is down 2023-02-08 23:35:30 +08:00
mzz2017
a9bcb396c2 optimize: add cache for asset path 2023-02-08 23:35:30 +08:00
mzz2017
e87c7fa89d fix: should correctly set dialer alive property 2023-02-08 23:35:30 +08:00
mzz2017
aa38103fee feat: should get new udp endpoint if the dialer has been not alive 2023-02-08 23:35:30 +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
c49ca89683 chore: adjust directory structure 2023-02-07 23:49:30 +08:00
mzz2017
ad8f54531e fix: listen ip panic 2023-02-07 23:40:19 +08:00
mzz2017
81676674c8 fix panic 2023-02-07 23:05:30 +08:00
mzz2017
c542272493 docs: README 2023-02-07 22:29:50 +08:00
mzz2017
3480cbf921 chore/docs: use CO-RE and refine README 2023-02-07 21:54:57 +08:00
mzz2017
cceeb53db7 chore: add btf lack prompt 2023-02-07 21:33:38 +08:00
mzz2017
45701f8559 fix: patch old wan method 2023-02-07 21:11:37 +08:00
mzz
9f33ecf809
feat(lan): use sockmap instead of sk_lookup for tproxy socket (#8) 2023-02-07 13:49:47 +08:00
mzz2017
6f1ec9a4d6 chore: replace route 0.0.0.0/0 with default 2023-02-07 00:17:55 +08:00
mzz2017
9b38fa97e6 fix 2023-02-06 22:03:03 +08:00
mzz2017
f8b83a9283 fix: try to fix single arm situation problem 2023-02-06 18:34:34 +08:00
mzz2017
446a3993bc feat: support as-is for dns_upstream 2023-02-06 16:22:07 +08:00
mzz2017
e97b298577 chore: clean code 2023-02-06 14:01:02 +08:00
mzz2017
8c65f8ff39 refactor: refactor lan tproxy using sk_assign 2023-02-06 13:56:43 +08:00
mzz2017
31fcc288fc try to fix checksum problem but failed 2023-02-05 21:05:23 +08:00
mzz2017
fb3f25c344 fix: dns problem 2023-02-05 13:05:28 +08:00
mzz2017
0d643f0c6d docs: README 2023-02-05 11:00:29 +08:00
mzz2017
10c0c264b2 chore/docs: lease building requirement and write build instruction 2023-02-05 10:29:00 +08:00
mzz2017
a6d2628505 feat: add flag disable-timestamp; check empty node list after subscription resolving 2023-02-04 22:02:37 +08:00
mzz2017
5118a80bca feat: add DNS rush-answer filter 2023-02-04 20:53:29 +08:00