]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc/userguide: add more operators to iprep
authorVictor Julien <vjulien@oisf.net>
Thu, 6 Jun 2024 15:38:34 +0000 (17:38 +0200)
committerVictor Julien <victor@inliniac.net>
Sun, 7 Jul 2024 05:10:42 +0000 (07:10 +0200)
(cherry picked from commit 2f74d435d369eaf6b8ef01565f6c8afd8743f216)

doc/userguide/rules/ip-reputation-rules.rst

index e8684021df2f183845b43f1a8b1353f4545ad3ac..0b14418b62a882d5b9e249edfcd3c5e8b5a5fac1 100644 (file)
@@ -17,17 +17,16 @@ The iprep directive matches on the IP reputation information for a host.
 
 side to check: <any|src|dst|both>
 
-category: the category short name
+``category``: the category short name
 
-operator: <, >, =
+``operator``: <, <=, >, >=, =
 
-reputation score: 0-127
+``reputation score``: 0-127
 
 Example:
 
 ::
 
-
   alert ip $HOME_NET any -> any any (msg:"IPREP internal host talking to CnC server"; flow:to_server; iprep:dst,CnC,>,30; sid:1; rev:1;)
 
 This rule will alert when a system in $HOME_NET acts as a client while communicating with any IP in the CnC category that has a reputation score set to greater than 30.