ooni-probe-cli/cmd/ooniprobe/internal/nettests
Simone Basso 5c47a87af7
feat(ooniprobe): discard lists not in selected categories (#278)
* feat(ooniprobe): discard lists not in selected categories

One day we may make an integration mistake and for any reason
we may end up with URLs that do not belong to the categories
originally selected by the user. If that happens, it's nice to
have a safety net where we remove URLs that do not belong to
the right category before proceeding with testing.

This diff was conceived while discussing the robustness of
https://github.com/ooni/probe/issues/1299 with @hellais.

* fix behavior and add unit test

* more robust
2021-03-31 14:30:30 +02:00
..
dash.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00
dnscheck.go refactor: signal et al. are now experimental nettests (#243) 2021-03-08 13:38:34 +01:00
facebook_messenger.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00
groups.go Add signal to the im test group (#259) 2021-03-22 14:31:50 +01:00
http_header_field_manipulation.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00
http_invalid_request_line.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00
ndt.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00
nettests_test.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00
nettests.go fix(ooniprobe): consistent progress with maxRuntime (#277) 2021-03-31 14:06:05 +02:00
psiphon.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00
riseupvpn.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00
run.go feat(ooniprobe): propagate the RunType CheckIn hint (#274) 2021-03-30 11:59:29 +02:00
signal.go refactor: signal et al. are now experimental nettests (#243) 2021-03-08 13:38:34 +01:00
stunreachability.go chore: rename stun_reachability => stunreachability (#254) 2021-03-11 19:35:22 +01:00
telegram.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00
tor.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00
web_connectivity_test.go feat(ooniprobe): discard lists not in selected categories (#278) 2021-03-31 14:30:30 +02:00
web_connectivity.go feat(ooniprobe): discard lists not in selected categories (#278) 2021-03-31 14:30:30 +02:00
whatsapp.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00