From b03e7f993fee74b143271ae0796702e04f96deae Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 17 Nov 2019 21:44:46 +0100 Subject: [PATCH] Add a default list of buggy servers --- dnscrypt-proxy/config.go | 3 +++ dnscrypt-proxy/serversInfo.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dnscrypt-proxy/config.go b/dnscrypt-proxy/config.go index 62454bcb..39594b0d 100644 --- a/dnscrypt-proxy/config.go +++ b/dnscrypt-proxy/config.go @@ -127,6 +127,9 @@ func newConfig() Config { RefusedCodeInResponses: false, LBEstimator: true, BlockedQueryResponse: "hinfo", + BrokenImplementations: BrokenImplementationsConfig{ + BrokenQueryPadding: []string{"cisco", "cisco-ipv6", "cisco-familyshield"}, + }, } } diff --git a/dnscrypt-proxy/serversInfo.go b/dnscrypt-proxy/serversInfo.go index bf3ca334..e67ae2c7 100644 --- a/dnscrypt-proxy/serversInfo.go +++ b/dnscrypt-proxy/serversInfo.go @@ -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 } }