Allow -utls random for HelloRandomizedALPN.

This commit is contained in:
David Fifield
2024-05-13 19:16:42 +00:00
parent 45f9079b53
commit 4d3d776470
3 changed files with 11 additions and 3 deletions
+5 -3
View File
@@ -292,11 +292,13 @@ names, each optionally preceded by an integer weight and `*`.
```
$ ./dnstt-client -utls '3*Firefox,2*Chrome,1*iOS' ...
$ ./dnstt-client -utls Firefox ...
$ ./dnstt-client -utls random ...
```
Run `./dnstt-client -help` to see the available fingerprint names and
the default distribution. The special value `none` disables uTLS and
uses the native crypto/tls fingerprint, which is less covert but likely
to be compatible with more servers.
the default distribution. The `random` fingerprint is a randomized
fingerprint. The special value `none` disables uTLS and uses the native
crypto/tls fingerprint, which is less covert but likely to be compatible
with more servers.
## Encryption and authentication
+1
View File
@@ -22,6 +22,7 @@ var utlsClientHelloIDMap = []struct {
Label string
ID *utls.ClientHelloID
}{
{"random", &utls.HelloRandomizedALPN},
{"Firefox", &utls.HelloFirefox_Auto},
{"Firefox_55", &utls.HelloFirefox_55},
{"Firefox_56", &utls.HelloFirefox_56},
+5
View File
@@ -159,6 +159,8 @@ Examples:
.It
-utls Firefox
.It
-utls random
.It
-utls none
.El
@@ -168,6 +170,9 @@ Use the
option to see the default distribution
and the set of available fingerprint labels.
The special value
.Cm random
stands for a randomized fingerprint.
The special value
.Cm none
disables uTLS and uses the native Go crypto/tls fingerprint.