]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
xt_geoip: update manpage with instructions for db build
authorJan Engelhardt <jengelh@medozas.de>
Wed, 17 Nov 2010 14:13:16 +0000 (15:13 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 17 Nov 2010 14:13:16 +0000 (15:13 +0100)
extensions/libxt_geoip.man

index 007caa4ce490b8c683c085d2fd03753cca4b0e96..5683bccd000f3910f78dcc7f5c4b284b1e863fd9 100644 (file)
@@ -10,8 +10,14 @@ NOTE:
 The country is inputed by its ISO-3166 code.
 .PP
 The extra files you will need is the binary database files. They are generated
-from a country-subnet database with the geoip_csv_iv0.pl tool that should be
-available in /usr/lib(exec)/xtables-addons/ . The resulting files MUST be moved
-to /usr/share/xt_geoip/
-as the shared library is statically looking for this pathname (e.g.
-/usr/share/xt_geoip/LE/de.iv0).
+from a country-subnet database with the geoip_build_db.pl tool that is shipped
+with the source package, and which should be available in compiled packages in
+/usr/lib(exec)/xtables-addons/. The first command retrieves CSV files from
+MaxMind, while the other two build packed bisectable range files:
+.PP
+cd /tmp; $path/to/geoip_download.sh;
+.PP
+$path/to/geoip_build_db.pl -D /usr/share/xt_geoip/LE
+$path/to/geoip_build_db.pl -D /usr/share/xt_geoip/BE -b
+.PP
+The shared library is hardcoded to look in these paths, so use them.