Commit Graph
100 Commits
Author SHA1 Message Date
Shelikhoo d4d6e16295 rename gun, ws to full name 2021-09-07 15:57:50 +01:00
Shelikhoo c89d629943 support more than one type for a config 2021-09-07 14:48:44 +01:00
Shelikhoo 9b93bb614a improve reflection logic in registry 2021-09-07 14:45:56 +01:00
Shelikhoo 434d9e8700 add grpc service register 2021-09-07 14:43:45 +01:00
Shelikhoo 8ed83b6d0a register commander 2021-09-07 14:33:00 +01:00
Shelikhoo eeaa1e96e4 add register for reverse, instman, fakedns 2021-09-07 14:19:56 +01:00
Shelikhoo 98ee44befd update test for router refactor 2021-09-07 13:43:28 +01:00
Shelikhoo 3c56a7f947 register observatory: auto generated 2021-09-07 13:19:43 +01:00
Shelikhoo 62eaa9a8cc register observatory 2021-09-07 13:19:31 +01:00
Shelikhoo 68c8759f4b add custom jsonpb unmarshaler for multi-observatory 2021-09-07 13:16:47 +01:00
Shelikhoo df03970c22 register multi observatory 2021-09-07 13:03:03 +01:00
Shelikhoo b368ac3b7c added general purpose tagged features config loader 2021-09-07 13:02:09 +01:00
Shelikhoo c05e37de45 add default value for content 2021-09-07 12:29:40 +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 cbdb3113a3 fix dns register as log 2021-09-07 08:05:18 +01:00
Shelikhoo 350ac46b41 update dns to adapt to protobuf change 2021-09-07 08:03:29 +01:00
Shelikhoo eb423bee54 update router to adapt to protobuf change 2021-09-07 08:02:38 +01:00
Shelikhoo 935cf69fb1 update router to adapt to protobuf change 2021-09-07 08:01:40 +01:00
Shelikhoo aa17eacc8d register dns 2021-09-07 08:00:17 +01:00
Shelikhoo 9bb67daa69 update dns to reflect change in proto 2021-09-07 07:59:57 +01:00
Shelikhoo b819ac60b9 added simplified config for dns and router 2021-09-06 22:34:28 +01:00
Shelikhoo bcc59b153b added convert time resource loading instruction 2021-09-06 22:06:16 +01:00
Shelikhoo 4835b8261d switch to protojson based config for log dns router 2021-09-06 18:18:22 +01:00
Shelikhoo 845d031357 register log: auto generated 2021-09-06 16:54:20 +01:00
Shelikhoo 28e01f38bb register log 2021-09-06 16:54:01 +01:00
Shelikhoo 6246b97494 rename reverse match to inverse match 2021-09-06 15:37:47 +01:00
Shelikhoo 31f3edd481 add service registration for policy: auto generated 2021-09-06 14:49:14 +01:00
Shelikhoo 72059d42a6 add service registration for policy 2021-09-06 14:49:01 +01:00
Shelikhoo 9f8f420ed3 return on prefix mismatch 2021-09-06 14:16:21 +01:00
Shelikhoo 1cb3ee5f6d update generated protobuf file 2021-09-06 14:04:53 +01:00
Shelikhoo 07c96195cf added instance state to restful controller 2021-09-06 14:04:30 +01:00
Shelikhoo 8c857858dc added implementation registration for stats: auto generated 2021-09-06 14:02:13 +01:00
Shelikhoo 78ef0c89b5 added implementation registration for stats 2021-09-06 14:02:00 +01:00
Shelikhoo 3bab114fe0 add restful api into distro 2021-09-06 13:48:33 +01:00
Shelikhoo 6fe8010caa improve error message for implementation set 2021-09-06 13:45:01 +01:00
Shelikhoo 13f05c1b9d added service registration 2021-09-06 13:42:05 +01:00
Shelikhoo 779a7c84ed added service initialization 2021-09-06 13:40:44 +01:00
Shelikhoo ea1099d924 integrate restful api with v2 service: auto generated 2021-09-06 13:11:50 +01:00
Shelikhoo 75a571a4ce integrate restful api with v2 service 2021-09-06 13:11:30 +01:00
Shelikhoo e7232a5064 fix security settings 2021-09-05 16:37:28 +01:00
Shelikhoo 179d6568fc fix auto file content loader 2021-09-05 16:37:27 +01:00
Shelikhoo a8c58c9ad4 skip file content reading if unnecessary 2021-09-05 16:37:27 +01:00
Shelikhoo ef738cce7a add declarative config for converter 2021-09-05 16:37:27 +01:00
Shelikhoo 4c4d6c6944 use environment based operation in protofilter 2021-09-05 16:37:27 +01:00
Shelikhoo 8982a38eb4 provide environment context on loading 2021-09-05 16:37:27 +01:00
Shelikhoo 141cd30ee3 refactor environment context 2021-09-05 16:37:27 +01:00
Shelikhoo 6a4364f37a move scoped storage to independent package 2021-09-05 16:37:27 +01:00
Shelikhoo 908dd96f1f add context arg to LoadImplementationByAlias 2021-09-05 16:37:27 +01:00
Shelikhoo e645e68c83 move protofilter to common 2021-09-05 16:37:26 +01:00
Shelikhoo 08b841aee1 added filesystem default implementation 2021-09-05 16:37:26 +01:00
Shelikhoo 70c66853f9 isolate filesystem interface package 2021-09-05 16:37:26 +01:00
Shelikhoo 78cefbaa91 add proto reflection based configure file parsing rule: auto generated 2021-09-05 16:37:26 +01:00
Shelikhoo 690d92718b add proto reflection based configure file parsing rule 2021-09-05 16:37:26 +01:00
Shelikhoo 22b9fc380b fix typo in interface type for service 2021-09-05 12:03:36 +01:00
Shelikhoo 7b4b661d6f register browser forwarder: auto generated 2021-09-05 11:36:00 +01:00
Shelikhoo 0aa7e26b5a register browser forwarder 2021-09-05 11:35:04 +01:00
Shelikhoo b90ae53c7d updated converter support for v5json 2021-09-05 11:27:56 +01:00
Shelikhoo 2c0dec18b5 added special handling for none security: remove duplicate 2021-09-05 11:09:20 +01:00
Shelikhoo 8609a59322 added special handling for none security 2021-09-05 11:08:29 +01:00
Shelikhoo 4ba76099e4 Revert "none security config"
This reverts commit 9b883af99c.
2021-09-05 10:59:02 +01:00
Shelikhoo 4c0652c51b Revert "none security config: auto generated"
This reverts commit 45bcff3804.
2021-09-05 10:58:58 +01:00
Shelikhoo 45bcff3804 none security config: auto generated 2021-09-05 10:40:15 +01:00
Shelikhoo 9b883af99c none security config 2021-09-05 10:40:06 +01:00
Shelikhoo 1f70ab99e8 fix error typo for browser forwarder(Sec-Websocket-Protocol) 2021-09-05 10:31:40 +01:00
Shelikhoo 7aeb7d9ce6 add tls config register: auto generated 2021-09-05 10:26:44 +01:00
Shelikhoo 690995d8ce add tls config register 2021-09-05 10:26:17 +01:00
Shelikhoo 56e5c0e017 add websocket config register 2021-09-05 10:19:04 +01:00
Shelikhoo 40db658135 add auto register for transport 2021-09-05 10:18:47 +01:00
Shelikhoo 3c94ff6a35 add default settings for transport and security 2021-09-05 10:02:05 +01:00
Shelikhoo 98bf3dc79a add auto register hook 2021-09-05 00:47:15 +01:00
Shelikhoo a4c66656b1 add delayed and reflective auto registration
Delay is required for all init to finish, otherwise protoreflect() can return nil.
2021-09-05 00:46:25 +01:00
Shelikhoo 0250c6a4d7 fix address not applied 2021-09-05 00:45:01 +01:00
Shelikhoo 22f79b3303 add simplified socks 2021-09-05 00:44:29 +01:00
Shelikhoo 1e306a55e8 add default settings 2021-09-05 00:42:40 +01:00
Shelikhoo 8c57d03418 update register logic 2021-09-05 00:42:21 +01:00
Shelikhoo 9d771f2f9f avoid name conflict with .v5.json 2021-09-04 22:56:23 +01:00
Shelikhoo 653bbba843 use two-step register to register explicitly 2021-09-04 22:55:12 +01:00
Shelikhoo 45dae48d21 added build context to dns 2021-09-04 21:54:21 +01:00
Shelikhoo ae46fb7b28 added build context to V5 conf 2021-09-04 21:46:10 +01:00
Shelikhoo 62f71c80ca added buildV5 interface to dns and router 2021-09-04 21:44:10 +01:00
Shelikhoo 40d75fab73 add simplified freedom outbound 2021-09-04 21:30:38 +01:00
Shelikhoo 38f9f1d07a amend vmess socks simplified config to allow injection of implementation 2021-09-04 21:26:21 +01:00
Shelikhoo 8da2f5393d add socks simplified config: auto generated file 2021-09-04 21:16:52 +01:00
Shelikhoo 5052181b8c added vmess simplified config 2021-09-04 21:16:13 +01:00
Shelikhoo 6b15c7f04f added socks simplified config 2021-09-04 21:16:01 +01:00
Shelikhoo 1876fbd6cd added custom ip or domain unmarshal logic 2021-09-04 20:30:39 +01:00
Shelikhoo 4d3c57dd39 register implementation automatically 2021-09-04 20:05:17 +01:00
Shelikhoo 947166173a enable v5 json configure file format 2021-09-04 19:58:03 +01:00
Shelikhoo 7bf1d7a1ce add jsonv5 conf loader 2021-09-04 19:54:07 +01:00
Shelikhoo 51f05b1bff fix test break for refactor data into seperate package 2021-09-04 19:43:10 +01:00
Shelikhoo 7d02c26219 fix pb config loader type 2021-09-04 19:34:31 +01:00
Shelikhoo 6a2cca1220 load from network will be replaced with subscription 2021-09-04 19:33:33 +01:00
Shelikhoo cef6a46548 add support for custom loader in json parser 2021-09-04 19:22:41 +01:00
Shelikhoo 7e9f4acd9b added custom loader for components 2021-09-04 19:06:49 +01:00
Shelikhoo 1ec9a41ee8 added root config builder 2021-09-04 18:45:02 +01:00
Shelikhoo 2560e79ef0 added V5 config builder for outbound 2021-09-04 17:57:12 +01:00