From: Otto Date: Mon, 22 Nov 2021 14:18:07 +0000 (+0100) Subject: When we drop a notify over TCP, terminate the connection X-Git-Tag: rec-4.6.0-rc1~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11022%2Fhead;p=thirdparty%2Fpdns.git When we drop a notify over TCP, terminate the connection (cherry picked from commit 9aa6eeca355c50bc79e9f7ea986689fa0a296e42) --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index b8e00a7a6e..297ff9459d 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -2950,6 +2950,7 @@ static void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var) } g_stats.sourceDisallowedNotify++; + terminateTCPConnection(fd); return; } @@ -2959,6 +2960,7 @@ static void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var) } g_stats.zoneDisallowedNotify++; + terminateTCPConnection(fd); return; } }