]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: iprep supports CIDR networks
authorEric Leblond <eric@regit.org>
Sat, 4 Aug 2018 07:49:59 +0000 (09:49 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 20 Aug 2018 09:03:00 +0000 (11:03 +0200)
doc/userguide/reputation/ipreputation/ip-reputation-format.rst

index af2249cdfbfbd5300130ff00ea7bb95e1ea46204..ef465e65949a3944d8ece725352d890e4a511b6a 100644 (file)
@@ -33,7 +33,7 @@ The reputation file lists a reputation score for hosts in the categories. It's a
 
   <ip>,<category>,<reputation score>
 
-The IP is an IPv4 address in the quad-dotted notation. The category is the number as defined in the categories file. The reputation score is the confidence that this IP is in the specified category, represented by a number between 1 and 127 (0 means no data).
+The IP is an IPv4 address in the quad-dotted notation or an IPv6 address. Both IP types support networks in CIDR notation. The category is the number as defined in the categories file. The reputation score is the confidence that this IP is in the specified category, represented by a number between 1 and 127 (0 means no data).
 
 Example:
 
@@ -41,7 +41,7 @@ Example:
 
 
   1.2.3.4,1,101
-  1.1.1.1,6,88
+  1.1.1.0/24,6,88
 
 If an IP address has a score in multiple categories it should be listed in the file multiple times.