This commit is contained in:
Kameron Kenny 2024-10-30 10:33:32 -04:00
parent 57220ccc3f
commit 070725bc35
No known key found for this signature in database
GPG Key ID: E5006629839D2276
8 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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" )
);
};

View File

@ -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" )
);
};

View File

@ -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" )
);
};

View File

Before

Width:  |  Height:  |  Size: 49 MiB

After

Width:  |  Height:  |  Size: 49 MiB