Skip to content

Backport the Safari 26.3 ClientHello to v1.7.0-mod-meta - #9

Open
wywywywycloud wants to merge 1 commit into
MetaCubeX:v1.7.0-mod-metafrom
wywywywycloud:backport-safari-26-3
Open

wywywywycloud wants to merge 1 commit into
MetaCubeX:v1.7.0-mod-metafrom
wywywywycloud:backport-safari-26-3

Conversation

@wywywywycloud

@wywywywycloud wywywywycloud commented Nov 26, 2026 •

Copy link
Copy Markdown

Backport the existing Safari 26.3 ClientHello from this fork's v1.7.0-mod-meta-dev commit 422ba21 to the v1.8.8 maintenance line. This covers the Safari counterpart of #8. The default branch already has this profile.

HelloSafari_Auto selects the upstream Safari 26.3 preset. Explicit HelloSafari_16_0 keeps its existing behavior. The added regression test builds both handshakes and checks the hybrid/classical key-share order in the new default and the classical-only legacy profile.

Verified with go test ./... on Windows amd64, Go 1.26.11.

Integration check: substituted this branch for uTLS in Mihomo 1.19.33's REALITY TLS code and called GetRealityConn against a local Xray 26.11.9 server. Authentication succeeded for the safari fingerprint with support-x25519mlkem768 enabled.

End-to-end verification at 3c3b426

Built the full Mihomo 1.19.33 CLI with this PR as its uTLS dependency on Windows amd64 and set the proxy fingerprint to safari with support-x25519mlkem768 enabled. A SOCKS5 client sent HTTPS requests through Mihomo to a local Xray 26.11.9 server over both VLESS TCP/Vision + REALITY and VLESS XHTTP + REALITY.

Each transport passed 5/5 requests: two GETs with byte-for-byte verification and one 256 KiB POST with a server-side SHA-256 check, followed by an HTTPS 204 from Google and an HTTPS 200 with a verified Cloudflare trace response. Xray access logs confirmed all ten requests on their intended inbounds. A stock Mihomo 1.19.33 control passed with chrome and failed to reach the HTTPS origin with qq over both transports.

(cherry picked from commit 422ba21)
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.

2 participants