482 Commits

Author SHA1 Message Date
jebbs
ebe1b0f381 fix health check 2022-10-17 17:10:23 +08:00
jebbs
8d2f261105 fix health check ticker interval and close 2022-10-17 15:30:28 +08:00
jebbs
c90e7cb266 healthcheck optimizes for the situation where outbounds can be added at any time
* simplfiy nodes check logic
* don't schedule check tasks for multiple rounds
2022-10-17 15:30:23 +08:00
jebbs
eff755f49b code optimize 2022-10-17 15:30:18 +08:00
jebbs
9440f8f060 code optimize 2022-10-17 15:30:14 +08:00
jebbs
91e4e095de supress health check log 2022-10-17 15:30:10 +08:00
jebbs
a4d340f91f improve logging 2022-10-17 15:30:06 +08:00
jebbs
341624dcfa make sure health check is stoped 2022-10-17 15:29:31 +08:00
jebbs
a20ce25d39 fix & improve efficiency of outbound.Balancer.Network()
* call balancer.Balancer.Networks() only we needed
* fix fallback networks not considered
* fix balancer.Balancer.Networks() not return nil
2022-10-17 15:29:27 +08:00
jebbs
1a2e43a2b6 tidy up balancer package exports 2022-10-17 15:29:23 +08:00
jebbs
92adb851bd fix rttStorage test 2022-10-17 15:29:18 +08:00
jebbs
0f96a26cad fix Balancer.Network() 2022-10-17 15:29:13 +08:00
jebbs
ecc434f837 add balancers doc 2022-10-17 15:29:03 +08:00
jebbs
e06e975096 fetch health check nodes in time from the router by prefix ...
* Balancer & HealthCheck not hold adapter.Outbound, but only tags
* rename and unexport some structs and fields
* fix no check in the first rounds
2022-10-17 15:27:16 +08:00
jebbs
8ac8670218 add test for selectNodes() 2022-10-17 15:27:11 +08:00
jebbs
04ceb67921 code optimize 2022-10-17 15:27:05 +08:00
jebbs
fe4fa2ab0c extract balancer.rttBasedBalancer
* leastping shares the same balancer pick settings
2022-10-17 15:26:54 +08:00
jebbs
b7cc51f1af add FIXME 2022-10-17 15:24:25 +08:00
jebbs
40ae02fc54 extract HealthCheck.NodesByCategory() 2022-10-17 15:24:20 +08:00
jebbs
e7093541c1 HealthCheck options code optimize 2022-10-17 15:24:16 +08:00
jebbs
3841e65617 update default health check destination 2022-10-17 15:24:12 +08:00
jebbs
24298883d9 fix may pick nil outbound if fallback not set 2022-10-17 15:24:07 +08:00
jebbs
9a9840a41e add outbound 'leastping' ...
* extract outbound.Balancer
* options refactor
2022-10-17 15:23:30 +08:00
jebbs
e0e3c5153f add outbound 'leastload' 2022-10-17 15:22:33 +08:00
世界
6591dd58ca
Remove strict route on windows
replaced by custom route
2022-10-12 16:24:45 +08:00
XYenon
54af113363
Add custom route support (#147) 2022-10-12 16:20:17 +08:00
世界
3f1fe814ef
Fix sniff fragmented quic client hello 2022-10-12 16:11:42 +08:00
世界
5a2cebebd1
Remove unused 2022-10-10 14:23:34 +08:00
世界
b8009d61b2
Fix tfo headroom 2022-10-10 13:33:48 +08:00
世界
a61a64bf9e
Add shadowtls inbound test 2022-10-10 11:31:03 +08:00
世界
7d17c52fea
Add more messages to darwin route error 2022-10-09 21:22:07 +08:00
世界
f5b15b392b
Fix ssh outbound 2022-10-09 20:43:01 +08:00
世界
8a53846efd
Fix uTLS handshake 2022-10-08 20:31:01 +08:00
世界
badc454452
Fix test 2022-10-08 20:30:52 +08:00
世界
a01bb569d1
Fix websocket headroom 2022-10-08 20:09:36 +08:00
世界
89ff9f8368
Fix interface monitor 2022-10-08 20:09:36 +08:00
世界
7f816a2ebc
Add sniff_timeout 2022-10-08 20:09:36 +08:00
世界
39c141651a
Update documentation v1.1-beta9 2022-10-06 23:33:57 +08:00
世界
b0ad9bb6f1
Add shadowtls v2 support 2022-10-06 22:47:11 +08:00
世界
d135d0f287
Update tfo-go usage 2022-10-06 21:58:50 +08:00
世界
b183ccf23d
Fix wfp filter weight 2022-10-05 20:24:27 +08:00
世界
c2969bc186
Update documentation 2022-10-03 04:36:54 +08:00
世界
bd86bfcd22
Fix check system stack packet 2022-10-03 04:36:54 +08:00
世界
8aec64b855
Add v2ray mux support for all connections 2022-10-03 04:34:59 +08:00
世界
1445bdba37
Fix trojan fallback 2022-10-01 11:41:15 +08:00
世界
29d08e63b5
Fix clash tracker 2022-10-01 11:29:46 +08:00
世界
1173fdea64
Improve tls writer 2022-10-01 11:29:46 +08:00
世界
968430c338
Minor fixes 2022-09-30 21:08:07 +08:00
世界
3e5bee6faf
Fix windows route 2022-09-30 00:36:42 +08:00
世界
aa613cba73
Fix dns close 2022-09-29 09:12:13 +08:00