REALITY, TLS config: Set "chrome" as the default fingerprint

Other VLESS implementations should follow this change.
This commit is contained in:
RPRX 2024-12-17 11:02:51 +00:00 committed by GitHub
parent 5836afc41f
commit 96fb680d45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 10 deletions

View file

@ -165,7 +165,7 @@ func init() {
func GetFingerprint(name string) (fingerprint *utls.ClientHelloID) {
if name == "" {
return
return &utls.HelloChrome_Auto
}
if fingerprint = PresetFingerprints[name]; fingerprint != nil {
return
@ -191,6 +191,7 @@ var PresetFingerprints = map[string]*utls.ClientHelloID{
"qq": &utls.HelloQQ_Auto,
"random": nil,
"randomized": nil,
"unsafe": nil,
}
var ModernFingerprints = map[string]*utls.ClientHelloID{