Skip to content

Commit

Permalink
doc/userguide: add more operators to iprep
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Jun 15, 2024
1 parent 37be66e commit 2f74d43
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions doc/userguide/rules/ip-reputation-rules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2f74d43

Please sign in to comment.