Commit Graph
100 Commits
Author SHA1 Message Date
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 WangandGitHub 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 WangandGitHub 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 WangandGitHub fbccd47d3b Update core.go 2021-05-25 14:49:09 +01:00
Xiaokang WangandGitHub 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
Shelikhoo 6e5b8dcd8f Add method support to http2 transport 2021-05-04 20:30:08 +01:00
Shelikhoo 4701a225f4 Regenerate proto: Add header support to http2 transport 2021-05-04 20:30:08 +01:00
Shelikhoo 4b1d6ec4d1 Add header support to http2 transport 2021-05-04 20:29:54 +01:00
Shelikhoo 4249bcb28d run test on development branches as well 2021-05-04 20:27:14 +01:00
Shelikhoo 620d8f1fb5 remove context public interface 2021-05-04 20:22:13 +01:00
Shelikhoo 3ba9a5b4f5 Refine geodata related tests (#967)
(cherry picked from commit 7805ca2ac1)
2021-05-04 19:13:52 +01:00
Shelikhoo bf0e7e35c8 move geo loader conf to environment variable 2021-05-04 19:08:18 +01:00
Shelikhoo 19d1ff9003 apply coding style 2021-05-04 19:08:15 +01:00
Shelikhoo 6a96a9f89e add memconservative geofile loader 2021-05-04 19:08:12 +01:00
Shelikhoo 4610c5e23f memconservative geofile loader 2021-05-04 19:08:06 +01:00
Shelikhoo 0f1fac84ca refactor configure file loader for geo loader and v5 2021-05-04 19:07:58 +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 355a9c853b Revert "Refinement: geodata decoder removes unnecessary GC & exports methods for 3rd party (#965)"
This reverts commit de71e638
2021-05-04 19:07:49 +01:00
Shelikhoo ace2c44c2b Revert "Refine geodata related tests (#967)"
This reverts commit 7805ca2a
2021-05-04 19:07:35 +01:00
Shelikhoo 70245fd30e Revert "Fix: GetAssetLocation for external geo files (#968)"
This reverts commit 51c8ab83
2021-05-04 19:07:31 +01:00
Shelikhoo fd203a2b54 debug issue with browser forwarder http header name checking 2021-05-01 16:07:03 +01:00
Shelikhoo b3957e029c update browser forwarder script 2021-05-01 15:59:10 +01:00
Shelikhoo af4eb8852a update browser forwarder support 2021-05-01 15:50:20 +01:00
Shelikhoo 40a7847d7f update json configure for websocket header 2021-05-01 15:49:42 +01:00
Shelikhoo d378b8c42e add support for header based early data on server side 2021-05-01 01:32:35 +01:00
Shelikhoo 75231604c7 add support for header based early data on server side 2021-05-01 01:31:41 +01:00
Shelikhoo 54d0c3d400 added client support for header based websocket early data 2021-05-01 01:14:16 +01:00
Shelikhoo b446001de8 update generated protobuf for websocket 2021-05-01 00:49:25 +01:00
Shelikhoo dd5048c702 define early data header name in websocket protobuf 2021-05-01 00:48:04 +01:00
Shelikhoo 408b5adc1c apply coding style 2021-05-01 00:41:53 +01:00
Shelikhoo 6af537ad32 apply coding style 2021-05-01 00:40:32 +01:00
Shelikhoo 7a6f887fe3 relocated browser forwarder interface 2021-05-01 00:06:10 +01:00
Shelikhoo ffc8887d79 update version 2021-04-30 21:00:55 +01:00
Shelikhoo 95432b2131 fix:browser forwarder not supported by multi-json 2021-04-30 20:53:08 +01:00
Shelikhoo 347b0c3e85 fix:observatory not supported by multi-json 2021-04-30 15:25:24 +01:00
Xiaokang WangandGitHub 86a3ee249a Update core.go 2021-04-29 17:29:12 +01:00
Shelikhoo dbfc2138e4 fix: make sure the ctx is propagated to connections by detached connection for udp dns 2021-04-28 16:44:01 +01:00
Shelikhoo d48cf1a648 fix: make sure the ctx is propagated to connections by detached connection 2021-04-28 16:29:19 +01:00
Shelikhoo 2e26cf6587 fix: make sure the ctx is propagated to connections 2021-04-28 15:43:43 +01:00
Xiaokang WangandGitHub 582e9038c5 Update core.go 2021-04-26 13:49:24 +01:00
Shelikhoo 8ba4ac15ac fixed a panic issue caused by not checking type of input address in fake dns 2021-04-18 23:45:51 +01:00
Shelikhoo 7dce725f87 update version 2021-04-17 11:03:44 +01:00
Shelikhoo 3138b3e815 removed tool to prepare for v5 2021-04-17 10:50:53 +01:00
Shelikhoo 0c6a2e06b9 added json loading of the PinnedPeerCertificateChainSha256 2021-04-16 23:52:49 +01:00
Shelikhoo 50bdcc24a7 pinned cert test 2021-04-15 20:03:33 +01:00
Shelikhoo ebb720804d refactored cert pin 2021-04-15 20:02:48 +01:00
Shelikhoo 6263315923 added test case for pinned certificates 2021-04-15 19:49:26 +01:00
Shelikhoo 29718735be apply coding style 2021-04-15 19:02:57 +01:00
Shelikhoo 92b845a45b added calculation of certificate hash as separate command and tlsping, use base64 to represent fingerprint to align with jsonPb 2021-04-15 19:01:55 +01:00
Shelikhoo 34a3850f16 publish cert chain hash generation algorithm 2021-04-15 18:17:52 +01:00