]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect/integers: document usage of units
authorPhilippe Antoine <pantoine@oisf.net>
Wed, 30 Jul 2025 15:24:35 +0000 (17:24 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 29 Aug 2025 07:09:44 +0000 (09:09 +0200)
Ticket: 7190

doc/userguide/rules/integer-keywords.rst

index 50b3a9a943ff30317c8708638a96f7bb06af96f0..7c41f7eda8a541eabe10e8e1ae2c52da8b4770b8 100644 (file)
@@ -13,6 +13,12 @@ Simple example::
 The integer value can be written as base-10 like ``100`` or as 
 an hexadecimal value like ``0x64``.
 
+The integer value can also have a unit/multiplier as a
+case-insensitive suffix:
+* kb : 1024
+* mb : 1048576
+* gb : 1073741824
+
 The most direct example is to match for equality, but there are
 different modes.