]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/ftp: Add ftp.dynamic_port keyword
authorJeff Lucovsky <jlucovsky@oisf.net>
Thu, 24 Apr 2025 12:46:13 +0000 (08:46 -0400)
committerVictor Julien <victor@inliniac.net>
Fri, 25 Apr 2025 07:51:46 +0000 (09:51 +0200)
commit19fe098e88085c7ed9ff809a8c65908afc56c638
tree773d7fb3ac136127a8cfde163f6b2c428695edca
parent04bf28d6a1628c6b5c1f72557da4598e42b75f8c
detect/ftp: Add ftp.dynamic_port keyword

Issue: 7504

Add implementation of the ftp.dynamic_port rule keyword. The
implementation uses the U16 integer matching/parsing and thus supports
the comparison operations such as <, >, <=, >=, !, !=, and range (-).
src/Makefile.am
src/detect-engine-register.c
src/detect-engine-register.h
src/detect-ftp-dynamic-port.c [new file with mode: 0644]
src/detect-ftp-dynamic-port.h [new file with mode: 0644]