mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Add test case to cover weird EDNS ECS parsing situations
This commit is contained in:
parent
abb4f0be03
commit
7c27d4c1e7
4 changed files with 21 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
|||
# Test-case for valid message format:
|
||||
# @TEST-EXEC: zeek -b -C -r $TRACES/dns-edns-ecs.pcap %INPUT > output
|
||||
# @TEST-EXEC: btest-diff output
|
||||
|
||||
# Test-case for malformed messages:
|
||||
# @TEST-EXEC: zeek -b -C -r $TRACES/dns-edns-ecs-bad.pcap %INPUT
|
||||
# @TEST-EXEC: zeek -b -C -r $TRACES/dns-edns-ecs-weirds.pcap %INPUT base/frameworks/notice/weird
|
||||
# @TEST-EXEC: btest-diff weird.log
|
||||
|
||||
@load policy/protocols/dns/auth-addl
|
||||
|
||||
event dns_EDNS_ecs(c: connection, msg: dns_msg, opt: dns_edns_ecs) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue