From: Philippe Antoine Date: Tue, 2 Dec 2025 10:07:58 +0000 (+0100) Subject: smtp: adds test for protocol recognition on quit X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49aeb22db8a66c533a6045d5a6944771a3365c12;p=thirdparty%2Fsuricata-verify.git smtp: adds test for protocol recognition on quit Ticket: 6591 --- diff --git a/tests/smtp-quit/README.md b/tests/smtp-quit/README.md new file mode 100644 index 000000000..80878c432 --- /dev/null +++ b/tests/smtp-quit/README.md @@ -0,0 +1,11 @@ +# Test Description + +Test SMTP protocol detection with QUIT pattern (vs FTP) + +## PCAP + +This PCAP comes from redmine ticket https://redmine.openinfosecfoundation.org/issues/6591 with craft to change ports + +## Related issues + +Ticket https://redmine.openinfosecfoundation.org/issues/6591 diff --git a/tests/smtp-quit/input.pcap b/tests/smtp-quit/input.pcap new file mode 100644 index 000000000..7ebec841d Binary files /dev/null and b/tests/smtp-quit/input.pcap differ diff --git a/tests/smtp-quit/test.yaml b/tests/smtp-quit/test.yaml new file mode 100644 index 000000000..c35b2b8ca --- /dev/null +++ b/tests/smtp-quit/test.yaml @@ -0,0 +1,12 @@ +requires: + min-version: 9 + +args: + - -k none + +checks: + - filter: + count: 1 + match: + event_type: flow + app_proto: smtp