mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Update entrypoint.sh
This commit is contained in:
4
docker/tpotinit/dist/entrypoint.sh
vendored
4
docker/tpotinit/dist/entrypoint.sh
vendored
@ -330,7 +330,7 @@ if [ "${TPOT_OSTYPE}" == "linux" ];
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Display open ports
|
# Display open ports
|
||||||
if [ "${TPOT_OSTYPE}" = "linux" ];
|
if [ "${TPOT_OSTYPE}" == "linux" ];
|
||||||
then
|
then
|
||||||
echo
|
echo
|
||||||
echo "# This is a list of open ports on the host (netstat -tulpen)."
|
echo "# This is a list of open ports on the host (netstat -tulpen)."
|
||||||
@ -355,7 +355,7 @@ touch /tmp/success
|
|||||||
|
|
||||||
# We want to see true source for UDP packets in container (https://github.com/moby/libnetwork/issues/1994)
|
# We want to see true source for UDP packets in container (https://github.com/moby/libnetwork/issues/1994)
|
||||||
# Start autoheal if running on a supported os
|
# Start autoheal if running on a supported os
|
||||||
if [ "${TPOT_OSTYPE}" = "linux" ];
|
if [ "${TPOT_OSTYPE}" == "linux" ];
|
||||||
then
|
then
|
||||||
sleep 60
|
sleep 60
|
||||||
echo "# Dropping UDP connection tables to improve visibility of true source IPs."
|
echo "# Dropping UDP connection tables to improve visibility of true source IPs."
|
||||||
|
Reference in New Issue
Block a user