mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-10-27 10:40:10 +00:00
Compare commits
No commits in common. "84447e686df1b17e18860c5659897c2efa7cd299" and "ae254943a6a44a5ee711c32adb44371c7bcfc574" have entirely different histories.
84447e686d
...
ae254943a6
9 changed files with 9 additions and 9 deletions
|
|
@ -18,7 +18,7 @@ PUSH_IMAGES=false
|
|||
NO_CACHE=false
|
||||
PARALLELBUILDS=2
|
||||
UPLOAD_BANDWIDTH=40mbit # Set this to max 90% of available upload bandwidth
|
||||
INTERFACE=$(ip route | grep "^default" | awk '{ print $5 }')
|
||||
INTERFACE=$(/sbin/ip address show | /usr/bin/awk '/inet.*brd/{ print $NF; exit }')
|
||||
|
||||
# Help message
|
||||
usage() {
|
||||
|
|
|
|||
|
|
@ -42,4 +42,4 @@ STOPSIGNAL SIGINT
|
|||
ENV PYTHONPATH /opt/fatt
|
||||
WORKDIR /opt/fatt
|
||||
USER fatt:fatt
|
||||
CMD python3 fatt.py -i $(ip route | grep "^default" | awk '{ print $5 }') --print_output --json_logging -o log/fatt.log
|
||||
CMD python3 fatt.py -i $(/sbin/ip address show | /usr/bin/awk '/inet.*brd/{ print $NF; exit }') --print_output --json_logging -o log/fatt.log
|
||||
|
|
|
|||
|
|
@ -14,6 +14,6 @@ services:
|
|||
- NET_ADMIN
|
||||
- SYS_NICE
|
||||
- NET_RAW
|
||||
image: "ghcr.io/telekom-security/fatt:24.04.1"
|
||||
image: "dtagdevsec/fatt:24.04"
|
||||
volumes:
|
||||
- $HOME/tpotce/data/fatt/log:/opt/fatt/log
|
||||
|
|
|
|||
|
|
@ -40,4 +40,4 @@ RUN apk -U --no-cache upgrade && \
|
|||
# Start glutton
|
||||
WORKDIR /opt/glutton
|
||||
USER 2000:2000
|
||||
CMD exec bin/server -d true -i $(ip route | grep "^default" | awk '{ print $5 }') -l /var/log/glutton/glutton.log > /dev/null 2>&1
|
||||
CMD exec bin/server -d true -i $(/sbin/ip address show | /usr/bin/awk '/inet.*brd/{ print $NF; exit }') -l /var/log/glutton/glutton.log > /dev/null 2>&1
|
||||
|
|
|
|||
|
|
@ -33,4 +33,4 @@ RUN apk --no-cache -U upgrade && \
|
|||
# Start p0f
|
||||
WORKDIR /opt/p0f
|
||||
USER p0f:p0f
|
||||
CMD exec /opt/p0f/p0f -u p0f -j -o /var/log/p0f/p0f.json -i $(ip route | grep "^default" | awk '{ print $5 }') > /dev/null
|
||||
CMD exec /opt/p0f/p0f -u p0f -j -o /var/log/p0f/p0f.json -i $(/sbin/ip address show | /usr/bin/awk '/inet.*brd/{ print $NF; exit }') > /dev/null
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ services:
|
|||
# cpu_count: 1
|
||||
# cpus: 0.75
|
||||
network_mode: "host"
|
||||
image: "ghcr.io/telekom-security/p0f:24.04.1"
|
||||
image: "dtagdevsec/p0f:24.04"
|
||||
read_only: true
|
||||
volumes:
|
||||
- $HOME/tpotce/data/p0f/log:/var/log/p0f
|
||||
|
|
|
|||
|
|
@ -37,4 +37,4 @@ RUN apk --no-cache -U upgrade && \
|
|||
#
|
||||
# Start suricata
|
||||
STOPSIGNAL SIGINT
|
||||
CMD SURICATA_CAPTURE_FILTER=$(update.sh $OINKCODE) && exec suricata -v -F $SURICATA_CAPTURE_FILTER -i $(ip route | grep "^default" | awk '{ print $5 }')
|
||||
CMD SURICATA_CAPTURE_FILTER=$(update.sh $OINKCODE) && exec suricata -v -F $SURICATA_CAPTURE_FILTER -i $(/sbin/ip address show | /usr/bin/awk '/inet.*brd/{ print $NF; exit }')
|
||||
|
|
|
|||
|
|
@ -135,4 +135,4 @@ RUN apk -U add \
|
|||
#
|
||||
# Start suricata
|
||||
STOPSIGNAL SIGINT
|
||||
CMD SURICATA_CAPTURE_FILTER=$(update.sh $OINKCODE) && exec suricata -v -F $SURICATA_CAPTURE_FILTER -i $(ip route | grep "^default" | awk '{ print $5 }')
|
||||
CMD SURICATA_CAPTURE_FILTER=$(update.sh $OINKCODE) && exec suricata -v -F $SURICATA_CAPTURE_FILTER -i $(/sbin/ip address show | /usr/bin/awk '/inet.*brd/{ print $NF; exit }')
|
||||
|
|
|
|||
|
|
@ -15,6 +15,6 @@ services:
|
|||
- NET_ADMIN
|
||||
- SYS_NICE
|
||||
- NET_RAW
|
||||
image: "ghcr.io/telekom-security/suricata:24.04.1"
|
||||
image: "dtagdevsec/suricata:24.04"
|
||||
volumes:
|
||||
- $HOME/tpotce/data/suricata/log:/var/log/suricata
|
||||
|
|
|
|||
Loading…
Reference in a new issue