DNS now raises DPD events.

Closes #577.
This commit is contained in:
Robin Sommer 2011-10-06 17:53:03 -07:00
parent b790856a40
commit 6fe2b2c0f3

View file

@ -44,6 +44,7 @@ int DNS_Interpreter::ParseMessage(const u_char* data, int len, int is_query)
// This should weed out most of it.
if ( dns_max_queries > 0 && msg.qdcount > dns_max_queries )
{
analyzer->ProtocolViolation("DNS_Conn_count_too_large");
analyzer->Weird("DNS_Conn_count_too_large");
EndMessage(&msg);
return 0;
@ -67,6 +68,8 @@ int DNS_Interpreter::ParseMessage(const u_char* data, int len, int is_query)
return 0;
}
analyzer->ProtocolConfirmation();
AddrVal server(analyzer->Conn()->RespAddr());
int skip_auth = dns_skip_all_auth;