ooni-probe-cli/cmd/ooniprobe/internal/nettests/groups.go
Simone Basso f626a015c9
feat(ooniprobe): add vanilla_tor to experimental (#745)
While there make vanilla_tor only run in unattended mode.

While there also make torsf unattended-mode only.

See https://github.com/ooni/probe/issues/2101

See https://github.com/ooni/probe/issues/2057
2022-05-20 11:47:22 +02:00

65 lines
1.2 KiB
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{},
},
// unattendedOK is explicitly set to false, since there is no need for consumption of excessive amounts of data with background tests
UnattendedOK: false,
},
"middlebox": {
Label: "Middleboxes",
Nettests: []Nettest{
HTTPInvalidRequestLine{},
HTTPHeaderFieldManipulation{},
},
UnattendedOK: true,
},
"im": {
Label: "Instant Messaging",
Nettests: []Nettest{
FacebookMessenger{},
Telegram{},
WhatsApp{},
Signal{},
},
UnattendedOK: true,
},
"circumvention": {
Label: "Circumvention Tools",
Nettests: []Nettest{
Psiphon{},
Tor{},
},
UnattendedOK: true,
},
"experimental": {
Label: "Experimental Nettests",
Nettests: []Nettest{
DNSCheck{},
STUNReachability{},
TorSf{},
VanillaTor{},
},
UnattendedOK: true,
},
}