fork: REALITY client must carry shortId; default camo moved off www.microsoft.com
Verified 22.11.2026 (xray 26.7.28 + 26.11.9, matrix of 4 version pairs):
- REALITY authenticates fine both directions ONLY when the client
realitySettings includes "shortId"; without it the server silently
falls back to passthrough ("received real certificate").
- dest www.microsoft.com is broken for REALITY MITM (Microsoft now
serves post-quantum cert chains); www.cloudflare.com / www.apple.com /
www.google.com / download.windowsupdate.com / www.jetbrains.com all work.
- hub transport: expose shortId in summary/payload/uci line; agent reads
uci reality_short_id and emits "shortId" in realitySettings.
NOTE: new tag-form VLESS reverse (Rvs, PR #5101) does NOT register its
control connection when the bridge transport is REALITY on xray >= 26.7
(portal logs show handshake auth OK but no v1.rvs.cool request;
security=none works). See XTLS/Xray-core #6242 #6248. Reverse-over-REALITY
e2e therefore blocked pending core-version bisect (26.4.25) or upstream fix.
This commit is contained in:
1 parent
9b7a89257b
commit
d482ed97c4
4 files changed
+88
-2
No files matched your search
@@ -702,6 +702,7 @@ render_client_config() (
|
||||
flow="$(uci_get vless_flow '')"
|
||||
security="$(uci_get security none)"
|
||||
reality_pk="$(uci_get reality_public_key '')"
|
||||
reality_sid="$(uci_get reality_short_id '')"
|
||||
reality_sni="$(uci_get reality_server_name '')"
|
||||
reality_fp="$(uci_get reality_fingerprint chrome)"
|
||||
reverse_tag="$(uci_get reverse_tag reverse-in)"
|
||||
@@ -737,8 +738,9 @@ render_client_config() (
|
||||
die "reality_server_name: содержит пробел или управляющий символ"
|
||||
fi
|
||||
case "$reality_fp" in ''|*[!a-zA-Z0-9_-]*) die "reality_fingerprint: ожидается отпечаток без пробелов (chrome, firefox, safari, ios, android)" ;; esac
|
||||
case "$reality_sid" in *[!0-9a-fA-F]*) die "reality_short_id: ожидается hex (0-9a-f)" ;; esac
|
||||
transport_stream='"security": "reality",
|
||||
"realitySettings": {"show": false, "fingerprint": "'"$(json_escape "$reality_fp")"'", "serverName": "'"$(json_escape "$reality_sni")"'", "publicKey": "'"$(json_escape "$reality_pk")"'"}'
|
||||
"realitySettings": {"show": false, "fingerprint": "'"$(json_escape "$reality_fp")"'", "serverName": "'"$(json_escape "$reality_sni")"'", "publicKey": "'"$(json_escape "$reality_pk")"'", "shortId": "'"$(json_escape "$reality_sid")"'"}'
|
||||
else
|
||||
transport_stream='"security": "none"'
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user