mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Optimize for linux
This commit is contained in:
4
docker/tpotinit/dist/entrypoint.sh
vendored
4
docker/tpotinit/dist/entrypoint.sh
vendored
@ -360,7 +360,8 @@ if [ "${TPOT_OSTYPE}" = "linux" ];
|
|||||||
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."
|
||||||
/usr/sbin/conntrack -D -p udp
|
/usr/sbin/conntrack -D -p udp
|
||||||
else
|
fi
|
||||||
|
|
||||||
# Starting container health monitoring
|
# Starting container health monitoring
|
||||||
echo
|
echo
|
||||||
figlet "Starting ..."
|
figlet "Starting ..."
|
||||||
@ -371,4 +372,3 @@ if [ "${TPOT_OSTYPE}" = "linux" ];
|
|||||||
PID=$!
|
PID=$!
|
||||||
wait $PID
|
wait $PID
|
||||||
echo "# T-Pot Init and Autoheal were stopped. Exiting."
|
echo "# T-Pot Init and Autoheal were stopped. Exiting."
|
||||||
fi
|
|
||||||
|
Reference in New Issue
Block a user