]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
tests/ftp: Add tests for ftp_reply_received keyword 2512/head
authorJeff Lucovsky <jlucovsky@oisf.net>
Wed, 16 Apr 2025 13:29:49 +0000 (09:29 -0400)
committerVictor Julien <victor@inliniac.net>
Fri, 16 May 2025 19:33:57 +0000 (21:33 +0200)
commit4db31c3102ba5ef3d164dc1dc152a56452848656
treefdcbbc0736617c5fbb6b4064b3dec7b2fd877fd8
parent4c1aa45fc6c0810d742b4644e148eb8c4be24bca
tests/ftp: Add tests for ftp_reply_received keyword

Add tests for the FTP keyword ftp.reply_received that alert on both
values for reply_received -- "yes" and "no".

Also validate that only yes, no, on, off are accepted.

Issue: 7506
tests/detect-ftp/ftp-reply-received-01/input.rules [new file with mode: 0644]
tests/detect-ftp/ftp-reply-received-01/test.yaml [new file with mode: 0644]
tests/detect-ftp/ftp-reply-received-02/input.rules [new file with mode: 0644]
tests/detect-ftp/ftp-reply-received-02/test.yaml [new file with mode: 0644]
tests/detect-ftp/ftp-reply-received-03/input.rules [new file with mode: 0644]
tests/detect-ftp/ftp-reply-received-03/test.yaml [new file with mode: 0644]