mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
add svcb test case
This commit is contained in:
parent
ca4b181d35
commit
d5a6896171
3 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,3 @@
|
|||
[svc_priority=0, target_name=foo.example.com, svc_params={
|
||||
|
||||
}]
|
BIN
testing/btest/Traces/dns-svcb.pcap
Normal file
BIN
testing/btest/Traces/dns-svcb.pcap
Normal file
Binary file not shown.
9
testing/btest/scripts/base/protocols/dns/svcb.zeek
Normal file
9
testing/btest/scripts/base/protocols/dns/svcb.zeek
Normal file
|
@ -0,0 +1,9 @@
|
|||
# @TEST-EXEC: zeek -C -r $TRACES/dns-svcb.pcap %INPUT > output
|
||||
# @TEST-EXEC: btest-diff output
|
||||
|
||||
@load policy/protocols/dns/auth-addl
|
||||
|
||||
event dns_SVCB(c: connection, msg: dns_msg, ans: dns_answer, svcb: dns_svcb_rr)
|
||||
{
|
||||
print svcb;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue