From 631eec321aac1a0fc419e075cf14dcd9c093e802 Mon Sep 17 00:00:00 2001 From: Simon Dugas Date: Tue, 7 Apr 2020 17:40:29 +0000 Subject: [PATCH] tests/dns: add test for logging SOA fields test config and pcap were copied from an existing test dns-udp-nxdomain-soa --- tests/dns-eve-v2-udp-nxdomain-soa/README.md | 2 ++ .../dns-udp-nxdomain-soa.pcap | Bin 0 -> 315 bytes .../dns-eve-v2-udp-nxdomain-soa/suricata.yaml | 10 +++++++++ tests/dns-eve-v2-udp-nxdomain-soa/test.yaml | 21 ++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 tests/dns-eve-v2-udp-nxdomain-soa/README.md create mode 100644 tests/dns-eve-v2-udp-nxdomain-soa/dns-udp-nxdomain-soa.pcap create mode 100644 tests/dns-eve-v2-udp-nxdomain-soa/suricata.yaml create mode 100644 tests/dns-eve-v2-udp-nxdomain-soa/test.yaml diff --git a/tests/dns-eve-v2-udp-nxdomain-soa/README.md b/tests/dns-eve-v2-udp-nxdomain-soa/README.md new file mode 100644 index 000000000..8b72d06f2 --- /dev/null +++ b/tests/dns-eve-v2-udp-nxdomain-soa/README.md @@ -0,0 +1,2 @@ +Verify the fields of an SOA authority record in a DNS response that +failed with NXDOMAIN error for eve dns version 2. diff --git a/tests/dns-eve-v2-udp-nxdomain-soa/dns-udp-nxdomain-soa.pcap b/tests/dns-eve-v2-udp-nxdomain-soa/dns-udp-nxdomain-soa.pcap new file mode 100644 index 0000000000000000000000000000000000000000..eb47badda678a57946f7b1e0ff4d3b66ee7ed630 GIT binary patch literal 315 zcmca|c+)~A1{MYcU}0bca@_K}Bfd6rGQV10!=vUMfp|W^o#GUTO)D4-(fD02#-? zz{9}Bz_H}3QcuJ&2`-Rz8ke{jmH;I{7-A8`Qm}Q?Zgw&-SPD*94zdblC4(u@!ltZK zO;a12!PWr{$F%N%00SFHmbsb1l`XGW*U->_GqJol1;jLFPR`F|5QK6w@{3Dy6N^hy li`Wu#6RYy`4p;--0n{p^0My>XAXEzE1vUWP&jb_)0RT{DMV