geoip
This commit is contained in:
parent
57220ccc3f
commit
070725bc35
|
@ -12,8 +12,8 @@ RUN apt-get -y install syslog-ng syslog-ng-core syslog-ng-mod-add-contextual-dat
|
|||
RUN mkdir /config
|
||||
COPY config /config
|
||||
|
||||
RUN mkdir -p /config/GeoIP
|
||||
COPY data/GeoIP/GeoLite2-City.mmdb /config/GeoIP/GeoLite2-City.mmdb
|
||||
RUN mkdir -p /usr/local/share/GeoIP
|
||||
COPY data/GeoIP/GeoLite2-City.mmdb /usr/local/share/GeoIP/GeoLite2-City.mmdb
|
||||
|
||||
RUN unlink /etc/localtime && ln -s /usr/share/zoneinfo/America/Indiana/Indianapolis /etc/localtime
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ parser p_bind_client_ip_geoip2_city {
|
|||
geoip2(
|
||||
"${bind9.client.ip}",
|
||||
prefix( "geoip2.source." )
|
||||
database( "GeoIP/GeoLite2-City.mmdb" )
|
||||
database( "/usr/local/share/GeoIP/GeoLite2-City.mmdb" )
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ parser p_nginx_client_ip_geoip2_city {
|
|||
geoip2(
|
||||
"${nginx.client.ip}",
|
||||
prefix( "geoip2.source." )
|
||||
database( "GeoIP/GeoLite2-City.mmdb" )
|
||||
database( "/usr/local/share/GeoIP/GeoLite2-City.mmdb" )
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ parser p_fw_src_ip_geoip2_city {
|
|||
geoip2(
|
||||
"${kv.SRC}",
|
||||
prefix( "geoip2.source." )
|
||||
database( "GeoIP/GeoLite2-City.mmdb" )
|
||||
database( "/usr/local/share/GeoIP/GeoLite2-City.mmdb" )
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -28,7 +28,7 @@ parser p_fw_dst_ip_geoip2_city {
|
|||
geoip2(
|
||||
"${kv.DST}",
|
||||
prefix( "geoip2.destination." )
|
||||
database( "GeoIP/GeoLite2-City.mmdb" )
|
||||
database( "/usr/local/share/GeoIP/GeoLite2-City.mmdb" )
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -36,7 +36,7 @@ parser p_suricata_dest_ip_geoip2_city {
|
|||
geoip2(
|
||||
"${suricata.dest_ip}",
|
||||
prefix( "geoip2.destination." )
|
||||
database( "GeoIP/GeoLite2-City.mmdb" )
|
||||
database( "/usr/local/share/GeoIP/GeoLite2-City.mmdb" )
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -44,7 +44,7 @@ parser p_suricata_src_ip_geoip2_city {
|
|||
geoip2(
|
||||
"${suricata.src_ip}",
|
||||
prefix( "geoip2.source." )
|
||||
database( "GeoIP/GeoLite2-City.mmdb" )
|
||||
database( "/usr/local/share/GeoIP/GeoLite2-City.mmdb" )
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Before Width: | Height: | Size: 49 MiB After Width: | Height: | Size: 49 MiB |
Loading…
Reference in New Issue