ooni-probe-cli/internal/tunnel
Simone Basso 18a9523496
feat(miniooni): implement torsf tunnel (#921)
This diff adds to miniooni support for using the torsf tunnel. Such a
tunnel consists of a snowflake pluggable transport in front of a custom
instance of tor and requires tor to be installed.

The usage is like:

```
./miniooni --tunnel=torsf [...]
```

The default snowflake rendezvous method is "domain_fronting". You can
select the AMP cache instead using "amp":

```
./miniooni --snowflake-rendezvous=amp --tunnel=torsf [...]
```

Part of https://github.com/ooni/probe/issues/1955
2022-10-03 16:52:20 +02:00
..
mocks feat(torsf): collect tor logs, select rendezvous method, count bytes (#683) 2022-02-07 17:05:36 +01:00
testdata refactor: move tunnel pkg down one level (#358) 2021-06-04 15:15:41 +02:00
config_test.go feat(torsf): collect tor logs, select rendezvous method, count bytes (#683) 2022-02-07 17:05:36 +01:00
config.go feat(miniooni): implement torsf tunnel (#921) 2022-10-03 16:52:20 +02:00
fake_integration_test.go feat(torsf): collect tor logs, select rendezvous method, count bytes (#683) 2022-02-07 17:05:36 +01:00
fake_test.go feat(torsf): collect tor logs, select rendezvous method, count bytes (#683) 2022-02-07 17:05:36 +01:00
fake.go feat(torsf): collect tor logs, select rendezvous method, count bytes (#683) 2022-02-07 17:05:36 +01:00
psiphon_go119.go fix: disable psiphon when building with go1.19 (#871) 2022-08-22 11:50:58 +02:00
psiphon_integration_test.go fix: disable psiphon when building with go1.19 (#871) 2022-08-22 11:50:58 +02:00
psiphon_test.go fix: disable psiphon when building with go1.19 (#871) 2022-08-22 11:50:58 +02:00
psiphon.go fix: disable psiphon when building with go1.19 (#871) 2022-08-22 11:50:58 +02:00
session_test.go refactor: move tunnel pkg down one level (#358) 2021-06-04 15:15:41 +02:00
tor_integration_test.go feat(torsf): collect tor logs, select rendezvous method, count bytes (#683) 2022-02-07 17:05:36 +01:00
tor_test.go feat(torsf): collect tor logs, select rendezvous method, count bytes (#683) 2022-02-07 17:05:36 +01:00
tor.go feat(torsf): collect tor logs, select rendezvous method, count bytes (#683) 2022-02-07 17:05:36 +01:00
tordesktop.go fix(i/t/tor.go): show correct command line (#673) 2022-01-25 20:43:27 +01:00
tormobile.go fix(i/t/tor.go): show correct command line (#673) 2022-01-25 20:43:27 +01:00
torsf_test.go feat(miniooni): implement torsf tunnel (#921) 2022-10-03 16:52:20 +02:00
torsf.go feat(miniooni): implement torsf tunnel (#921) 2022-10-03 16:52:20 +02:00
tunnel_test.go feat(miniooni): implement torsf tunnel (#921) 2022-10-03 16:52:20 +02:00
tunnel.go feat(miniooni): implement torsf tunnel (#921) 2022-10-03 16:52:20 +02:00