mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-21 03:54:59 +02:00
geoip: rename xt_geoip_fetch to xt_geoip_query
"fetch" sounds a bit like "download", but that is not what this utility does. Calling it "query" seems more appropriate.
This commit is contained in:
35
geoip/xt_geoip_query.1
Normal file
35
geoip/xt_geoip_query.1
Normal file
@@ -0,0 +1,35 @@
|
||||
.TH xt_geoip_query 1 "2020-04-30" "xtables-addons" "xtables-addons"
|
||||
.SH Name
|
||||
.PP
|
||||
xt_geoip_query \(em dump a country database to stdout
|
||||
.SH Syntax
|
||||
.PP
|
||||
\fBxt_geoip_query\fP [\fB\-D\fP
|
||||
\fIdatabase_dir\fP] [\fB-4\fP] [\fB-6\fP] \fIcc\fP [ \fIcc\fP ... ]
|
||||
.SH Description
|
||||
.PP
|
||||
xt_geoip_query reads a country's IPv4 or IPv6 databases and dumps
|
||||
them to standard output as a sorted, non-overlapping list of ranges (which
|
||||
is how they are 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_query \-D /usr/share/xt_geoip \-6 ch
|
||||
.SH See also
|
||||
.PP
|
||||
xt_geoip_build(1)
|
Reference in New Issue
Block a user