diff --git a/README.en.md b/README.en.md index c8e45b7..c1a11b8 100644 --- a/README.en.md +++ b/README.en.md @@ -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) diff --git a/README.md b/README.md index 1411c87..7feec2c 100644 --- a/README.md +++ b/README.md @@ -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,输出调试信息 diff --git a/tls.go b/tls.go index a54f564..22d4960 100644 --- a/tls.go +++ b/tls.go @@ -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