mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-06 20:55:13 +02:00
geoip: use /usr/share/xt_geoip instead of /var/geoip
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
HEAD
|
HEAD
|
||||||
====
|
====
|
||||||
|
- geoip: for FHS compliance use /usr/share/xt_geoip instead of /var/geoip
|
||||||
|
|
||||||
|
|
||||||
Xtables-addons 1.21 (December 09 2009)
|
Xtables-addons 1.21 (December 09 2009)
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <xtables.h>
|
#include <xtables.h>
|
||||||
#include "xt_geoip.h"
|
#include "xt_geoip.h"
|
||||||
#define GEOIP_DB_DIR "/var/geoip"
|
#define GEOIP_DB_DIR "/usr/share/xt_geoip"
|
||||||
|
|
||||||
static void geoip_help(void)
|
static void geoip_help(void)
|
||||||
{
|
{
|
||||||
|
@@ -7,10 +7,11 @@ Match packet coming from (one of) the specified country(ies)
|
|||||||
Match packet going to (one of) the specified country(ies)
|
Match packet going to (one of) the specified country(ies)
|
||||||
.TP
|
.TP
|
||||||
NOTE:
|
NOTE:
|
||||||
The country is inputed by its ISO3166 code.
|
The country is inputed by its ISO-3166 code.
|
||||||
.P
|
.PP
|
||||||
The extra files you will need is the binary database files. They are generated
|
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, available at
|
from a country-subnet database with the geoip_csv_iv0.pl tool, available at
|
||||||
http://jengelh.hopto.org/files/geoip/ . The files MUST be moved to /var/geoip/
|
http://jengelh.hopto.org/files/geoip/ . The files MUST be moved to
|
||||||
|
/usr/share/xt_geoip/
|
||||||
as the shared library is statically looking for this pathname (e.g.
|
as the shared library is statically looking for this pathname (e.g.
|
||||||
/var/geoip/LE/de.iv0).
|
/usr/share/xt_geoip/LE/de.iv0).
|
||||||
|
Reference in New Issue
Block a user