384 Commits

Author SHA1 Message Date
jebbs
769d3f0480 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-12 14:26:41 +08:00
jebbs
28f9adc8a9 tidy up balancer package exports 2022-10-12 11:54:43 +08:00
jebbs
bc01961d34 fix rttStorage test 2022-10-12 11:13:30 +08:00
jebbs
dd70b3f6af fix Balancer.Network() 2022-10-12 10:39:28 +08:00
jebbs
741845d0da add balancers doc 2022-10-12 09:43:34 +08:00
jebbs
a2d428f246 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-11 17:54:39 +08:00
jebbs
6d417949ae add test for selectNodes() 2022-10-11 14:51:15 +08:00
jebbs
5c2c76b85c code optimize 2022-10-11 14:50:51 +08:00
jebbs
3d44156b67 extract balancer.rttBasedBalancer
* leastping shares the same balancer pick settings
2022-10-11 14:08:08 +08:00
jebbs
ac89366168 add FIXME 2022-10-11 10:51:00 +08:00
jebbs
793a6f237a extract HealthCheck.NodesByCategory() 2022-10-11 10:50:48 +08:00
jebbs
3b33ff88e8 HealthCheck options code optimize 2022-10-11 09:27:53 +08:00
jebbs
8460c2c431 update default health check destination 2022-10-10 17:01:19 +08:00
jebbs
922c839c13 fix may pick nil outbound if fallback not set 2022-10-10 16:40:11 +08:00
jebbs
ebe5a80f19 add outbound 'leastping' ...
* extract outbound.Balancer
* options refactor
2022-10-10 16:21:57 +08:00
jebbs
1c0ad66fc8 add outbound 'leastload' 2022-10-10 14:18:50 +08:00
世界
3105b8c920
Bump version v1.0.5 2022-09-25 22:27:23 +08:00
世界
4c67ab1a54
Fix read source address from grpc-go 2022-09-25 22:27:23 +08:00
世界
84783c5359
Fix fqdn socks5 outbound connection 2022-09-25 14:44:39 +08:00
世界
22b16f82bd
Fix missing source address from transport connection 2022-09-25 14:44:33 +08:00
世界
d2add33723
Bump version v1.0.4 2022-09-15 13:12:18 +08:00
世界
ab0daf31c1
Fix clash api proxy type 2022-09-15 13:11:52 +08:00
世界
3d94b948dd
Fix port rule match logic 2022-09-15 13:11:20 +08:00
世界
1659ae5d79
Fix close grpc conn 2022-09-15 13:10:18 +08:00
世界
7279855b08
Bump version v1.0.3 2022-09-13 11:25:38 +08:00
世界
925fbca363
Fix concurrent write 2022-09-13 10:36:37 +08:00
世界
a5163e3e3c
Fix hysteria inbound 2022-09-13 10:32:14 +08:00
世界
62859e0c6b
Fix socks4 client 2022-09-13 10:32:12 +08:00
世界
a37cab48d2
Bump version v1.0.2 2022-09-10 23:13:58 +08:00
世界
c586c8f361
Fix socks4 request 2022-09-10 22:53:06 +08:00
世界
e68fa3e12d
Fix processing empty dns result 2022-09-10 22:52:54 +08:00
世界
7f5b9e0e3b
Run build on main branch 2022-09-10 22:52:54 +08:00
世界
f7bed32c6f
Bump version v1.0.1 2022-09-09 14:43:42 +08:00
世界
ef7f2d82c0
Fix match 4in6 address in ip_cidr 2022-09-09 14:07:02 +08:00
世界
7aa97a332e
Fix documentation 2022-09-09 13:54:02 +08:00
世界
7c30dde96b
Minor fixes 2022-09-08 18:33:59 +08:00
GyDi
9cef2a0a8f
Fix clashapi log level format error 2022-09-08 18:04:06 +08:00
世界
f376683fc3
Update documentation v1.0 2022-09-07 23:10:36 +08:00
世界
4b61d6e875
Fix hysteria stream error 2022-09-07 19:16:20 +08:00
世界
7d83e350fd
Refine test 2022-09-07 19:16:20 +08:00
世界
500ba69548
Fix processing vmess termination signal 2022-09-07 19:16:20 +08:00
世界
9a422549b1
Fix json format error message 2022-09-07 13:23:26 +08:00
世界
3b48fa455e
Fix naive inbound temporary 2022-09-07 12:30:54 +08:00
zakuwaki
ef013e0639
Suppress accept proxyproto failed #65 2022-09-06 23:16:31 +08:00
世界
8f8437a88d
Fix wireguard reconnect 2022-09-06 00:11:43 +08:00
世界
1b091c9b07
Update documentation v1.0-rc1 2022-09-04 13:15:10 +08:00
世界
4801b6f057
Fix DNS routing 2022-09-04 12:49:38 +08:00
世界
9078bc2de5
Fix write trojan udp 2022-09-03 16:58:55 +08:00
世界
b69464dfe9
Update documentation for dial fields 2022-09-03 13:02:41 +08:00
世界
62fa48293a
Merge dialer options 2022-09-03 12:55:10 +08:00