mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update snort
This commit is contained in:
@@ -10,7 +10,7 @@ ENV SNORT_URL=https://www.snort.org/downloads/snort/snort-${SNORT_VERSION}-1.cen
|
|||||||
ENV RULES_URL=https://www.snort.org/downloads/community/community-rules.tar.gz
|
ENV RULES_URL=https://www.snort.org/downloads/community/community-rules.tar.gz
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& yum -y install epel-release libdnet \
|
&& yum -y install epel-release jq libdnet \
|
||||||
&& yum -y install ${SNORT_URL} \
|
&& yum -y install ${SNORT_URL} \
|
||||||
&& mkdir -p /etc/snort/rules \
|
&& mkdir -p /etc/snort/rules \
|
||||||
&& curl -sSL ${RULES_URL} | \
|
&& curl -sSL ${RULES_URL} | \
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
--directory=/var/log/snort
|
--directory=/var/log/snort
|
||||||
--prefix=snort.alert
|
--prefix=snort.alert
|
||||||
--follow
|
--follow
|
||||||
--bookmark
|
--bookmark=/var/log/snort/u2json.mark
|
||||||
--delete
|
--delete
|
||||||
--output=/var/log/snort/alert.json
|
--output=/var/log/snort/alert.json
|
||||||
|
|||||||
Reference in New Issue
Block a user