mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-12-01 14:18:36 +00:00
Drop Edge 85 and iOS 14 from random uTLS fingerprint
The random fingerprint picked one of chrome, firefox, edge, safari and ios per process. Edge 85 and iOS 14 are no longer current browsers and send no X25519MLKEM768 key share, so a process that picked one of them failed every REALITY handshake against Xray-core v26.9.8 and later servers. Pick only from fingerprints of current browsers.
This commit is contained in:
@@ -354,9 +354,7 @@ func init() {
|
||||
modernFingerprints := []utls.ClientHelloID{
|
||||
utls.HelloChrome_Auto,
|
||||
utls.HelloFirefox_Auto,
|
||||
utls.HelloEdge_Auto,
|
||||
utls.HelloSafari_Auto,
|
||||
utls.HelloIOS_Auto,
|
||||
}
|
||||
randomFingerprint = modernFingerprints[rand.Intn(len(modernFingerprints))]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user