enable utls for websteps (#442)
This diff enables `websteps` to use uTLS for TLS parroting. It integrates the `oohttp.StdlibTransport` wrapper which uses the `ooni/oohttp` fork. `oohttp` supports TLS-like connections like `utls.Conn`. As a prototype, the testhelper and `websteps` code now uses the `utls.HelloChrome_Auto` fingerprint, i.e. the simulated TLS fingerprint of the Google Chrome browser. It is a further contribution for my GSoC project. Reference issue: https://github.com/ooni/probe/issues/1733
This commit is contained in:
parent
21a2b315fe
commit
1874f7a7c2
10 changed files with 66 additions and 123 deletions
3
go.mod
3
go.mod
|
|
@ -28,6 +28,7 @@ require (
|
|||
github.com/miekg/dns v1.1.42
|
||||
github.com/mitchellh/go-wordwrap v1.0.1
|
||||
github.com/montanaflynn/stats v0.6.6
|
||||
github.com/ooni/oohttp v0.0.0-20210818104219-f8ceac6f2622
|
||||
github.com/ooni/probe-assets v0.3.1
|
||||
github.com/ooni/psiphon v0.8.0
|
||||
github.com/oschwald/geoip2-golang v1.5.0
|
||||
|
|
@ -41,7 +42,7 @@ require (
|
|||
gitlab.com/yawning/obfs4.git v0.0.0-20210511220700-e330d1b7024b
|
||||
gitlab.com/yawning/utls.git v0.0.12-1
|
||||
golang.org/x/crypto v0.0.0-20210506145944-38f3c27a63bf // indirect
|
||||
golang.org/x/net v0.0.0-20210510120150-4163338589ed
|
||||
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d
|
||||
golang.org/x/sys v0.0.0-20210817190340-bfb29a6856f2
|
||||
gopkg.in/AlecAivazis/survey.v1 v1.8.8
|
||||
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect
|
||||
|
|
|
|||
Loading…
Reference in a new issue