Some small changes

https://github.com/XTLS/REALITY/pull/10
https://github.com/XTLS/REALITY/pull/11

---------

Co-authored-by: Jes Cok <xigua67damn@gmail.com>
Co-authored-by: caikun233 <69567735+caikun233@users.noreply.github.com>
This commit is contained in:
RPRX
2025-06-08 13:21:14 +00:00
committed by GitHub
co-authored by Jes Cok caikun233
parent 4fd34dd4eb
commit 50752aec6b
3 changed files with 11 additions and 7 deletions
+7 -3
View File
@@ -28,11 +28,11 @@ TODO List: TODO
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"network": "raw",
"security": "reality",
"realitySettings": {
"show": false, // Optional, if true, output debugging information
"dest": "example.com:443", // Required, the format is the same as the dest of VLESS fallbacks
"target": "example.com:443", // Required, the format is the same as the dest of VLESS fallbacks
"xver": 0, // Optional, the format is the same as xver of VLESS fallbacks
"serverNames": [ // Required, the acceptable serverName list, does not support * wildcards for now
"example.com",
@@ -96,7 +96,7 @@ The next main goal of REALITY is "**pre-built mode**", that is, to collect and b
]
},
"streamSettings": {
"network": "tcp",
"network": "raw",
"security": "reality",
"realitySettings": {
"show": false, // Optional, if true, output debugging information
@@ -123,3 +123,7 @@ The REALITY client can perfectly distinguish temporary trusted certificates, rea
1. When the temporary trusted certificate is received, the proxy connection is available and everything is business as usual
2. When the real certificate is received, enter the crawler mode (spiderX)
3. When an invalid certificate is received, TLS alert will be sent and the connection will be disconnected
## Stargazers over time
[![Stargazers over time](https://starchart.cc/XTLS/REALITY.svg)](https://starchart.cc/XTLS/REALITY)
+3 -3
View File
@@ -28,11 +28,11 @@ TODO List: TODO
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"network": "raw",
"security": "reality",
"realitySettings": {
"show": false, // 选填,若为 true,输出调试信息
"dest": "example.com:443", // 必填,格式同 VLESS fallbacks 的 dest
"target": "example.com:443", // 必填,格式同 VLESS fallbacks 的 dest
"xver": 0, // 选填,格式同 VLESS fallbacks 的 xver
"serverNames": [ // 必填,客户端可用的 serverName 列表,暂不支持 * 通配符
"example.com",
@@ -96,7 +96,7 @@ REALITY 的下一个主要目标是“**预先构建模式**”,即提前采
]
},
"streamSettings": {
"network": "tcp",
"network": "raw",
"security": "reality",
"realitySettings": {
"show": false, // 选填,若为 true,输出调试信息
+1 -1
View File
@@ -488,7 +488,7 @@ func NewListener(inner net.Listener, config *Config) net.Listener {
return
}
go func() {
defer recover()
defer func() { recover() }()
c, err = Server(context.Background(), c, l.config)
if err == nil {
l.conns <- c