2021-02-02 10:32:46 +01:00
|
|
|
module github.com/ooni/probe-cli/v3
|
2019-05-15 14:48:06 +02:00
|
|
|
|
2021-03-02 12:08:24 +01:00
|
|
|
go 1.16
|
2019-05-15 14:48:06 +02:00
|
|
|
|
|
|
|
require (
|
2021-04-02 17:36:06 +02:00
|
|
|
filippo.io/age v1.0.0-rc.1
|
2021-02-02 12:05:47 +01:00
|
|
|
git.torproject.org/pluggable-transports/goptlib.git v1.1.0
|
feat: introduce ptx package for pluggable transports dialers (#373)
* feat: introduce ptx package for pluggable transports dialers
Version 2 of the pluggable transports specification defines a function
that's like `Dial() (net.Conn, error`).
Because we use contexts as much as possible in `probe-cli`, we are
wrapping such an interface into a `DialContext` func.
The code for obfs4 is adapted from https://github.com/ooni/probe-cli/pull/341.
The code for snowflake is significantly easier than it is in
https://github.com/ooni/probe-cli/pull/341, because now Snowflake
supports the PTv2 spec (thanks @cohosh!).
The code for setting up a pluggable transport listener has also
been adapted from https://github.com/ooni/probe-cli/pull/341.
We cannot merge this code yet, because we need unit testing, yet the
newly added code already seems suitable for these use cases:
1. testing by dialing and seeing whether we can dial (which is not
very useful but still better than not doing it);
2. spawning tor+pluggable transports for circumvention (we need a
little more hammering like we did in https://github.com/ooni/probe-cli/pull/341,
which is basically https://github.com/ooni/probe/issues/1565, and then
we will be able to do that, as demonstrated by the new, simple client which
already allows us to use pluggable transports with tor);
3. testing by launching tor (when available) with a set of
pluggable transports (which depends on https://github.com/ooni/probe-engine/issues/897
and has not been assigned an issue yet).
* fix: tweaks after self code-review
* feat: write quick tests for ptx/obfs4
(They run in 0.4s, so I think it's fine for them to always run.)
* feat(ptx/snowflake): write unit and integration tests
* feat: create a fake PTDialer
The idea is that we'll use this simpler PTDialer for testing.
* feat: finish writing tests for new package
* Apply suggestions from code review
* Update internal/ptx/dependencies_test.go
Co-authored-by: Arturo Filastò <arturo@openobservatory.org>
* Update internal/ptx/dependencies_test.go
Co-authored-by: Arturo Filastò <arturo@openobservatory.org>
* chore: use as testing bridge one that's used by tor browser
The previous testing bridge used to be used by tor browser but
it was subsequently removed here:
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/e26e91bef8bd8d04d79bdd69f087efd808bc925d
See https://github.com/ooni/probe-cli/pull/373#discussion_r649820724
Co-authored-by: Arturo Filastò <arturo@openobservatory.org>
2021-06-14 10:20:54 +02:00
|
|
|
git.torproject.org/pluggable-transports/snowflake.git v1.0.0
|
2019-05-15 14:48:06 +02:00
|
|
|
github.com/alecthomas/kingpin v2.2.6+incompatible
|
2021-02-12 20:01:03 +01:00
|
|
|
github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15 // indirect
|
2020-08-22 11:20:50 +02:00
|
|
|
github.com/apex/log v1.9.0
|
2021-04-05 17:41:15 +02:00
|
|
|
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
|
2021-03-03 14:42:17 +01:00
|
|
|
github.com/creack/goselect v0.1.2 // indirect
|
2021-02-02 12:05:47 +01:00
|
|
|
github.com/cretz/bine v0.1.0
|
|
|
|
github.com/dchest/siphash v1.2.2 // indirect
|
2020-11-13 06:58:39 +01:00
|
|
|
github.com/fatih/color v1.10.0
|
2021-05-13 08:16:28 +02:00
|
|
|
github.com/google/go-cmp v0.5.5
|
2021-02-02 12:05:47 +01:00
|
|
|
github.com/google/martian/v3 v3.1.0
|
|
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
|
|
|
|
github.com/google/uuid v1.2.0
|
|
|
|
github.com/gorilla/websocket v1.4.2
|
2021-03-04 11:51:07 +01:00
|
|
|
github.com/hexops/gotextdiff v1.0.3
|
2021-02-02 12:05:47 +01:00
|
|
|
github.com/iancoleman/strcase v0.1.3
|
2021-08-23 16:49:22 +02:00
|
|
|
github.com/lucas-clemente/quic-go v0.23.0
|
2020-10-05 19:25:19 +02:00
|
|
|
github.com/mattn/go-colorable v0.1.8
|
2021-04-28 09:34:14 +02:00
|
|
|
github.com/mattn/go-sqlite3 v1.14.7 // indirect
|
2020-11-13 06:58:39 +01:00
|
|
|
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
|
2021-05-13 08:16:28 +02:00
|
|
|
github.com/miekg/dns v1.1.42
|
2021-04-29 15:59:53 +02:00
|
|
|
github.com/mitchellh/go-wordwrap v1.0.1
|
2021-04-28 09:34:14 +02:00
|
|
|
github.com/montanaflynn/stats v0.6.6
|
2021-08-18 16:10:27 +02:00
|
|
|
github.com/ooni/oohttp v0.0.0-20210818104219-f8ceac6f2622
|
2021-05-13 08:16:28 +02:00
|
|
|
github.com/ooni/probe-assets v0.3.1
|
|
|
|
github.com/ooni/psiphon v0.8.0
|
2021-03-03 14:42:17 +01:00
|
|
|
github.com/oschwald/geoip2-golang v1.5.0
|
2021-02-02 12:05:47 +01:00
|
|
|
github.com/pborman/getopt/v2 v2.1.0
|
|
|
|
github.com/pion/stun v0.3.5
|
2020-01-28 10:05:54 +01:00
|
|
|
github.com/pkg/errors v0.9.1
|
2021-03-31 16:40:58 +02:00
|
|
|
github.com/rogpeppe/go-internal v1.8.0
|
2021-04-28 09:34:14 +02:00
|
|
|
github.com/rubenv/sql-migrate v0.0.0-20210408115534-a32ed26c37ea
|
2020-11-13 06:58:39 +01:00
|
|
|
github.com/sirupsen/logrus v1.7.0 // indirect
|
2021-04-28 09:34:14 +02:00
|
|
|
github.com/ziutek/mymysql v1.5.4 // indirect
|
2021-05-13 08:16:28 +02:00
|
|
|
gitlab.com/yawning/obfs4.git v0.0.0-20210511220700-e330d1b7024b
|
2021-07-02 12:28:12 +02:00
|
|
|
gitlab.com/yawning/utls.git v0.0.12-1
|
2021-08-23 16:49:22 +02:00
|
|
|
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
|
|
|
|
golang.org/x/mod v0.5.0 // indirect
|
|
|
|
golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d
|
2021-08-18 11:33:22 +02:00
|
|
|
golang.org/x/sys v0.0.0-20210817190340-bfb29a6856f2
|
2021-08-23 16:49:22 +02:00
|
|
|
golang.org/x/tools v0.1.5 // indirect
|
2020-02-22 15:23:20 +01:00
|
|
|
gopkg.in/AlecAivazis/survey.v1 v1.8.8
|
2019-12-26 17:51:31 +01:00
|
|
|
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect
|
2021-01-13 00:25:25 +01:00
|
|
|
upper.io/db.v3 v3.8.0+incompatible
|
2019-05-15 14:48:06 +02:00
|
|
|
)
|