From: Philippe Antoine Date: Fri, 14 Dec 2018 10:21:31 +0000 (+0100) Subject: Adds smtp pipelining test X-Git-Tag: suricata-6.0.4~478 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87ced0de09b4dd9ba3c3a10866179b9e36ed3a80;p=thirdparty%2Fsuricata-verify.git Adds smtp pipelining test See #1863 --- diff --git a/tests/smtp-pipelining/input.pcap b/tests/smtp-pipelining/input.pcap new file mode 100644 index 000000000..220f5e8c7 Binary files /dev/null and b/tests/smtp-pipelining/input.pcap differ diff --git a/tests/smtp-pipelining/test.yaml b/tests/smtp-pipelining/test.yaml new file mode 100644 index 000000000..80bae4180 --- /dev/null +++ b/tests/smtp-pipelining/test.yaml @@ -0,0 +1,18 @@ +requires: + features: + - HAVE_LIBJANSSON + +# disables checksum verification +args: + - -k none + +checks: + + # Check that there is one SMTP event with specific parameters. + - filter: + count: 1 + match: + event_type: smtp + smtp.mail_from: + smtp.rcpt_to[0]: + email.status: PARSE_DONE