Commit Graph

166 Commits

Author SHA1 Message Date
mzz2017
9493b9a0aa feat: support to give fixed ip for tcp_check_url and udp_check_dns 2023-04-29 01:08:53 +08:00
czybjtu
e71c272693
style: format golang import package code style (#58)
Co-authored-by: Kevin Yu <yqlbu@Bu.edu>
2023-04-23 13:27:29 +08:00
mzz2017
fb2b55ee51 feat: support global.sniffing_timeout 2023-04-13 00:18:42 +08:00
mzz2017
bd2fa98809 revert: optimize(sniffer): wait data for 300ms instead of 100ms 2023-04-12 23:46:19 +08:00
mzz2017
e61ac598b5 optimize(sniffer): wait data for 300ms instead of 100ms 2023-04-12 22:27:44 +08:00
mzz2017
08f75bef44 fix: udp sniffer reading 2023-04-12 21:47:56 +08:00
mzz2017
4efed17ff9 fix: use goroutine instead of SetReadDeadline to try to fix compatibility 2023-04-12 21:45:56 +08:00
mzz2017
d2b0c20602 fix: cannot sniff for long connections 2023-04-12 00:25:09 +08:00
mzz2017
3146a5c7c2 chore(sniffer): move conn logic from streamSniffer to connSniffer 2023-04-10 00:43:50 +08:00
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