ooni-probe-cli/internal/cmd
Simone Basso a849213b59
fix(engine): break circular dep betwen session and tunnel (#295)
This diff breaks the circular dependency between session and
tunnel, by introducing the concept of early session.

An early session is a session that is able to fetch the psiphon
configuration file _only_ if it's embedded in the binary.

This breaks `miniooni --tunnel=psiphon` for users who have
access to the OONI backend. They are not the users we are
writing this feature for, though, so I think this is reasonable.

At the same time, this opens up the possibility of creating
a psiphon tunnel when constructing a session, which is the
approach I was following in https://github.com/ooni/probe-cli/pull/286.

This work is part of https://github.com/ooni/probe/issues/985.

Once this diff is in, I can land https://github.com/ooni/probe-cli/pull/286.
2021-04-05 12:02:35 +02:00
..
apitool fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
e2epostprocess fix: use golang.org/x/sys/execabs (#224) 2021-02-10 07:40:48 +01:00
getresources refactor: redesign how we import assets (#260) 2021-04-01 16:57:31 +02:00
jafar feat: use go1.16 and resources embedding (#235) 2021-03-02 12:08:24 +01:00
miniooni fix(engine): break circular dep betwen session and tunnel (#295) 2021-04-05 12:02:35 +02:00
oohelper fix(oohelper): make sure the CI is green (#282) 2021-04-01 20:11:13 +02:00
oohelperd fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
README.md doc: ensure all top dirs have an explanatory README (#214) 2021-02-03 16:54:00 +01:00

Directory github.com/ooni/probe-cli/internal/cmd

This directory contains the source code for the CLI tools we build but we don't want to expose to the outside world. That is, you can only build these tools if you have cloned this repo.