From 8f61e575f44d650b0c1ba3844478bcce2e74789c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E6=89=87=E6=BB=91=E7=BF=94=E7=BF=BC?= <45535409+Fangliding@users.noreply.github.com> Date: Fri, 26 Apr 2024 02:37:51 +0000 Subject: [PATCH] Remove "nosni" and update sendThrough --- docs/config/outbound.md | 3 +++ docs/config/transport.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/config/outbound.md b/docs/config/outbound.md index ff09ea1cf..3510b6d4b 100644 --- a/docs/config/outbound.md +++ b/docs/config/outbound.md @@ -32,6 +32,9 @@ 用于发送数据的 IP 地址,当主机有多个 IP 地址时有效,默认值为 `"0.0.0.0"`。 +允许在其中填入 IPv6 CIDR 块(如114:514:1919:810::/64),Xray将会使用地址块中随机的IP地址对外发起连接。 +需要正确配置网络接入方式,路由表以及内核参数以允许 Xray bind 至地址块内的任意IP。 + > `protocol`: string 连接协议名称,可选的协议类型见 [出站协议](./outbounds/)。 diff --git a/docs/config/transport.md b/docs/config/transport.md index b377e0b15..cdb076069 100644 --- a/docs/config/transport.md +++ b/docs/config/transport.md @@ -196,7 +196,7 @@ Reality 是目前最安全的传输加密方案, 且外部看来流量类型和 ::: tip 如上所述,因为该值同时用于校验服务端证书是否有效,如果出于特殊目的将其修改为与服务端证书域名不一致的需要需要开启 ```allowInsecure``` 否则会导致证书认证失败。出于安全考虑我们不推荐长期使用这种方法,如果想要安全地伪造SNI,请考虑使用REALITY。 -特别地,当客户端设置为 ```"serverName": "nosni"``` 时,xray不会发送SNI,同样的要使用此功能也必须同时开启 ```allowInsecure``` +特别地,当客户端设置其为IP地址时,xray不会发送SNI,同样的要使用此功能也必须同时开启 ```allowInsecure``` ::: > `rejectUnknownSni`: bool @@ -379,7 +379,7 @@ CipherSuites 用于配置受支持的密码套件列表, 每个套件名称之 服务端 serverNames 之一。 -当服务端 ```serverNames``` 中包含空值时,可以在客户端使用 ```"serverName": "nosni"``` 发起无SNI的连接。与TLS不同,REALITY使用这个功能并不需要开启也没有允许不安全选项。当使用此功能时请确保dest在接受无SNI的连接时会返回默认证书。 +当服务端 ```serverNames``` 中包含空值时,与 TLS 类似可以在客户端使用 ```"serverName": "1.1.1.1"``` 发起无SNI的连接。与TLS不同,REALITY使用这个功能并不需要开启也没有允许不安全选项。当使用此功能时请确保dest在接受无SNI的连接时会返回默认证书。 > `fingerprint` : string