mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Adjusted logic on so-tcpreplay to handle init for standalone/eval nodes
This commit is contained in:
@@ -51,13 +51,12 @@ if ! docker ps | grep -q so-tcpreplay; then
|
||||
TRUSTED_CONTAINERS=("so-tcpreplay")
|
||||
mkdir -p /opt/so/log/tcpreplay
|
||||
update_docker_containers "tcpreplay" "" "" "/opt/so/log/tcpreplay/init.log"
|
||||
elif is_sensor; then
|
||||
fi
|
||||
if is_sensor; then
|
||||
if ! is_manager; then
|
||||
echo "Attempting to start replay container. If this fails then you may need to run this command on the manager first."
|
||||
fi
|
||||
so-tcpreplay-start || fail "Unable to initialize tcpreplay"
|
||||
else
|
||||
echo "Unable to enable replay functionality on this node type."
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user