mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Generate dns_WKS_reply event
This commit is contained in:
parent
15b294098c
commit
8b4c2a88a5
1 changed files with 13 additions and 2 deletions
|
@ -1644,8 +1644,19 @@ bool DNS_Interpreter::ParseRR_AAAA(detail::DNS_MsgInfo* msg,
|
||||||
bool DNS_Interpreter::ParseRR_WKS(detail::DNS_MsgInfo* msg,
|
bool DNS_Interpreter::ParseRR_WKS(detail::DNS_MsgInfo* msg,
|
||||||
const u_char*& data, int& len, int rdlength)
|
const u_char*& data, int& len, int rdlength)
|
||||||
{
|
{
|
||||||
|
if ( ! dns_WKS_reply || msg->skip_event )
|
||||||
|
{
|
||||||
data += rdlength;
|
data += rdlength;
|
||||||
len -= rdlength;
|
len -= rdlength;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO: Pass the ports as parameters to the event
|
||||||
|
analyzer->EnqueueConnEvent(dns_WKS_reply,
|
||||||
|
analyzer->ConnVal(),
|
||||||
|
msg->BuildHdrVal(),
|
||||||
|
msg->BuildAnswerVal()
|
||||||
|
);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue