ooni-probe-cli/cmd/ooniprobe/internal/nettests
Simone Basso c264f61536
feat(ooniprobe): introduce websites_max_runtime (#273)
We cannot control anymore the maximum number of URLs using the API
because now we are using check-in, that has no such limit.

We could theoretically clamp the number of URLs to measure after
the call to check-in, and still honour the setting.

Yet, the right thing to do seems to introduce a max runtime variable
because that is what desktop and mobile do.

Thus, introduce code that warns the user about the change in the
settings, should they have set the URL limit to nonzero.

We are going to do a best effort conversion from the URL limit to
the maximum runtime for the rest of 2021.

Since then, we will silently ignore the URL limit.

This work is part of https://github.com/ooni/probe/issues/1299.
2021-03-30 11:16:12 +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 feat(ooniprobe): introduce websites_max_runtime (#273) 2021-03-30 11:16:12 +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): introduce websites_max_runtime (#273) 2021-03-30 11:16:12 +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.go feat(ooniprobe): introduce websites_max_runtime (#273) 2021-03-30 11:16:12 +02:00
whatsapp.go fix: import path should be github.com/ooni/probe-cli/v3 (#200) 2021-02-02 10:32:46 +01:00