Repository navigation
Add an opt-in chrome158 client fingerprint - #3536
Draft
wywywywycloud wants to merge 1 commit into
Draft
wywywywycloud wants to merge 1 commit into
wywywywycloud wants to merge 1 commit into
Conversation
Track MetaCubeX/utls#14 at an immutable fork revision for draft review. Switch to the upstream dependency before merging.
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.
Expose the Chrome 158 Windows ClientHello as an explicit
client-fingerprint: chrome158. The existingchrome,chrome120, and random profile selection retain their current behavior. The mapping uses the verified Windows x64 Chrome for Testing Stable 158.0.8127.88 profile in MetaCubeX/utls#14. Usesupport-x25519mlkem768: trueinreality-optsto include the browser's hybrid key share.Merge dependency. Keep this PR in draft until an official MetaCubeX/utls version includes the profile. The version-scoped temporary Go module replacement pins the exact public PR commit and its checksums so reviewers can build this branch today. Remove the replacement and bump the official dependency before merging. The fork does not implement ML-DSA CertificateVerify; a server selecting it will reject the handshake or the client will fail verification.
Verified on Windows amd64 with Go 1.26.11, including a build using only published modules and
-mod=readonly. The same mapping was exercised on the v1.19.34 release source and on Alpha (53f61d4). On a loopback Xray 26.11.9 server, VLESS TCP/Vision and XHTTP both authenticated with REALITY. HTTPS downloads over TLS 1.2 and 1.3 matched byte for byte; a 256 KiB upload matched the digest calculated by the origin. The existing chrome profile passed the positive controls. A wrong short ID failed to reach the origin on both transports. Capturing the outgoing ClientHello from the Alpha build confirmed the Stable profile on both transports and the removal of X25519MLKEM768 when explicitly disabled.Local checks on the published revision b46b7c9: the full default test suite passed on Windows. All packages in the with_gvisor suite passed, including five retried separately after Windows ran short of ephemeral loopback ports. Both suites used the repository CI setting SKIP_INTEROP_TEST=1. The fingerprint lookup test also passed on Go 1.20.14. All Go module checksums verified. The clean binary's embedded commit matched the PR head; both transports matched the reference capture with the hybrid key enabled and omitted the hybrid group and share when disabled.