Commit Graph

43 Commits

Author SHA1 Message Date
nadoo
31f7c50cbc general: optimize memory allocations 2020-08-26 19:21:35 +08:00
nadoo
8f661a67a4 general: optimize codes 2020-08-10 18:43:41 +08:00
nadoo
92a43608f3 ssr: update due to upstream lib change 2020-07-13 10:30:40 +08:00
nadoo
e3c57ba369 dns: add length check to avoid panic 2020-05-05 01:30:57 +08:00
nadoo
665d722d2c direct: support dial timeout and relay timeout (#97) 2020-05-04 16:51:41 +08:00
nadoo
3392db41de check: stop current check process when timeout (#159) 2020-05-04 15:33:26 +08:00
nadoo
2fe9c3990b forwarder: avoid to disable direct forwarder 2020-05-02 21:49:30 +08:00
nadoo
b99a730968 general: suport results feedback in more protocols 2020-05-01 20:54:23 +08:00
nadoo
c5881a6db3 general: update due to the previous interface change 2020-04-29 18:45:58 +08:00
wuudjac
22e0576b53
redir, dns: IncFailures on non-timeout errors (#133) 2020-04-28 15:18:19 +08:00
nadoo
b74880ae7a pool: added a function to init bufPools 2020-04-21 12:17:14 +08:00
nadoo
0b0611a0dc strategy: added new option checkfailedonly #138 2020-04-21 00:50:12 +08:00
nadoo
855907c46b ws: support set a different host header #157 2020-04-05 11:55:48 +08:00
nadoo
666c76f921 general: tidy code 2020-04-04 22:57:29 +08:00
nadoo
fda05d5d3d strategy: try fwrdrs 1 by 1 when len(avail)==0 2020-04-04 00:03:47 +08:00
nadoo
fd3bdb8f56 strategy: run init when no forwarders available 2020-04-03 20:31:59 +08:00
nadoo
1204cf30fd strategy: try to fix #135 #142 2020-04-03 20:15:22 +08:00
nadoo
edcb21236a proxy: add a new interface proxy to distinguish client and server 2019-09-18 19:40:14 +08:00
nadoo
6c8141e43b strategy: return fwdr's addr when only 1 fwdr left 2019-09-18 17:10:33 +08:00
nadoo
063dc1bc01 proxy: added the ability to log forwarder 2019-09-18 12:53:04 +08:00
nadoo
0ef3d72e2e mod: update go modules 2019-03-19 20:05:29 +08:00
nadoo
a22b1d9c86 strategy: add checktimeout config. (#89) 2019-03-18 23:37:01 +08:00
nadoo
6ba9e1f5e8 obfs: compatible with some server implementation in tls mode 2018-12-16 13:28:24 +08:00
nadoo
981d226bd1 strategy: display forwarder's addr instead of struct value. 2018-08-31 00:16:26 +08:00
nadoo
1c2ad64000 strategy: when no forwarders, available set priority to 0 2018-08-29 23:54:00 +08:00
nadoo
ac94540ab8 general: update some doc or comment for new features. 2018-08-27 19:38:42 +08:00
nadoo
529786acf6 dns: add dnsalwaystcp config. #49 2018-08-26 22:36:14 +08:00
nadoo
2f239d60f1 doc: add info for dh mode 2018-08-26 01:43:28 +08:00
nadoo
035e15df5c strategy: optimized code 2018-08-26 01:25:22 +08:00
nadoo
bec2c1fd63 strategy: add the ability to handle forwarder status change events 2018-08-25 23:56:18 +08:00
nadoo
eb0b17bea1 strategy: add experimental dh: destination hashing mode 2018-08-24 18:45:57 +08:00
nadoo
b9017ff70a strategy: avoid data race 2018-08-23 00:01:31 +08:00
nadoo
8daa7784b0 general: add global setting interface 2018-08-20 22:23:00 +08:00
nadoo
88ff8997b5 strategy: avoid returning nil dialer in lha.nextDialer 2018-08-16 00:01:59 +08:00
nadoo
39ccbc5adf forwarder: add the ability to specify local ip. #48 2018-08-15 00:54:17 +08:00
nadoo
fbb78d50d4 strategy: keep default priority as 0 to check all fwders at start time 2018-08-14 20:01:43 +08:00
nadoo
4967f0bd36 doc: add info for forwarder option: priority 2018-08-14 19:52:32 +08:00
nadoo
e82ea75cba strategy: experimental latency based high availability mode supported 2018-08-14 19:33:18 +08:00
nadoo
3a8af82f87 conf: use dns.Config instead of multiple variables 2018-08-12 22:07:19 +08:00
nadoo
e0c07146dc strategy: do not check forwarders whose priority less than current value 2018-08-12 22:00:12 +08:00
nadoo
b5b7f2998b forwarder: set status to disabled when dialing fails MaxFailures times 2018-08-12 21:40:22 +08:00
nadoo
e1c318990b strategy: support priority now (need to check) 2018-08-12 18:50:44 +08:00
nadoo
e3888a6bd3 strategy: moved to a separate package 2018-08-11 11:46:10 +08:00