Commit Graph

172 Commits

Author SHA1 Message Date
mzz
ee09ae17e3 feat: support iptables tproxy (#80) 2023-06-04 11:38:05 +08:00
mzz
46ee3201c4 fix(test): domain_matcher/benchmark_test.go (#107) 2023-05-30 22:48:36 +08:00
mzz
2a8f8f9010 feat: support geosite attr (#98) 2023-05-27 23:58:50 +08:00
mzz
d9f6fa7aee fix: dns mismatched qname matching (#99) 2023-05-27 13:51:19 +08:00
80d3940483 feat: add uTLS support (#94)
* feat: add uTLS

* feat: change `Utls.Imitate` to `UtlsImitate`

* feat: add desc and example config

* chore: refine code and docs

* docs(example.dae): adjust order

---------

Co-authored-by: mzz2017 <2017@duck.com>
2023-05-27 10:52:13 +08:00
mzz
bf1d296401 feat: support tcp_check_http_method (#77) 2023-05-13 15:38:28 +08:00
9493b9a0aa feat: support to give fixed ip for tcp_check_url and udp_check_dns 2023-04-29 01:08:53 +08:00
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
fb2b55ee51 feat: support global.sniffing_timeout 2023-04-13 00:18:42 +08:00
bd2fa98809 revert: optimize(sniffer): wait data for 300ms instead of 100ms 2023-04-12 23:46:19 +08:00
e61ac598b5 optimize(sniffer): wait data for 300ms instead of 100ms 2023-04-12 22:27:44 +08:00
08f75bef44 fix: udp sniffer reading 2023-04-12 21:47:56 +08:00
4efed17ff9 fix: use goroutine instead of SetReadDeadline to try to fix compatibility 2023-04-12 21:45:56 +08:00
d2b0c20602 fix: cannot sniff for long connections 2023-04-12 00:25:09 +08:00
3146a5c7c2 chore(sniffer): move conn logic from streamSniffer to connSniffer 2023-04-10 00:43:50 +08:00
8465229e35 refactor(sniffer): refine code 2023-04-10 00:37:48 +08:00
02423fabec fix: shadowsocket sharing link 2023-04-10 00:23:34 +08:00
99c0d190d2 fix(sniffer): should remain partial data for further read even if timeout 2023-04-09 16:41:39 +08:00
129d6055dd fix(sniffer): server push cases for games 2023-04-09 16:33:21 +08:00
38cc66d1d3 feat: support dns.ipversion_prefer 2023-04-07 23:06:04 +08:00
127a000058 fix/optimize: reroute if necessary and add opendns as bootstrap dns 2023-04-07 20:38:06 +08:00
85343ac141 fix: should update system DNS every 5 seconds 2023-04-02 17:43:50 +08:00
006b7fbfd2 feat: support must_xxx outbounds 2023-04-02 11:07:53 +08:00
d9133b2517 fix: problem that cannot use unsorted ip set in dns response routing 2023-03-31 23:36:24 +08:00
6657fb329c feat: support reject in dns request routing 2023-03-31 15:46:53 +08:00
f3b80c977c style: beautify log 2023-03-30 01:56:05 +08:00
12febe94cf optimize: remove rush-answer detector because it does always work in all districts 2023-03-29 18:14:13 +08:00
d85e7080fe fix/optimize: fix https h2 problem and add h2 mutiplex 2023-03-27 21:44:13 +08:00
59a07289d5 optimize: use sigusr2 to suspend instead of sighup 2023-03-25 15:46:05 +08:00
2ff7e1ba47 feat: add config dir as extern geosite search dir. fix #41 2023-03-25 00:57:04 +08:00
07ff753cf3 optimize: give warning instead of error when invalid domain is given in routing 2023-03-25 00:36:01 +08:00
b69cb63a11 fix: rollback reloading and refresh fixed outbound alive state 2023-03-23 15:34:56 +08:00
4592be2320 fix: potential panic and check upstreams format before using them 2023-03-21 18:27:30 +08:00
160e17f6e7 fix: should intercept dns traffic even if no dns upstreams 2023-03-16 14:42:08 +08:00
e2964ee6aa chore: transferred to daeuniverse 2023-03-14 15:01:55 +08:00
f061ca7884 optimize(dial_mode): cache for real domain 2023-03-13 16:40:37 +08:00
1950d37d14 optimize: refine http sniffer to adapt to non-standard http request header 2023-03-12 11:32:23 +08:00
4706f58d22 fix: dead loop if no dns upstream given 2023-03-03 16:53:09 +08:00
0433f8d5da fix: should reset kernel program outbound alive status every reload 2023-03-02 21:28:30 +08:00
f3845bd452 fix: potential panic 2023-03-01 11:36:08 +08:00
741a8dedb4 chore 2023-02-28 21:25:15 +08:00
95a8c0ac42 fix: potential panic caused by dns upstream ready callback 2023-02-27 16:21:53 +08:00
203e824ccf fix: potential dns leaking in the very beginning 2023-02-27 14:47:20 +08:00
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
90dac980b9 fix: bad ext extraction in qname func 2023-02-25 03:24:33 +08:00
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
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