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
Shelikhoo
2dc539cc70
add V4 json support for observer tag config
2021-09-04 11:12:34 +01:00
Shelikhoo
e6f5db1c93
remove cancelled API
2021-09-04 11:12:34 +01:00
Shelikhoo
4c42396ca0
log: auto generated
2021-09-04 11:12:34 +01:00
Shelikhoo
31c4df51e1
added Runnable to Tagged Features Interface
2021-09-04 11:12:34 +01:00
Shelikhoo
4b89f9085f
multi-observer aware load balancer strategy
2021-09-04 11:12:33 +01:00
Shelikhoo
3401963b57
multi-observer
2021-09-04 11:12:33 +01:00
Shelikhoo
ba0d5a3275
tagged features creator & config
2021-09-04 11:12:33 +01:00
Shelikhoo
32fcdeb15a
tagged features: auto generated file
2021-09-04 11:12:33 +01:00
Shelikhoo
72964b5325
tagged features
2021-09-04 11:12:33 +01:00
Shelikhoo
775b9f54df
update API command
2021-09-04 11:12:33 +01:00
Shelikhoo
81462f7b65
added unstable declaration for follow log
2021-09-04 11:12:33 +01:00
Shelikhoo
2cdad52334
add v4 json support for BurstObservatory & fix balancer reference
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
24a5e34ce0
add initialization for health ping
2021-09-04 11:12:32 +01:00
Shelikhoo
b797eb427a
moving health ping to observatory as a standalone component: auto generated file
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
Shelikhoo
cd86ba9f4a
update distro file
...
(rebased from 9b30bcf6df )
2021-09-04 11:12:04 +01:00
Shelikhoo
ca7a16104d
isolate jsonv4 format that invalided selective compile
2021-09-04 11:12:04 +01:00
Shelikhoo
c4a6686e77
update version
2021-09-03 22:22:21 +01:00
Shelikhoo
d23f457be5
Revert "refactor go.mod file"
...
This reverts commit 84918fbaac .
2021-09-03 21:49:50 +01:00
Shelikhoo
ebdacfdb86
add comment for gRPC TLS silent failure behavior
...
When gRPC transport have been configured to use TLS, it may silently ignore TLS failure. This may make it harder to diagnose TLS setting issues when gRPC transport is used. This comment is added to help other developers be aware of this caveat.
2021-09-03 21:34:34 +01:00
Shelikhoo
84918fbaac
refactor go.mod file
...
This is required to make sure the go.mod's style is consistent with Go best practice.
2021-09-03 21:25:17 +01:00
Shelikhoo
8ac4750f9e
fix lint warning
...
apply coding style. Be sure to update the style checking tool after a long time of inactivity.
2021-09-02 17:34:39 +01:00
Shelikhoo
a53fd35205
separate client ca and server ca
...
This is designed to prevent a server from being attacked with a client with a certificate issued by a trusted system CA.
Some commercial CA actually can issue certificate to individual to proof their identity. The server should not accept these certs as a valid client certificates.
2021-09-01 22:34:13 +01:00
Xiaokang Wang
e0a73e563e
Update core.go
2021-07-30 14:45:21 +01:00
Shelikhoo
e2d526cd8b
fix concurrent access crash for handler creator
2021-07-19 16:13:11 +01:00
Shelikhoo
91a2286064
apply coding style
2021-07-01 19:02:27 +01:00
Shelikhoo
1409be04c2
regenerate protobuf files
2021-07-01 18:58:48 +01:00
Shelikhoo
e00d80eac4
cancel failed grpc connection
2021-07-01 18:58:13 +01:00