Browse Source

Updated uTLS TLSVersMax_Set_VersionTLS13 weight for randomized profile

Amir Khan 2 years ago
parent
commit
a22520f22d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      psiphon/tlsDialer.go

+ 4 - 0
psiphon/tlsDialer.go

@@ -365,6 +365,10 @@ func CustomTLSDial(
 
 		utlsClientHelloID.Seed = new(utls.PRNGSeed)
 		*utlsClientHelloID.Seed = [32]byte(*randomizedTLSProfileSeed)
+
+		weights := utls.DefaultWeights
+		weights.TLSVersMax_Set_VersionTLS13 = 0.5
+		utlsClientHelloID.Weights = &weights
 	}
 
 	// As noted here,