From: Victor Julien Date: Tue, 2 Sep 2025 07:51:54 +0000 (+0200) Subject: tests: add tests for issue 5758 X-Git-Tag: suricata-7.0.12~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8d33ed323f1047b9f3f1a8e3b930d2091a697e6;p=thirdparty%2Fsuricata-verify.git tests: add tests for issue 5758 --- diff --git a/tests/bug-5758/input.pcap b/tests/bug-5758/input.pcap new file mode 100644 index 000000000..dd13fb6d2 Binary files /dev/null and b/tests/bug-5758/input.pcap differ diff --git a/tests/bug-5758/test.rules b/tests/bug-5758/test.rules new file mode 100644 index 000000000..6e55ad63a --- /dev/null +++ b/tests/bug-5758/test.rules @@ -0,0 +1 @@ +alert tls any any -> any any (tls.sni; content:"ftp.nluug.nl"; sid:1;) diff --git a/tests/bug-5758/test.yaml b/tests/bug-5758/test.yaml new file mode 100644 index 000000000..cc7a430a5 --- /dev/null +++ b/tests/bug-5758/test.yaml @@ -0,0 +1,14 @@ +requires: + min-version: 7 + +checks: +- filter: + count: 1 + match: + event_type: tls + tls.sni: ftp.nluug.nl +- filter: + count: 1 + match: + event_type: alert + alert.signature_id: 1