da95fa9365
* refactor: signal et al. are now experimental nettests We move signal into the experimental nettests group. While there, also start adding dnscheck and stunreachability as well. It seems there's more work to be done to correctly represent the results of dnscheck, but this is fine! The experimental section is here exactly for this reason! In terms of UI, the new command is `ooniprobe run experimental`. We will most likely move signal out of experimental soon, since it's already working quite well. We need to keep it here for one more cycle because the desktop app is not ready for it. See the following issues: 1. https://github.com/ooni/probe/issues/1378 2. https://github.com/ooni/probe/issues/1262 * fix(dnscheck): spell check * fix: improve documentation
61 lines
1021 B
Go
61 lines
1021 B
Go
package nettests
|
|
|
|
// Group is a group of nettests
|
|
type Group struct {
|
|
Label string
|
|
Nettests []Nettest
|
|
UnattendedOK bool
|
|
}
|
|
|
|
// All contains all the nettests that can be run by the user
|
|
var All = map[string]Group{
|
|
"websites": {
|
|
Label: "Websites",
|
|
Nettests: []Nettest{
|
|
WebConnectivity{},
|
|
},
|
|
UnattendedOK: true,
|
|
},
|
|
"performance": {
|
|
Label: "Performance",
|
|
Nettests: []Nettest{
|
|
Dash{},
|
|
NDT{},
|
|
},
|
|
},
|
|
"middlebox": {
|
|
Label: "Middleboxes",
|
|
Nettests: []Nettest{
|
|
HTTPInvalidRequestLine{},
|
|
HTTPHeaderFieldManipulation{},
|
|
},
|
|
UnattendedOK: true,
|
|
},
|
|
"im": {
|
|
Label: "Instant Messaging",
|
|
Nettests: []Nettest{
|
|
FacebookMessenger{},
|
|
Telegram{},
|
|
WhatsApp{},
|
|
},
|
|
UnattendedOK: true,
|
|
},
|
|
"circumvention": {
|
|
Label: "Circumvention Tools",
|
|
Nettests: []Nettest{
|
|
Psiphon{},
|
|
RiseupVPN{},
|
|
Tor{},
|
|
},
|
|
UnattendedOK: true,
|
|
},
|
|
"experimental": {
|
|
Label: "Experimental Nettests",
|
|
Nettests: []Nettest{
|
|
DNSCheck{},
|
|
STUNReachability{},
|
|
Signal{},
|
|
},
|
|
},
|
|
}
|