Repository navigation
Backport the Safari 26.3 ClientHello to v1.7.0-mod-meta - #9
Open
wywywywycloud wants to merge 1 commit into
Open
wywywywycloud wants to merge 1 commit into
wywywywycloud wants to merge 1 commit into
Conversation
(cherry picked from commit 422ba21)
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.
Backport the existing Safari 26.3 ClientHello from this fork's
v1.7.0-mod-meta-devcommit 422ba21 to the v1.8.8 maintenance line. This covers the Safari counterpart of #8. The default branch already has this profile.HelloSafari_Autoselects the upstream Safari 26.3 preset. ExplicitHelloSafari_16_0keeps 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.