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