mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
be42aaa958 | |||
35e89b1e20 | |||
c67e4593d7 | |||
565f156173 |
@ -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 && \
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user