From ffd54eef6c71a4e847d53fb38d3622d689ea026d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Mon, 21 Nov 2022 21:12:11 +0800 Subject: [PATCH] Update documentation --- constant/version.go | 2 +- docs/changelog.md | 8 ++++++++ docs/configuration/inbound/shadowtls.md | 10 ++++++++++ docs/configuration/inbound/shadowtls.zh.md | 9 +++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) diff --git a/constant/version.go b/constant/version.go index 20bee753..d6bfcd9c 100644 --- a/constant/version.go +++ b/constant/version.go @@ -1,3 +1,3 @@ package constant -var Version = "1.1-beta16" +var Version = "1.1-beta17" diff --git a/docs/changelog.md b/docs/changelog.md index 1583a41e..3e4a9893 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,11 @@ +#### 1.1-beta17 + +* Fix shadowtls server **1** + +*1*: + +Added [fallback_after](/configuration/inbound/shadowtls#fallback_after) options. + #### 1.0.7 * Add support for new x/h2 deadline diff --git a/docs/configuration/inbound/shadowtls.md b/docs/configuration/inbound/shadowtls.md index 372272d9..1c2e8fb6 100644 --- a/docs/configuration/inbound/shadowtls.md +++ b/docs/configuration/inbound/shadowtls.md @@ -9,6 +9,7 @@ "version": 2, "password": "fuck me till the daylight", + "fallback_after": 2, "handshake": { "server": "google.com", "server_port": 443, @@ -39,6 +40,15 @@ Set password. Only available in the ShadowTLS v2 protocol. + +#### fallback_after + +Packet count before perform fallback. + +Default is 2. + +Lowering this may prevent TLS 1.3 connections, but reduces the risk of being actively probed. + #### handshake ==Required== diff --git a/docs/configuration/inbound/shadowtls.zh.md b/docs/configuration/inbound/shadowtls.zh.md index 0d549916..a2cd67ef 100644 --- a/docs/configuration/inbound/shadowtls.zh.md +++ b/docs/configuration/inbound/shadowtls.zh.md @@ -9,6 +9,7 @@ "version": 2, "password": "fuck me till the daylight", + "fallback_after": 2, "handshake": { "server": "google.com", "server_port": 443, @@ -39,6 +40,14 @@ ShadowTLS 协议版本。 仅在 ShadowTLS v2 协议中可用。 +#### fallback_after + +在执行回退之前的包计数。 + +默认值为 2。 + +降低此值可能会阻止 TLS 1.3 连接,但会降低被主动探测的风险。 + #### handshake ==必填==