Repository navigation
uTLS: Pick "random" only from fingerprints that have X25519MLKEM768 - #7432
Merged
Merged
Conversation
REALITY servers reject Client Hello that doesn't have X25519MLKEM768 before optional X25519 since v26.9.9 (XTLS/REALITY@8cdf7bf), so 7 of 12 `random` candidates (hellofirefox_120, hellochrome_120, helloios_13, helloios_14, helloedge_106, hello360_11_0, helloqq_11_1) made REALITY clients fail to connect until restart. Move them to OtherFingerprints, so their names still work. Co-Authored-By: Claude Opus 5.5 <[email protected]>
random only from fingerprints that have X25519MLKEM768
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since v26.9.9, REALITY servers reject Client Hello that doesn't have X25519MLKEM768 before optional X25519 (XTLS/REALITY@8cdf7bf9c7f0), which is intended according to #7259.
However, 7 of 12
randomcandidates don't have X25519MLKEM768:hellofirefox_120,hellochrome_120,helloios_13,helloios_14,helloedge_106,hello360_11_0,helloqq_11_1.randomis chosen once at startup, so a REALITY client with"fingerprint": "random"can't connect at all until restart, with a chance of about 58% (randomis also FAIL in the table of #7259).This PR keeps only the candidates that have X25519MLKEM768:
hellofirefox_148,hellochrome_131,hellochrome_133,hellochrome_155,hellosafari_26_3. The others are moved toOtherFingerprints, so their names still work. Nothing changes for explicitly named fingerprints.Testing (local VLESS + Vision + REALITY server and client,
"fingerprint": "random", 12 starts each):go test ./transport/internet/tls/andTestVlessRealityFingerprintspass.🤖 Generated with Claude Code