From: Jason Ish Date: Thu, 5 Jun 2025 00:50:43 +0000 (-0600) Subject: test/dns: add address checks for directionality X-Git-Tag: suricata-7.0.11~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61bf6790ed3ea81802a4f1717a37dfb79707168e;p=thirdparty%2Fsuricata-verify.git test/dns: add address checks for directionality --- diff --git a/tests/dns/dns-additionals-rdata/test.yaml b/tests/dns/dns-additionals-rdata/test.yaml index aa6b3a693..8c3b5e643 100644 --- a/tests/dns/dns-additionals-rdata/test.yaml +++ b/tests/dns/dns-additionals-rdata/test.yaml @@ -7,4 +7,25 @@ checks: - filter: count: 1 match: + pcap_cnt: 1 + event_type: dns + src_ip: 10.16.1.11 + dest_ip: 8.8.8.8 + dns.type: request + - filter: + count: 1 + match: + pcap_cnt: 2 + event_type: alert alert.signature_id: 5 + src_ip: 8.8.8.8 + dest_ip: 10.16.1.11 + dns.type: response + - filter: + count: 1 + match: + pcap_cnt: 2 + event_type: dns + src_ip: 8.8.8.8 + dest_ip: 10.16.1.11 + dns.type: response