]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
smtp: backport tls test to 7
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 23 Jan 2025 20:37:59 +0000 (21:37 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 11 Feb 2025 09:54:11 +0000 (10:54 +0100)
Ticket: 7469

tests/smtp-tls-protodetect/test.yaml

index 2430a559ffcf8ab04c9e3bc4e7b8b90da8b1eec1..cc5d932817401c492ef8c01fd14c1724b60aaee6 100644 (file)
@@ -1,5 +1,5 @@
 requires:
-  min-version: 8
+  min-version: 7
 
 # disables checksum verification
 args:
@@ -7,8 +7,23 @@ args:
 
 checks:
   - filter:
+      min-version: 8
       count: 1
       match:
         event_type: flow
         app_proto: tls
         app_proto_tc: smtp
+  - filter:
+      version: 7
+      count: 1
+      match:
+        event_type: flow
+        app_proto: tls
+        # no smtp probin parser in 7
+  - filter:
+      version: 7
+      count: 1
+      match:
+        event_type: anomaly
+        anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
+        # no smtp probin parser in 7