From e60304147e6acf7a8c1c547685b8332fcd71c525 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 12 Dec 2023 12:29:08 -0500 Subject: [PATCH] Add Geo Support --- so-suricata/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/so-suricata/Dockerfile b/so-suricata/Dockerfile index 8baa3f75..491702d4 100644 --- a/so-suricata/Dockerfile +++ b/so-suricata/Dockerfile @@ -22,7 +22,7 @@ RUN dnf -y install oraclelinux-developer-release-el9 RUN dnf repolist RUN dnf -y install autoconf automake diffutils file-devel gcc gcc-c++ git \ jansson-devel jq libcap-ng-devel libevent-devel \ - libmaxminddb-devel libnet-devel libnetfilter_queue-devel \ + libmaxminddb-devel libmaxminddb libnet-devel libnetfilter_queue-devel \ libnfnetlink-devel libpcap-devel libtool libyaml-devel \ lua-devel lz4-devel make nss-devel pcre-devel pcre2-devel pkgconfig \ python3-devel python3-sphinx python3-yaml sudo which cargo \ @@ -33,7 +33,7 @@ RUN mkdir /suricata WORKDIR /suricata RUN curl -vO https://www.openinfosecfoundation.org/download/suricata-$SURIVERSION.tar.gz && tar zxvf suricata-$SURIVERSION.tar.gz && \ - cd suricata-$SURIVERSION && ./configure --enable-rust --enable-luajit --prefix=/opt/suricata --sysconfdir=/etc --disable-gccmarch-native --localstatedir=/var && make -j4 + cd suricata-$SURIVERSION && ./configure --enable-rust --enable-luajit --prefix=/opt/suricata --sysconfdir=/etc --disable-gccmarch-native --localstatedir=/var --enable-geoip && make -j4 RUN mkdir suriinstall && cd suricata-$SURIVERSION && make install DESTDIR=/suricata/suriinstall && make install-conf DESTDIR=/suricata/suriinstall && rm -rf /suricata/suriinstall/var/run FROM ghcr.io/security-onion-solutions/oraclelinux:9