ooni-probe-cli/internal/engine/experiment
Simone Basso a3654f60b7
refactor(netxlite): add more functions to resolver (#455)
We would like to refactor the code so that a DoH resolver owns the
connections of its underlying HTTP client.

To do that, we need first to incorporate CloseIdleConnections
into the Resolver model. Then, we need to add the same function
to all netxlite types that wrap a Resolver type.

At the same time, we want the rest of the code for now to continue
with the simpler definition of a Resolver, now called ResolverLegacy.

We will eventually propagate this change to the rest of the tree
and simplify the way in which we manage Resolvers.

To make this possible, we introduce a new factory function that
adapts a ResolverLegacy to become a Resolver.

See https://github.com/ooni/probe/issues/1591.
2021-09-05 18:03:50 +02:00
..
dash refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
dnscheck feat: tutorial on how to write the torsf experiment (#390) 2021-06-22 00:12:03 +02:00
example feat: tutorial on how to write the torsf experiment (#390) 2021-06-22 00:12:03 +02:00
fbmessenger refactor: move i/e/n/errorx to i/errorsx (#416) 2021-07-01 16:34:36 +02:00
hhfm refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
hirl refactor: move i/e/n/errorx to i/errorsx (#416) 2021-07-01 16:34:36 +02:00
httphostheader feat: tutorial on how to write the torsf experiment (#390) 2021-06-22 00:12:03 +02:00
ndt7 refactor(netxlite): add more functions to resolver (#455) 2021-09-05 18:03:50 +02:00
psiphon feat: tutorial on how to write the torsf experiment (#390) 2021-06-22 00:12:03 +02:00
riseupvpn refactor: move i/e/n/errorx to i/errorsx (#416) 2021-07-01 16:34:36 +02:00
run feat: tutorial on how to write the torsf experiment (#390) 2021-06-22 00:12:03 +02:00
signal refactor: move i/e/n/errorx to i/errorsx (#416) 2021-07-01 16:34:36 +02:00
sniblocking refactor: move i/e/n/errorx to i/errorsx (#416) 2021-07-01 16:34:36 +02:00
stunreachability refactor: move i/e/n/errorx to i/errorsx (#416) 2021-07-01 16:34:36 +02:00
telegram refactor: move i/e/n/errorx to i/errorsx (#416) 2021-07-01 16:34:36 +02:00
tlstool feat: tutorial on how to write the torsf experiment (#390) 2021-06-22 00:12:03 +02:00
tor refactor: move i/e/n/errorx to i/errorsx (#416) 2021-07-01 16:34:36 +02:00
torsf feat: tutorial on how to write the torsf experiment (#390) 2021-06-22 00:12:03 +02:00
urlgetter refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
webconnectivity refactor: move i/e/n/errorx to i/errorsx (#416) 2021-07-01 16:34:36 +02:00
websteps refactor(netxlite): add more functions to resolver (#455) 2021-09-05 18:03:50 +02:00
whatsapp feat: tutorial on how to write the torsf experiment (#390) 2021-06-22 00:12:03 +02:00
README.md chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00

Directory github.com/ooni/probe-engine/experiment

This directory contains the implementation of all the supported experiments, one for each directory. The OONI spec repository contains a description of all the specified experiments.

Note that in the OONI spec repository experiments are called nettests. Originally, they were also called nettests here but that created confusion with nettests in ooni/probe-cli. Therefore, we now use the term experiment to indicate the implementation and the term nettest to indicate the user facing view of such implementation.

Note that some experiments implemented here are not part of the OONI specification. For example, the urlgetter experiment is not in the OONI spec repository. The reason why this happens is that urlgetter is an experiment "library" that other experiments use to implement their functionality.

Likewise, the example experiment is a minimal experiment that does nothing and you could use to bootstrap the implementation of a new experiment. Of course, this experiment is not part of the OONI specification.