Commit Graph

335 Commits

Author SHA1 Message Date
Shelikhoo 0f7345ba76
adjustment: ♻️ refactor geoip match logic (#1157)
cherry-pick f1902165c7
2021-09-27 21:50:18 +01:00
Loyalsoldier a86415cb43
♻️ refactor geoip match logic (#1157)
cherry-pick f1902165c7
2021-09-27 21:43:05 +01:00
Shelikhoo 2fcc0ba1bb
add ip preprocessor logic 2021-09-18 21:04:30 +01:00
Shelikhoo 89d9eba1a9
use custom loading rules for router 2021-09-09 14:45:19 +01:00
Shelikhoo 434d9e8700
add grpc service register 2021-09-07 14:43:45 +01:00
Shelikhoo 98ee44befd
update test for router refactor 2021-09-07 13:43:28 +01:00
Shelikhoo 6c934f9db0
register strategy config 2021-09-07 11:48:24 +01:00
Shelikhoo 30648c3e07
added custom balancer settings processing logic 2021-09-07 11:42:45 +01:00
Shelikhoo 5182727054
fix CountryCode not set 2021-09-07 11:09:34 +01:00
Shelikhoo 68f28b1913
refactor common router structure into separate package 2021-09-07 09:13:58 +01:00
Shelikhoo fd63ad7160
added simplified config register 2021-09-07 08:42:34 +01:00
Shelikhoo 935cf69fb1
update router to adapt to protobuf change 2021-09-07 08:01:40 +01:00
Shelikhoo b819ac60b9
added simplified config for dns and router 2021-09-06 22:34:28 +01:00
Shelikhoo 6246b97494
rename reverse match to inverse match 2021-09-06 15:37:47 +01:00
Shelikhoo e0700ccc4b
regenerate protobuf file 2021-09-04 11:26:13 +01:00
Shelikhoo 1531cb0ca4
update protobuf version 2021-09-04 11:13:51 +01:00
Shelikhoo a4e6fe5a94
reference google version of protobuf library 2021-09-04 11:13:31 +01:00
Shelikhoo 881571374d
rename Router Enum name Domain to prevent name collision
This creates build break in C++ environment.
2021-09-04 11:13:31 +01:00
Shelikhoo ba2dd5995d
replace TypedMessage with anypb.Any 2021-09-04 11:13:28 +01:00
Shelikhoo b61d55c6a7
fix strategy least load 2021-09-04 11:12:36 +01:00
Shelikhoo 8adb3dc5a6
fix strategy selector 2021-09-04 11:12:36 +01:00
Shelikhoo fc8d23bcc5
added apply least ping strategy 2021-09-04 11:12:35 +01:00
Shelikhoo 44040ca684
return zero length value when observer is not found 2021-09-04 11:12:35 +01:00
Shelikhoo 4b89f9085f
multi-observer aware load balancer strategy 2021-09-04 11:12:33 +01:00
Shelikhoo 775b9f54df
update API command 2021-09-04 11:12:33 +01:00
Shelikhoo b122200c2a
support principle target output 2021-09-04 11:12:32 +01:00
Shelikhoo ea5bb04acf
incorporate changes in router implementation 2021-09-04 11:12:32 +01:00
Shelikhoo 9cb1566a78
moving health ping to observatory as a standalone component 2021-09-04 11:12:30 +01:00
Shelikhoo 718d6f32bf
update coding style 2021-09-04 11:12:04 +01:00
Jebbs 2523d77919
improve commands
(rebased from ebbf31f07e)
2021-09-04 11:11:45 +01:00
Jebbs fa0cf6db26
v5: Health Check & LeastLoad Strategy (rebased from 2c5a714903)
Some changes will be necessary to integrate it into V2Ray
2021-09-04 11:11:45 +01:00
Jebbs b05a469488
v5: Remove v2ctl & wv2ray (rebased from 7c1ab06206) 2021-09-04 11:09:55 +01:00
database64128 c78ee5aac7
🏡 Housekeeping: Update to Go 1.17 (#1215)
* ⬆ Update to Go 1.17

* 🏗 Update workflows and add windows-arm64

* 💾 Update generated files

* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
Loyalsoldier 470acefef6
Fix: use sorted cidr list (#1156) 2021-07-22 10:43:21 +08:00
Shelikhoo 1409be04c2
regenerate protobuf files 2021-07-01 18:58:48 +01:00
fanyiguan 09d900c753
Update strategy_leastping.go (#1019) 2021-05-25 14:48:13 +01:00
Loyalsoldier 6f8979d017
Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
Loyalsoldier 1cb9fd2999
Chore: little refinements (#973) 2021-05-05 07:28:09 +08:00
loyalsoldier 40f8e82204
refine 2021-05-04 19:19:43 +01:00
Shelikhoo 3ba9a5b4f5
Refine geodata related tests (#967)
(cherry picked from commit 7805ca2ac1)
2021-05-04 19:13:52 +01:00
Shelikhoo 9458963b5a
Revert "Refactor: memory-efficient geo file decoder (#934)"
This reverts commit 7e876709
2021-05-04 19:07:54 +01:00
Shelikhoo ace2c44c2b
Revert "Refine geodata related tests (#967)"
This reverts commit 7805ca2a
2021-05-04 19:07:35 +01:00
Loyalsoldier 7805ca2ac1
Refine geodata related tests (#967) 2021-05-04 16:30:23 +08:00
Loyalsoldier 625a15e03b
Chore: format code by new customized goimports (#950) 2021-05-01 11:15:39 +08:00
Loyalsoldier 7e876709fe
Refactor: memory-efficient geo file decoder (#934) 2021-05-01 07:59:29 +08:00
Shelikhoo d7c9a98d76
apply coding style 2021-04-13 16:06:48 +01:00
Shelikhoo 6dcdd2afad
Merge branch 'dev-advloadblancer-2' 2021-04-13 15:09:32 +01:00
Loyalsoldier 7790d33185
Fix: v2ray.location.asset env not working (#889) 2021-04-12 10:01:30 +08:00
Shelikhoo d16f00cc51
fix test with new init function signature 2021-04-12 01:17:49 +01:00
Shelikhoo caaf7f74f5
adjust test to match new init function 2021-04-09 16:02:45 +01:00