mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
prep for new listbot FQDN
This commit is contained in:
parent
be7afd8042
commit
680194adf7
5 changed files with 13 additions and 12 deletions
|
@ -20,8 +20,8 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||||
# Get and install packages
|
# Get and install packages
|
||||||
mkdir -p /etc/listbot && \
|
mkdir -p /etc/listbot && \
|
||||||
cd /etc/listbot && \
|
cd /etc/listbot && \
|
||||||
aria2c -s16 -x 16 http://80.158.38.137/cve.yaml.bz2 && \
|
aria2c -s16 -x 16 https://listbot.sicherheitstacho.eu/cve.yaml.bz2 && \
|
||||||
aria2c -s16 -x 16 http://80.158.38.137/iprep.yaml.bz2 && \
|
aria2c -s16 -x 16 https://listbot.sicherheitstacho.eu/iprep.yaml.bz2 && \
|
||||||
bunzip2 *.bz2 && \
|
bunzip2 *.bz2 && \
|
||||||
cd /root/dist/ && \
|
cd /root/dist/ && \
|
||||||
mkdir -p /usr/share/logstash/ && \
|
mkdir -p /usr/share/logstash/ && \
|
||||||
|
|
10
docker/elk/logstash/dist/update.sh
vendored
10
docker/elk/logstash/dist/update.sh
vendored
|
@ -22,17 +22,17 @@ for i in $mySITES;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check for connectivity and download latest translation maps
|
# Check for connectivity and download latest translation maps
|
||||||
myCHECK=$(fuCHECKINET "80.158.38.137")
|
myCHECK=$(fuCHECKINET "listbot.sicherheitstacho.eu")
|
||||||
if [ "$myCHECK" == "0" ];
|
if [ "$myCHECK" == "0" ];
|
||||||
then
|
then
|
||||||
echo "Connection to Netlify looks good, now downloading latest translation maps."
|
echo "Connection to Listbot looks good, now downloading latest translation maps."
|
||||||
cd /etc/listbot
|
cd /etc/listbot
|
||||||
aria2c -s16 -x 16 http://80.158.38.137/cve.yaml.bz2 && \
|
aria2c -s16 -x 16 https://listbot.sicherheitstacho.eu/cve.yaml.bz2 && \
|
||||||
aria2c -s16 -x 16 http://80.158.38.137/iprep.yaml.bz2 && \
|
aria2c -s16 -x 16 https://listbot.sicherheitstacho.eu/iprep.yaml.bz2 && \
|
||||||
bunzip2 -f *.bz2
|
bunzip2 -f *.bz2
|
||||||
cd /
|
cd /
|
||||||
else
|
else
|
||||||
echo "Cannot reach Github, starting Logstash without latest translation maps."
|
echo "Cannot reach Listbot, starting Logstash without latest translation maps."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make sure logstash can put latest logstash template by deleting the old one first
|
# Make sure logstash can put latest logstash template by deleting the old one first
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:latest
|
FROM alpine:3.10
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
ADD dist/ /root/dist/
|
ADD dist/ /root/dist/
|
||||||
|
@ -9,6 +9,7 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||||
build-base \
|
build-base \
|
||||||
git \
|
git \
|
||||||
libcap \
|
libcap \
|
||||||
|
py2-markupsafe \
|
||||||
python2 \
|
python2 \
|
||||||
python2-dev \
|
python2-dev \
|
||||||
py2-pip \
|
py2-pip \
|
||||||
|
|
|
@ -4,7 +4,8 @@ FROM alpine:latest
|
||||||
ADD dist/ /root/dist/
|
ADD dist/ /root/dist/
|
||||||
#
|
#
|
||||||
# Install packages
|
# Install packages
|
||||||
RUN apk -U --no-cache add \
|
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||||
|
apk -U --no-cache add \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
file \
|
file \
|
||||||
|
|
5
docker/suricata/dist/capture-filter.bpf
vendored
5
docker/suricata/dist/capture-filter.bpf
vendored
|
@ -1,4 +1,3 @@
|
||||||
not (host sicherheitstacho.eu or community.sicherheitstacho.eu) and
|
not (host sicherheitstacho.eu or community.sicherheitstacho.eu or listbot.sicherheitstacho.eu) and
|
||||||
not (host deb.debian.org) and
|
not (host deb.debian.org) and
|
||||||
not (host index.docker.io or docker.io) and
|
not (host index.docker.io or docker.io)
|
||||||
not (host 80.158.38.137)
|
|
||||||
|
|
Loading…
Reference in a new issue