mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

My phone is sending NAPTR queries and we reported an unknown RR type 35 in weird.log for the response, so figured I'd just add it.
11 lines
372 B
Text
11 lines
372 B
Text
# @TEST-EXEC: zeek -b -r $TRACES/dns/naptr.pcap %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
# @TEST-EXEC: zeek-cut -m uid query qclass_name qtype_name answers < dns.log > dns.log.cut
|
|
# @TEST-EXEC: btest-diff dns.log.cut
|
|
|
|
@load base/protocols/dns
|
|
|
|
event dns_NAPTR_reply(c: connection, msg: dns_msg, ans: dns_answer, naptr: dns_naptr_rr)
|
|
{
|
|
print "NAPTR", msg, ans, naptr;
|
|
}
|