Skip to content

Add an opt-in Chrome 158 ClientHello verified against a stable Windows build - #14

Open
wywywywycloud wants to merge 1 commit into
MetaCubeX:v1.9.0-mod-metafrom
wywywywycloud:chrome-158-profile
Open

wywywywycloud wants to merge 1 commit into
MetaCubeX:v1.9.0-mod-metafrom
wywywywycloud:chrome-158-profile

Conversation

@wywywywycloud

@wywywywycloud wywywywycloud commented Nov 27, 2026 •

Copy link
Copy Markdown

Add an opt-in HelloChrome_158 from fresh Windows x64 TCP handshakes captured from Chrome for Testing Stable 158.0.8127.88. This adapts the upstream Chrome 155 implementation to this fork and adds the observed zero-byte server padding request (0x12e0). A separate capture from installed Chrome 158.0.8127.37 omitted that experimental extension; captures are build-specific.

The fixture test compares the wire ClientHello, preserves ordered capabilities, and explicitly normalizes ephemeral data, GREASE and extension permutation. Tests also cover fingerprint parsing and regeneration, GREASE independence and API compatibility, editable preset ownership, malformed extension input and the legacy Chrome 133 profile. The three ML-DSA signature scheme IDs and Chrome trust anchor snapshot are advertised. This fork cannot verify an ML-DSA CertificateVerify, so the new preset is opt-in and HelloChrome_Auto remains 133.

Verified on Windows amd64:

  • Three independent fresh Stable browser captures had the same normalized profile.
  • The full uTLS test suite passed on Go 1.20.14 and 1.26.11.
  • Tested the new explicit Mihomo mapping on v1.19.34 and Alpha (53f61d4) with local Xray 26.11.9. On VLESS TCP/Vision and XHTTP with REALITY and hybrid key shares enabled, TLS 1.2/1.3 downloads matched byte for byte and a 256 KiB upload matched its SHA-256. A wrong short ID could not reach the destination on either transport. The existing chrome profile passed the same positive controls.

Downstream integration: MetaCubeX/mihomo#3536 exposes the explicit chrome158 name. Both Mihomo builds also matched the normalized browser ClientHello on the wire for TCP/Vision and XHTTP. Turning off hybrid key support removed the corresponding group and key share as expected.

Adapt the Chrome 155 profile and regression tests from refraction-networking/utls@6ebdceb to the Go 1.20 fork. Preserve the Chrome default because this fork cannot verify an ML-DSA CertificateVerify. Match the 158.0.8127.88 capture including its zero-byte server padding request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant