mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Fixed a bug in the auth-addl DNS script.
This commit is contained in:
parent
cf527147e7
commit
e3f6909b93
1 changed files with 9 additions and 4 deletions
|
@ -6,13 +6,18 @@ redef dns_skip_all_addl = F;
|
|||
|
||||
module DNS;
|
||||
|
||||
redef record Info += {
|
||||
auth: set[string] &log &optional;
|
||||
addl: set[string] &log &optional;
|
||||
};
|
||||
export {
|
||||
redef record Info += {
|
||||
auth: set[string] &log &optional;
|
||||
addl: set[string] &log &optional;
|
||||
};
|
||||
}
|
||||
|
||||
event do_reply(c: connection, msg: dns_msg, ans: dns_answer, reply: string) &priority=4
|
||||
{
|
||||
if ( ! c?$dns )
|
||||
return;
|
||||
|
||||
# The "ready" flag will be set here. This causes the setting from the
|
||||
# base script to be overridden since the base script will log immediately
|
||||
# after all of the ANS replies have been seen.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue