add EDNS cookie parsing

This commit is contained in:
FlyingWithJerome 2020-08-15 19:46:03 -04:00
parent c5b4311a82
commit 74efbd0abc
8 changed files with 95 additions and 2 deletions

View file

@ -3708,6 +3708,14 @@ type dns_edns_tcp_keepalive: record {
keepalive_timeout: count; ##< Timeout value, in 100ms
};
## An DNS EDNS COOKIE (COOKIE) record.
##
## .. zeek:see:: dns_EDNS_tcp_keepalive
type dns_edns_cookie: record {
client_cookie: string; ##< Cookie from the client (fixed 8 bytes)
server_cookie: string &default=""; ##< Cookie from the server (8 to 32 bytes)
};
## An additional DNS TSIG record.
##
## .. zeek:see:: dns_TSIG_addl