mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-14 20:28:12 +00:00
Update internet IF retrieval
To be consistent with @adepasquale PR #746 fatt, glutton and p0f Dockerfiles were updated accordingly.
This commit is contained in:
parent
db73a0656e
commit
d2dc43e1ef
3 changed files with 3 additions and 3 deletions
|
@ -40,4 +40,4 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
ENV PYTHONPATH /opt/fatt
|
ENV PYTHONPATH /opt/fatt
|
||||||
WORKDIR /opt/fatt
|
WORKDIR /opt/fatt
|
||||||
CMD python3 fatt.py -i $(/sbin/ip address | grep '^2: ' | awk '{ print $2 }' | tr -d [:punct:]) --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
|
||||||
|
|
|
@ -53,4 +53,4 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||||
# Start glutton
|
# Start glutton
|
||||||
WORKDIR /opt/glutton
|
WORKDIR /opt/glutton
|
||||||
USER glutton:glutton
|
USER glutton:glutton
|
||||||
CMD exec bin/server -i $(/sbin/ip address | grep '^2: ' | awk '{ print $2 }' | tr -d [:punct:]) -l /var/log/glutton/glutton.log > /dev/null 2>&1
|
CMD exec bin/server -i $(/sbin/ip address show | /usr/bin/awk '/inet.*brd/{ print $NF; exit }') -l /var/log/glutton/glutton.log > /dev/null 2>&1
|
||||||
|
|
|
@ -32,4 +32,4 @@ RUN apk -U --no-cache add \
|
||||||
# Start p0f
|
# Start p0f
|
||||||
WORKDIR /opt/p0f
|
WORKDIR /opt/p0f
|
||||||
USER p0f:p0f
|
USER p0f:p0f
|
||||||
CMD exec /opt/p0f/p0f -u p0f -j -o /var/log/p0f/p0f.json -i $(/sbin/ip address | grep '^2: ' | awk '{ print $2 }' | tr -d [:punct:]) > /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
|
||||||
|
|
Loading…
Reference in a new issue