REALITY protocol: Reject outdated/strange Client Hello that doesn't have X25519MLKEM768 before optional X25519

https://github.com/XTLS/REALITY/commit/8cdf7bf9c7f09cb9814bf08c3eb877f68b85fba8

---

Revert "REALITY server: Set default "minClientVer": "26.3.27" (change it at your own risk)"

This reverts commit 7aca99b88a.

https://github.com/XTLS/Xray-core/commit/47cfe9994a6b39b1f673ba35e62b091bcce15a71
This commit is contained in:
Meow
2026-09-08 19:14:06 +08:00
parent 3b278ad42c
commit 9125d3237c
3 changed files with 3 additions and 9 deletions
+1 -3
View File
@@ -34,7 +34,7 @@ REALITY 只是修改了 TLS,客户端的实现只需要轻度修改完全随
"xver": 0,
"serverNames": ["example.com", "www.example.com"],
"privateKey": "",
"minClientVer": "26.3.27",
"minClientVer": "",
"maxClientVer": "",
"maxTimeDiff": 0,
"shortIds": ["", "0123456789abcdef"],
@@ -111,8 +111,6 @@ REALITY 只是修改了 TLS,客户端的实现只需要轻度修改完全随
选填,客户端 Xray 最低版本,格式为 `x.y.z`。
默认值为 `26.3.27`。降低此值可允许旧版客户端连接,但旧版客户端的 TLS 指纹与真实浏览器存在明显差异,可能被 DPI 识别为非浏览器流量。降低此值的风险由使用者自行承担。
> `maxClientVer` : string
选填,客户端 Xray 最高版本,格式为 `x.y.z`。
+1 -3
View File
@@ -34,7 +34,7 @@ For more information, see the [REALITY project](https://github.com/XTLS/REALITY)
"xver": 0,
"serverNames": ["example.com", "www.example.com"],
"privateKey": "",
"minClientVer": "26.3.27",
"minClientVer": "",
"maxClientVer": "",
"maxTimeDiff": 0,
"shortIds": ["", "0123456789abcdef"],
@@ -111,8 +111,6 @@ Required. Generate it with `./xray x25519`.
Optional. Minimum Xray client version, in `x.y.z` format.
The default value is `26.3.27`. Lowering this value allows older clients to connect, but their TLS fingerprints differ noticeably from those of real browsers and may be classified as non-browser traffic by DPI. Lower this value at your own risk.
> `maxClientVer`: string
Optional. Maximum Xray client version, in `x.y.z` format.
+1 -3
View File
@@ -34,7 +34,7 @@ REALITY модифицирует только TLS. На стороне клие
"xver": 0,
"serverNames": ["example.com", "www.example.com"],
"privateKey": "",
"minClientVer": "26.3.27",
"minClientVer": "",
"maxClientVer": "",
"maxTimeDiff": 0,
"shortIds": ["", "0123456789abcdef"],
@@ -111,8 +111,6 @@ REALITY модифицирует только TLS. На стороне клие
Необязательный параметр. Минимальная версия клиента Xray в формате `x.y.z`.
Значение по умолчанию — `26.3.27`. Снижение этого значения позволяет подключаться устаревшим клиентам, однако их TLS-отпечатки заметно отличаются от отпечатков настоящих браузеров, поэтому системы DPI могут классифицировать их трафик как небраузерный. Снижая это значение, вы принимаете риск на себя.
> `maxClientVer`: string
Необязательный параметр. Максимальная версия клиента Xray в формате `x.y.z`.