Add a default list of buggy servers

This commit is contained in:
Frank Denis 2019-11-17 21:44:46 +01:00
parent 6dcd872385
commit b03e7f993f
2 changed files with 4 additions and 1 deletions

View File

@ -127,6 +127,9 @@ func newConfig() Config {
RefusedCodeInResponses: false,
LBEstimator: true,
BlockedQueryResponse: "hinfo",
BrokenImplementations: BrokenImplementationsConfig{
BrokenQueryPadding: []string{"cisco", "cisco-ipv6", "cisco-familyshield"},
},
}
}

View File

@ -302,7 +302,7 @@ func fetchDNSCryptServerInfo(proxy *Proxy, name string, stamp stamps.ServerStamp
for _, buggyServerName := range proxy.serversWithBrokenQueryPadding {
if buggyServerName == name {
knownBugs.incorrectPadding = true
dlog.Infof("Known bug in [%v]: padding is not correctly implemented", name)
dlog.Infof("Known bug in [%v]: padded queries are not correctly parsed", name)
break
}
}