]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
userguide: update geoip information
authorjason taylor <jtfas90@gmail.com>
Thu, 20 Oct 2022 21:05:29 +0000 (21:05 +0000)
committerVictor Julien <vjulien@oisf.net>
Thu, 10 Nov 2022 13:42:44 +0000 (15:42 +0200)
Signed-off-by: jason taylor <jtfas90@gmail.com>
doc/userguide/rules/header-keywords.rst

index 2025f0090d58c64cc4be5075d9f23c41cd402979..69f3967e9d67399417affe25ecf09fc495515bd1 100644 (file)
@@ -163,7 +163,7 @@ Example of id in a rule:
 
 geoip
 ^^^^^
-The geoip keyword enables (you) to match on the source, destination or
+The geoip keyword enables matching on the source, destination or
 source and destination IPv4 addresses of network traffic, and to see to
 which country it belongs. To be able to do this, Suricata uses the GeoIP2
 API of MaxMind.
@@ -176,22 +176,19 @@ The syntax of geoip::
   geoip: both,US,CA,UK;
   geoip: any,CN,IR;
 
-So, you can see you can use the following to make clear on which
-direction you would like to match
-
 ====== =============================================================
 Option Description
 ====== =============================================================
-both   Both directions have to match with the given geoip(s)
-any    One of the directions has to match with the given geoip(s).
-dest   If the destination matches with the given geoip.
+both   Both source and destination have to match with the given geoip(s)
+any    Either the source or the destination has to match with the given geoip(s).
+dest   The destination matches with the given geoip.
 src    The source matches with the given geoip.
 ====== =============================================================
 
-The keyword only supports IPv4. As it uses the GeoIP2 API of MaxMind,
+geoip currently only supports IPv4. As it uses the GeoIP2 API of MaxMind,
 libmaxminddb must be compiled in. You must download and install the
 GeoIP2 or GeoLite2 database editions desired. Visit the MaxMind site
-at https://dev.maxmind.com/geoip/geoip2/geolite2/ for details.
+at https://dev.maxmind.com/geoip/geolite2-free-geolocation-data for details.
 
 You must also supply the location of the GeoIP2 or GeoLite2 database
 file on the local system in the YAML-file configuration (for example)::