Commit Graph
100 Commits
Author SHA1 Message Date
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
Shelikhoo 54fc21e537 add custom probe interval for observer 2021-06-30 19:33:37 +01:00
Shelikhoo 4773e3a1ed add custom probe URL support for observatory 2021-06-30 17:47:29 +01:00
Shelikhoo cf3688729e show explicit error to users with a incorrect fake DNS setting. 2021-06-28 16:59:50 +01:00
Shelikhoo 0cbb6d75f3 attempt fix of h2 dialer by discarding http client on failure
https://github.com/v2fly/v2ray-core/issues/1056#issuecomment-868321840
2021-06-25 10:56:42 +01:00
Shelikhoo 841469bd17 Release 4.41.0 2021-06-22 13:55:08 +01:00
Shelikhoo 9a03b425c9 apply coding style 2021-06-22 12:56:35 +01:00
Shelikhoo d0d09dfa7f apply coding style 2021-06-22 12:46:20 +01:00
Shelikhoo 90b560cd75 use value delegate to separate value and cancel
This is a issue with the usage of context for value storage and cancell signaling. This issue will be addressed in a permanent way in v5.
2021-06-22 12:42:20 +01:00
Shelikhoo 3c17276462 drain: add generated file 2021-06-22 12:26:21 +01:00
Shelikhoo 79174ab2a0 unified drain support for vmess and shadowsockets 2021-06-22 12:26:17 +01:00
Shelikhoo 73ee3b0b1c Added test for no terminate signal 2021-06-22 12:26:13 +01:00
Shelikhoo c5357e1f00 Added experiment to avoid sending the termination signal 2021-06-22 12:26:08 +01:00
Shelikhoo 0822160008 VMess AEAD based packet length 2021-06-22 12:26:01 +01:00
Shelikhoo 861d6be19a use detached context to fix #1059 #1059
It is important to use a detached context when creating shared transport connections that will outlive the initializing connection.

Otherwise, once the original initializing connection is cancelled, the transport connection will be cancelled as well.

This issue will be addressed in v5 by providing a transport session storage that also reduce the usage of globalDialerMap and other global variables.
2021-06-22 12:20:27 +01:00
Xiaokang Wang d7e1d004bf Update core.go 2021-06-22 10:12:46 +01:00
Shelikhoo 4d768b575d update version 2021-06-04 20:34:08 +01:00
Shelikhoo e98865a205 amend certificate removal message 2021-06-04 20:07:27 +01:00
Xiaokang Wang fbccd47d3b Update core.go 2021-05-25 14:49:09 +01:00
Xiaokang Wang 4e53f0b686 Update core.go 2021-05-09 20:40:52 +01:00
Shelikhoo fb6e449572 apply coding style 2021-05-09 15:16:42 +01:00
Shelikhoo 7b721e1a6f support chain proxy for h2 2021-05-09 15:14:28 +01:00
Shelikhoo 1038823ee9 support chain proxy for grpc 2021-05-09 15:13:18 +01:00
Shelikhoo 31a7fb503c update TCPKeepAliveInterval type to allow expression disable 2021-05-06 15:33:35 +01:00
Shelikhoo 7506395421 added 4.39.0 unstable release 2021-05-06 13:08:02 +01:00
Shelikhoo 77a573caf1 refactor test for loader benchmark 2021-05-05 13:50:56 +01:00
Shelikhoo 916d3857a0 Revert "show warning for asset directory transversal to prepare for network api based reload in v5"
This reverts commit a720d1e2
2021-05-05 13:29:36 +01:00
Shelikhoo a720d1e2d6 show warning for asset directory transversal to prepare for network api based reload in v5 2021-05-05 13:17:54 +01:00
Shelikhoo d6abddc7f5 rename the field to keep lint happy 2021-05-04 22:55:39 +01:00
Shelikhoo 44514ebc1a Merge branch 'dev-wsearlydatadiverse' 2021-05-04 22:50:06 +01:00
Shelikhoo e0f02dcca6 add required import 2021-05-04 22:46:16 +01:00
Shelikhoo 8aff3e09a4 update tcp keep alive interval config 2021-05-04 22:39:28 +01:00
Shelikhoo 8d4b4201f8 add json parse rule for tcp keep alive interval 2021-05-04 22:37:38 +01:00
Shelikhoo c564c84b17 set TCP keep alive only on TCP socket 2021-05-04 22:30:41 +01:00
Shelikhoo 1dfe55fac8 Merge branch 'master' of https://github.com/therealak12/v2ray-core into therealak12-master-pr962 2021-05-04 22:28:26 +01:00
Shelikhoo 00a4551637 add document for temporary API:DNSResolverFunc, DNSResolverFunc 2021-05-04 22:25:37 +01:00
Shelikhoo c66a1678da rework document for API 2021-05-04 21:06:23 +01:00
Shelikhoo 38f522fb72 Remove unnecessary API 2021-05-04 20:48:31 +01:00
Shelikhoo 0fbd8a1fd1 fix coding style 2021-05-04 20:47:19 +01:00
Shelikhoo 03b0c8efd9 use correct function for to context 2021-05-04 20:41:09 +01:00
Shelikhoo 758290314f fix context related test issue 2021-05-04 20:34:06 +01:00
Shelikhoo 452de7c964 apply h2 http header on server side 2021-05-04 20:32:27 +01:00
Shelikhoo 1d7e497599 Added json configure file parsing of h2 transport 2021-05-04 20:32:27 +01:00
Shelikhoo 2847bc3271 Add method, header support to http2 transport 2021-05-04 20:30:09 +01:00
Shelikhoo 957d7791c4 Regenerate proto: Add method support to http2 transport 2021-05-04 20:30:09 +01:00