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.

Closes #3149 (closed)

Edited by Ondřej Surý

Merge request reports