mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
add edns-cookie testcase
This commit is contained in:
parent
d75a385f8f
commit
28576d3a84
3 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,4 @@
|
||||||
|
[client_cookie=\xc8\x14\x98Z\x92\x8acB, server_cookie=]
|
||||||
|
[client_cookie=\xc8\x14\x98Z\x92\x8acB, server_cookie==\xcd>O{\xa9$z]
|
||||||
|
[client_cookie=1;Pl\x0b\xdd\x04s, server_cookie=]
|
||||||
|
[client_cookie=1;Pl\x0b\xdd\x04s, server_cookie=\xb0\xb1.E\xbahYl]
|
BIN
testing/btest/Traces/dns-edns-cookie.pcap
Normal file
BIN
testing/btest/Traces/dns-edns-cookie.pcap
Normal file
Binary file not shown.
|
@ -0,0 +1,8 @@
|
||||||
|
# @TEST-EXEC: zeek -C -r $TRACES/dns-edns-cookie.pcap %INPUT > output
|
||||||
|
# @TEST-EXEC: btest-diff output
|
||||||
|
@load policy/protocols/dns/auth-addl
|
||||||
|
|
||||||
|
event dns_EDNS_cookie(c: connection, msg: dns_msg, opt: dns_edns_cookie)
|
||||||
|
{
|
||||||
|
print opt;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue