]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
detect/ftp: Tests for ftp.dynamic_port 2465/head
authorJeff Lucovsky <jlucovsky@oisf.net>
Sun, 20 Apr 2025 19:32:58 +0000 (15:32 -0400)
committerJeff Lucovsky <jlucovsky@oisf.net>
Thu, 24 Apr 2025 14:17:42 +0000 (10:17 -0400)
commitd54a3f3daeb5a39b22c5942fe9844ed4f6dfc8d8
tree34b015b003475751539cd475c91a13104d691193
parentabd966d7a9744d807ad81ef412b23e41a1e56b13
detect/ftp: Tests for ftp.dynamic_port

Add tests for FTP's dynamic_port -- active and passive.

The ftp-active-dynamic_port-01 test case includes tests for the
comparison operands -- since the implementation uses the U16 matching
and parsing logic, only one test case has the additional test cases.
15 files changed:
tests/detect-ftp/ftp-active-dynamic_port-01/input.rules [new file with mode: 0644]
tests/detect-ftp/ftp-active-dynamic_port-01/test.yaml [new file with mode: 0644]
tests/detect-ftp/ftp-active-dynamic_port-02/Makefile [new file with mode: 0644]
tests/detect-ftp/ftp-active-dynamic_port-02/README.md [new file with mode: 0644]
tests/detect-ftp/ftp-active-dynamic_port-02/ftp-active-dynamic_port.pcap [new file with mode: 0644]
tests/detect-ftp/ftp-active-dynamic_port-02/ftp-active-dynamic_port.syn [new file with mode: 0644]
tests/detect-ftp/ftp-active-dynamic_port-02/input.rules [new file with mode: 0644]
tests/detect-ftp/ftp-active-dynamic_port-02/test.yaml [new file with mode: 0644]
tests/detect-ftp/ftp-passive-dynamic_port-01/input.rules [new file with mode: 0644]
tests/detect-ftp/ftp-passive-dynamic_port-01/test.yaml [new file with mode: 0644]
tests/detect-ftp/ftp-passive-dynamic_port-02/Makefile [new file with mode: 0644]
tests/detect-ftp/ftp-passive-dynamic_port-02/ftp-passive-dynamic_port.pcap [new file with mode: 0644]
tests/detect-ftp/ftp-passive-dynamic_port-02/ftp-passive-dynamic_port.syn [new file with mode: 0644]
tests/detect-ftp/ftp-passive-dynamic_port-02/input.rules [new file with mode: 0644]
tests/detect-ftp/ftp-passive-dynamic_port-02/test.yaml [new file with mode: 0644]