Support for additional DNS RR Type: LOC[29], SSHFP[44], NSEC3PARAM[51], custom BIND9 signaling[65534]

This commit is contained in:
Tim Wojtulewicz 2020-11-11 12:45:46 -07:00
parent ee31673154
commit a6a4b976ec
18 changed files with 490 additions and 8 deletions

View file

@ -0,0 +1,9 @@
# @TEST-EXEC: zeek -b -C -r $TRACES/dns/loc-29-trunc.pcap %INPUT > output
# @TEST-EXEC: btest-diff dns.log
# @TEST-EXEC: btest-diff output
@load base/protocols/dns
event dns_LOC(c: connection, msg: dns_msg, ans: dns_answer, loc: dns_loc_rr)
{
print "LOC", loc;
}

View file

@ -0,0 +1,9 @@
# @TEST-EXEC: zeek -b -C -r $TRACES/dns/sshfp-trunc.pcap %INPUT > output
# @TEST-EXEC: btest-diff dns.log
# @TEST-EXEC: btest-diff output
@load base/protocols/dns
event dns_SSHFP(c: connection, msg: dns_msg, ans: dns_answer, algo: count, fptype: count, fingerprint: string)
{
print "SSHFP", algo, fptype, bytestring_to_hexstr(fingerprint);
}