mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Add DNS tests for huge TLL and CAA
This commit is contained in:
parent
cfa4fb4946
commit
a705b2c08d
9 changed files with 38 additions and 4 deletions
7
testing/btest/scripts/base/protocols/dns/caa.bro
Normal file
7
testing/btest/scripts/base/protocols/dns/caa.bro
Normal file
|
@ -0,0 +1,7 @@
|
|||
# @TEST-EXEC: bro -r $TRACES/dns-caa.pcap %INPUT
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
event dns_CAA_reply(c: connection, msg: dns_msg, ans: dns_answer, flags: count, tag: string, value: string)
|
||||
{
|
||||
print flags,tag,value;
|
||||
}
|
7
testing/btest/scripts/base/protocols/dns/huge-ttl.bro
Normal file
7
testing/btest/scripts/base/protocols/dns/huge-ttl.bro
Normal file
|
@ -0,0 +1,7 @@
|
|||
# @TEST-EXEC: bro -r $TRACES/dns-huge-ttl.pcap %INPUT
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
event dns_A_reply(c: connection, msg: dns_msg, ans: dns_answer, a: addr)
|
||||
{
|
||||
print ans;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue