ooni-probe-cli/internal/engine/tunnel
Simone Basso 8fe4e5410d
feat(tunnel): introduce persistent tunnel state dir (#294)
* feat(tunnel): introduce persistent tunnel state dir

This diff introduces a persistent state directory for tunnels, so that
we can bootstrap them more quickly after the first time.

Part of https://github.com/ooni/probe/issues/985

* fix: make tunnel dir optional

We have many tests where it does not make sense to explicitly
provide a tunnel dir because we're not using tunnels.

This should simplify setting up a session.

* fix(tunnel): repair tests

* final changes

* more cleanups
2021-04-05 11:27:41 +02:00
..
testdata feat(tunnel): introduce persistent tunnel state dir (#294) 2021-04-05 11:27:41 +02:00
config.go feat(tunnel): introduce persistent tunnel state dir (#294) 2021-04-05 11:27:41 +02:00
integration_test.go feat(tunnel): introduce persistent tunnel state dir (#294) 2021-04-05 11:27:41 +02:00
psiphon_test.go feat(tunnel): introduce persistent tunnel state dir (#294) 2021-04-05 11:27:41 +02:00
psiphon.go feat(tunnel): introduce persistent tunnel state dir (#294) 2021-04-05 11:27:41 +02:00
tor_test.go feat(tunnel): introduce persistent tunnel state dir (#294) 2021-04-05 11:27:41 +02:00
tor.go feat(tunnel): introduce persistent tunnel state dir (#294) 2021-04-05 11:27:41 +02:00
tunnel_test.go feat(tunnel): introduce persistent tunnel state dir (#294) 2021-04-05 11:27:41 +02:00
tunnel.go feat(tunnel): introduce persistent tunnel state dir (#294) 2021-04-05 11:27:41 +02:00