add svcb test case

This commit is contained in:
FlyingWithJerome 2021-09-29 18:06:58 -04:00
parent ca4b181d35
commit d5a6896171
3 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,3 @@
[svc_priority=0, target_name=foo.example.com, svc_params={
}]

Binary file not shown.

View 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;
}