ooni-probe-cli/internal/cmd/miniooni
Simone Basso 2044b78a5a
refactor: introduce and use InputOrStaticDefault (#632)
This commit introduces a new `InputLoader` policy by which, if no
input is provided, we use a static default input list.

We also modify the code to use this policy for dnscheck and
stunreachability, with proper input.

We also modify `miniooni` to pass the new `ExperimentName` field to
the `InputLoader` to indicate which default input list to use.

This diff is part of a set of diffs aiming at fixing
https://github.com/ooni/probe/issues/1814 and has been
extracted from https://github.com/ooni/probe-cli/pull/539.

What remains to be done, after this diff has landed is to ensure
things also work for ooniprobe and oonimkall.
2021-12-03 15:30:56 +01:00
..
.gitignore refactor: merge libminiooni into cmd/miniooni (#268) 2021-03-29 19:03:53 +02:00
libminiooni_test.go refactor: merge libminiooni into cmd/miniooni (#268) 2021-03-29 19:03:53 +02:00
libminiooni.go refactor: introduce and use InputOrStaticDefault (#632) 2021-12-03 15:30:56 +01:00
main.go fix(engine): break circular dep betwen session and tunnel (#295) 2021-04-05 12:02:35 +02:00
README.md refactor: merge libminiooni into cmd/miniooni (#268) 2021-03-29 19:03:53 +02:00

miniooni

This directory contains the source code of a simple CLI client that we use for research as well as for running QA scripts. We designed this tool to have a CLI similar to MK and OONI Probe v2.x to ease running Jafar scripts that check whether these tools behave similarly. Perfect backwards compatibility was not a design goal for miniooni. Rather, we aimed to have as little conflict as possible, such that we can run side-by-side QA checks.