70d7c1a22c
* Add signal to the im test group * fix(ipconfig_test.go): disable when running in CI Reference issue: https://github.com/ooni/probe/issues/1418 * fix(geolocate): remove unused variable Came across this while looking into this issue with the CI that is now failing. Guess fixing it here comes across as leaving the camp slightly less in a bad shape than how I found it. Co-authored-by: Simone Basso <bassosimone@gmail.com>
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{},
|
|
Signal{},
|
|
},
|
|
UnattendedOK: true,
|
|
},
|
|
"circumvention": {
|
|
Label: "Circumvention Tools",
|
|
Nettests: []Nettest{
|
|
Psiphon{},
|
|
RiseupVPN{},
|
|
Tor{},
|
|
},
|
|
UnattendedOK: true,
|
|
},
|
|
"experimental": {
|
|
Label: "Experimental Nettests",
|
|
Nettests: []Nettest{
|
|
DNSCheck{},
|
|
STUNReachability{},
|
|
},
|
|
},
|
|
}
|