ooni-probe-cli/internal/nettests/groups.go

53 lines
885 B
Go
Raw Normal View History

2019-12-02 16:57:55 +01:00
package nettests
// Group is a group of nettests
type Group struct {
Label string
Nettests []Nettest
UnattendedOK bool
2019-12-02 16:57:55 +01:00
}
// All contains all the nettests that can be run by the user
var All = map[string]Group{
"websites": {
2019-12-02 16:57:55 +01:00
Label: "Websites",
Nettests: []Nettest{
WebConnectivity{},
},
UnattendedOK: true,
2019-12-02 16:57:55 +01:00
},
"performance": {
2019-12-02 16:57:55 +01:00
Label: "Performance",
Nettests: []Nettest{
Dash{},
NDT{},
},
},
"middlebox": {
2019-12-02 16:57:55 +01:00
Label: "Middleboxes",
Nettests: []Nettest{
HTTPInvalidRequestLine{},
HTTPHeaderFieldManipulation{},
},
UnattendedOK: true,
2019-12-02 16:57:55 +01:00
},
"im": {
2019-12-02 16:57:55 +01:00
Label: "Instant Messaging",
Nettests: []Nettest{
FacebookMessenger{},
Telegram{},
WhatsApp{},
},
UnattendedOK: true,
2019-12-02 16:57:55 +01:00
},
"circumvention": {
Label: "Circumvention Tools",
Nettests: []Nettest{
Psiphon{},
2020-12-07 17:14:48 +01:00
RiseupVPN{},
Tor{},
},
UnattendedOK: true,
},
2019-12-02 16:57:55 +01:00
}