mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

By default, dns_skip_all_addl is set to false. This causes several events to not be raised. This change emits warnings when a user defines event handlers for events that will not be raised. Furthermore, it adds notes about this behavior to the documentation. We also introduce a new BIF, `is_event_handled`, which checks if an event is handled. Fixes GH-4061
8 lines
231 B
Text
8 lines
231 B
Text
# @TEST-EXEC: zeek -C -r $TRACES/dns-edns-cookie.pcap %INPUT > output
|
|
# @TEST-EXEC: btest-diff output
|
|
@load policy/protocols/dns/auth-addl
|
|
|
|
event dns_EDNS_cookie(c: connection, msg: dns_msg, opt: dns_edns_cookie)
|
|
{
|
|
print opt;
|
|
}
|