Commit Graph
100 Commits
Author SHA1 Message Date
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
Shelikhoo 9f145b4265 added V5 config builder for V5 2021-09-04 17:49:37 +01:00
Shelikhoo 98ba3a13f0 added protobuf config builder for stream 2021-09-04 17:19:18 +01:00
Shelikhoo 3ebc365230 add error message for v5cfg 2021-09-04 16:49:07 +01:00
Shelikhoo 324f0abbf0 added heterogeneous configure file loader 2021-09-04 16:48:23 +01:00
Shelikhoo 927f21e3e5 add v5 configure file skeleton 2021-09-04 16:11:46 +01:00
Shelikhoo 1e562e7dd5 added implementation registry 2021-09-04 15:21:58 +01:00
Shelikhoo 18b90d13df isolate proxy settings: auto generated 2021-09-04 13:23:16 +01:00
Shelikhoo 4549dba2d7 update Build Interface 2021-09-04 13:20:04 +01:00
Shelikhoo 663e6028c3 isolate mux,proxy settings 2021-09-04 13:19:43 +01:00
Shelikhoo 436aaca6ab isolate socks settings 2021-09-04 12:52:13 +01:00
Shelikhoo df9624a965 isolate tls settings 2021-09-04 12:48:23 +01:00
Shelikhoo 38210fd74a isolate sniffer config 2021-09-04 12:47:23 +01:00
Shelikhoo 3e68a192f5 isolate sniffer config 2021-09-04 12:37:53 +01:00
Shelikhoo b8e81f01fa Reapply typo fix from becbc3a3e2 2021-09-04 11:54:34 +01:00
Shelikhoo db19747d96 reverting use pointer for small data structure 2021-09-04 11:53:05 +01:00
Shelikhoo becbc3a3e2 Revert "DNS: fix typo & refine code (#1183)"
This reverts commit 73470e8dd8.
2021-09-04 11:49:10 +01:00
Shelikhoo 9b0f8b7747 Revert "Fix: DNS return value (#1242)"
This reverts commit 46fa8f7480.
2021-09-04 11:47:13 +01:00
Shelikhoo 484dc4e488 reverting commit 50bcb683 2021-09-04 11:46:14 +01:00
Shelikhoo e0700ccc4b regenerate protobuf file 2021-09-04 11:26:13 +01:00
Shelikhoo 58b16b8a1e V2Ray API Instance 2021-09-04 11:13:52 +01:00
Shelikhoo c7c4effbd2 instance manager: create instance with API(fix) 2021-09-04 11:13:52 +01:00
Shelikhoo 3940b6f156 instance manager: create instance with API 2021-09-04 11:13:52 +01:00
Shelikhoo 1531cb0ca4 update protobuf version 2021-09-04 11:13:51 +01:00
Shelikhoo d1a4b0388a add app environment definitions 2021-09-04 11:13:31 +01:00
Shelikhoo 9d7e0d6f7a add domain prefix to v2 types 2021-09-04 11:13:31 +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 b3fb85804d fix CI test issue 2021-09-04 11:13:31 +01:00
Shelikhoo 6472e8ecd3 added V2 protobuf extensions 2021-09-04 11:13:31 +01:00
Shelikhoo d0521c3861 added protobuf descriptor into repo 2021-09-04 11:13:31 +01:00
Shelikhoo 3bcee172b0 refactor v2jsonpb to reduce unnecessary complexity 2021-09-04 11:13:30 +01:00
Shelikhoo 45aabb7635 v2ray jsonpb engineering support: auto generated 2021-09-04 11:13:30 +01:00
Shelikhoo 8566ecee1d v2ray jsonpb engineering support 2021-09-04 11:13:30 +01:00
Shelikhoo 95ddd2a313 jsonpb loading 2021-09-04 11:13:30 +01:00
Shelikhoo c119d8dc79 v2jsonpb full dump support 2021-09-04 11:13:30 +01:00
Shelikhoo c187b6fb3e v2jsonpb full dump 2021-09-04 11:13:30 +01:00
Shelikhoo b36b434689 jsonpb format 2021-09-04 11:13:30 +01:00
Shelikhoo 28c36019b2 support v4 json pb output 2021-09-04 11:13:29 +01:00
Shelikhoo 2df4fa39e3 added jsonpb format support: auto generated 2021-09-04 11:13:29 +01:00
Shelikhoo 32374eb545 added jsonpb format support 2021-09-04 11:13:29 +01:00
Shelikhoo ba2dd5995d replace TypedMessage with anypb.Any 2021-09-04 11:13:28 +01:00
Shelikhoo add375390e move v4 configure support to own directory 2021-09-04 11:13:13 +01:00
Shelikhoo c86ac3aca6 isolate dns settings synthesis: auto generated 2021-09-04 11:13:13 +01:00
Shelikhoo b37755d111 isolate dns settings synthesis 2021-09-04 11:13:13 +01:00
Shelikhoo 3510ddb464 isolate log settings synthesis 2021-09-04 11:13:13 +01:00
Shelikhoo 72d2184dba isolate router settings synthesis: auto generated file 2021-09-04 11:13:13 +01:00
Shelikhoo 39b3866774 isolate router settings synthesis 2021-09-04 11:13:11 +01:00
Shelikhoo 41b54ff61e move buildable to cfg common 2021-09-04 11:12:36 +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 22f6b100ba fix v4 json loader MultiObservatoryConfig 2021-09-04 11:12:35 +01:00
Shelikhoo ab803000e7 bug fix for observer 2021-09-04 11:12:35 +01:00
Shelikhoo 6fd8e36a3b adjust test with updated structure 2021-09-04 11:12:35 +01:00
Shelikhoo 9f984cade0 observer: auto generated 2021-09-04 11:12:35 +01:00
Shelikhoo e38839aaf9 remove duplicated targeted dispatch 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 1de2466c60 add support for tagged observer: fix 2021-09-04 11:12:35 +01:00
Shelikhoo 89a82ece8b add support for tagged observer 2021-09-04 11:12:34 +01:00
Shelikhoo 44a11b5352 add tagged observer support in api: auto generated 2021-09-04 11:12:34 +01:00
Shelikhoo 871373c450 add tagged observer support in api 2021-09-04 11:12:34 +01:00