Skip to content

Reset the TCP connection when garbage is received

When invalid DNS message is received, there was a handling mechanism for DoH that would be called to return proper HTTP response.

Reuse this mechanism and reset the TCP connection when the client is blackholed, DNS message is completely bogus or the ns_client receives response instead of query.

(cherry picked from commit 4716c56e)

Closes #3149 (closed)

Merge request reports