ooni-probe-cli/internal/engine/experiment
Simone Basso bbcd2e2280
refactor(netx): merge archival, trace, and the savers (#772)
This diff creates a new package under netx called tracex that
contains everything we need to perform measurements using events
tracing and postprocessing (which is the technique with which
we implement most network experiments).

The general idea here is to (1) create a unique package out of
all of these packages; (2) clean up the code a bit (improve tests,
docs, apply more recent code patterns); (3) move the resulting
code as a toplevel package inside of internal.

Once this is done, netx can be further refactored to avoid
subpackages and we can search for more code to salvage/refactor.

See https://github.com/ooni/probe/issues/2121
2022-05-31 21:53:01 +02:00
..
dash refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
dnscheck refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
dnsping feat: add a simple dnsping experiment (#674) 2022-05-09 15:28:18 +02:00
example feat: introduce the tcpping experiment (#696) 2022-05-09 09:33:18 +02:00
fbmessenger refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
hhfm refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
hirl refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
httphostheader feat: introduce the tcpping experiment (#696) 2022-05-09 09:33:18 +02:00
ndt7 refactor(ndt7): use netxlite rather than netx (#768) 2022-05-30 23:14:07 +02:00
psiphon feat: introduce the tcpping experiment (#696) 2022-05-09 09:33:18 +02:00
quicping refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
riseupvpn refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
run fix: ensure experiments return nil when we want to submit (#654) 2022-01-07 13:17:20 +01:00
signal feat: introduce the tcpping experiment (#696) 2022-05-09 09:33:18 +02:00
simplequicping fix({simplequic,tls}ping): default SNI to URL's hostname (#753) 2022-05-24 16:29:13 +02:00
sniblocking netxlite: call getaddrinfo and handle platform-specific oddities (#764) 2022-05-28 15:10:30 +02:00
stunreachability refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
tcpping feat: introduce the tlsping experiment (#716) 2022-05-09 10:25:50 +02:00
telegram feat: introduce the tcpping experiment (#696) 2022-05-09 09:33:18 +02:00
tlsping fix({simplequic,tls}ping): default SNI to URL's hostname (#753) 2022-05-24 16:29:13 +02:00
tlstool refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
tor refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
torsf refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
urlgetter refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
vanillator refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
webconnectivity refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
whatsapp cleanup: merge httpheader and httpfailure into model (#758) 2022-05-25 09:54:50 +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.