mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 05:05:12 +02:00
geoip: install and document xt_geoip_fetch
Add a man page for xt_geoip_fetch.1 and include it as part of the installed scripts. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:

committed by
Jan Engelhardt

parent
9193adc835
commit
f7f18f0c4f
@@ -1,5 +1,7 @@
|
||||
# -*- Makefile -*-
|
||||
|
||||
bin_SCRIPTS = xt_geoip_fetch
|
||||
|
||||
pkglibexec_SCRIPTS = xt_geoip_build xt_geoip_dl
|
||||
|
||||
man1_MANS = xt_geoip_build.1 xt_geoip_dl.1
|
||||
|
35
geoip/xt_geoip_fetch.1
Normal file
35
geoip/xt_geoip_fetch.1
Normal file
@@ -0,0 +1,35 @@
|
||||
.TH xt_geoip_fetch 1 "2020-04-30" "xtables-addons" "xtables-addons"
|
||||
.SH Name
|
||||
.PP
|
||||
xt_geoip_fetch \(em dump a country database to stdout
|
||||
.SH Syntax
|
||||
.PP
|
||||
\fBxt_geoip_fetch\fP [\fB\-D\fP
|
||||
\fIdatabase_dir\fP] [\fB-4\fP] [\fB-6\fP] \fIcc\fP [ \fIcc\fP ... ]
|
||||
.SH Description
|
||||
.PP
|
||||
xt_geoip_fetch unpacks a country's IPv4 or IPv6 databases and dumps
|
||||
them to standard output as a sorted, non-overlaping list of ranges (which
|
||||
is how they're represented in the database) suitable for browsing or
|
||||
further processing.
|
||||
.PP Options
|
||||
.TP
|
||||
\fB\-D\fP \fIdatabase_dir\fP
|
||||
Specifies the directory into which the files have been put. Defaults to ".".
|
||||
.TP
|
||||
\fB-4\fP
|
||||
Specifies IPv4 data only.
|
||||
.TP
|
||||
\fB-6\fP
|
||||
Specifies IPv6 data only.
|
||||
.TP
|
||||
\fIcc\fP [ \fIcc\fP ... ]
|
||||
The ISO-3166 country code names of the desired countries' databases.
|
||||
.SH Application
|
||||
.PP
|
||||
Shell command to dump the list of Swiss IPv6 address ranges:
|
||||
.PP
|
||||
xt_geoip_fetch \-D /usr/share/xt_geoip \-6 ch
|
||||
.SH See also
|
||||
.PP
|
||||
xt_geoip_build(1)
|
Reference in New Issue
Block a user