ooni-probe-cli/internal/engine/experiment
Simone Basso 6212daa54a
fix(tracex): generate archival from single transaction-done event (#780)
Tracex contained some fragile code that assembled HTTP measurements
from scattered events, which worked because we were sure we were
performing a single measurement at any given time.

This diff restructures the code to emit a transaction-start and a
transaction-done events only. We have basically removed all the other
events (which we were not using). We kept the transaction-start
though, because it may be useful to see it when reading events. In
any case, what matters here is that we're now using the transaction-done
event aline to generate the archival HTTP measurement.

Hence, the original issue has been addressed. We will possibly
do more refactoring in the future, but for now this seems sufficient.

Part of https://github.com/ooni/probe/issues/2121
2022-06-01 19:27:47 +02:00
..
dash refactor(tracex): do not depend on strings for event names (#777) 2022-06-01 14:32:16 +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 fix(tracex): generate archival from single transaction-done event (#780) 2022-06-01 19:27:47 +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.