4 Commits

Author SHA1 Message Date
be42aaa958 Update Dockerfile 2019-04-18 10:24:42 +02:00
35e89b1e20 Fix for #311
Thanks to @ChessSpider for reporting!
2019-03-06 10:20:17 +01:00
c67e4593d7 Update Dockerfile 2019-02-06 16:43:09 +01:00
565f156173 Fix name for Suricata daemons 2019-02-06 16:13:03 +01:00
2 changed files with 2 additions and 5 deletions

View File

@ -8,7 +8,7 @@ RUN apk -U --no-cache add \
build-base \ build-base \
git \ git \
libffi-dev \ libffi-dev \
libssl1.0 \ libssl1.1 \
openssl-dev \ openssl-dev \
python-dev \ python-dev \
py-cffi \ py-cffi \
@ -20,7 +20,7 @@ RUN apk -U --no-cache add \
py-requests \ py-requests \
py-setuptools && \ py-setuptools && \
pip install --no-cache-dir -U pip && \ pip install --no-cache-dir -U pip && \
pip install --no-cache-dir pyOpenSSL && \ pip install --no-cache-dir pyOpenSSL xmljson && \
# Setup ewsposter # Setup ewsposter
git clone --depth=1 https://github.com/rep/hpfeeds /opt/hpfeeds && \ git clone --depth=1 https://github.com/rep/hpfeeds /opt/hpfeeds && \

View File

@ -27,9 +27,6 @@ ExecStartPre=-/bin/bash -c '/sbin/ethtool --offload $(/sbin/ip address | grep "^
ExecStartPre=/bin/bash -c '/sbin/ethtool -K $(/sbin/ip address | grep "^2: " | awk \'{ print $2 }\' | tr -d [:punct:]) gso off gro off' ExecStartPre=/bin/bash -c '/sbin/ethtool -K $(/sbin/ip address | grep "^2: " | awk \'{ print $2 }\' | tr -d [:punct:]) gso off gro off'
ExecStartPre=/bin/bash -c '/sbin/ip link set $(/sbin/ip address | grep "^2: " | awk \'{ print $2 }\' | tr -d [:punct:]) promisc on' ExecStartPre=/bin/bash -c '/sbin/ip link set $(/sbin/ip address | grep "^2: " | awk \'{ print $2 }\' | tr -d [:punct:]) promisc on'
# Modify access rights on docker.sock for netdata
ExecStartPre=-/bin/chmod 666 /var/run/docker.sock
# Set iptables accept rules to avoid forwarding to honeytrap / NFQUEUE # Set iptables accept rules to avoid forwarding to honeytrap / NFQUEUE
# Forward all other connections to honeytrap / NFQUEUE # Forward all other connections to honeytrap / NFQUEUE
ExecStartPre=/opt/tpot/bin/rules.sh /opt/tpot/etc/tpot.yml set ExecStartPre=/opt/tpot/bin/rules.sh /opt/tpot/etc/tpot.yml set