This repository has been archived on 2024-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
adlin/checker/checks.go

53 lines
1.1 KiB
Go
Raw Normal View History

2021-03-22 00:08:39 +00:00
package main
type AdlinTest int
const (
HTTPonIP AdlinTest = iota
HTTPonAssociatedDomain
HTTPSonAssociatedDomain
DNSDelegation
HTTPonDelegatedDomain
HTTPSonDelegatedDomain
2022-03-08 12:15:41 +00:00
HTTPSSNI
2021-10-31 16:30:29 +00:00
MatrixSrv
MatrixClt
2021-03-22 00:08:39 +00:00
SNI
DNSSEC
PingResolver
DHCPonRH
DHCPonGuests
RHaccessNews
RHaccessNet
GuestNet
)
var CheckMap = map[int]map[AdlinTest]int{
2: map[AdlinTest]int{
HTTPonIP: 100,
HTTPonAssociatedDomain: 101,
HTTPSonAssociatedDomain: 102,
DNSDelegation: 103,
HTTPonDelegatedDomain: 104,
HTTPSonDelegatedDomain: 105,
2022-03-08 12:15:41 +00:00
HTTPSSNI: 106,
MatrixSrv: 107,
MatrixClt: 108,
DNSSEC: 109,
2021-03-22 00:08:39 +00:00
},
3: map[AdlinTest]int{
PingResolver: 200,
HTTPonIP: 201,
DNSDelegation: 203,
HTTPonDelegatedDomain: 204,
HTTPSonDelegatedDomain: 205,
2021-10-31 16:30:29 +00:00
MatrixSrv: 206,
MatrixClt: 207,
DHCPonRH: 209,
DHCPonGuests: 212,
RHaccessNews: 210,
RHaccessNet: 211,
GuestNet: 213,
2021-03-22 00:08:39 +00:00
},
}