Skip to content

Commit 366d05f

Browse files
authored
TLS: Add FromMitM
1 parent 5a62c47 commit 366d05f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/config/transport.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ Reality 是目前最安全的传输加密方案, 且外部看来流量类型和
130130

131131
当留空时,自动使用address中的值(如果是域名),该值同时用于校验服务端证书是否有效。
132132

133+
特殊值 `"FromMitM"`, 这会使其使用入来自 dokodemo-door 入站解密的 TLS 中包含的 SNI.
134+
133135
::: tip
134136
如上所述,因为该值同时用于校验服务端证书是否有效,如果出于特殊目的将其修改为与服务端证书域名不一致的需要需要开启 `allowInsecure` 否则会导致证书认证失败。出于安全考虑我们不推荐长期使用这种方法,如果想要安全地伪造SNI,请考虑使用REALITY。
135137

0 commit comments

Comments
 (0)