Merge pull request #1514 from Security-Onion-Solutions/fix/replay_verbiage

Replay verbiage -- let users know when preparing to replay
This commit is contained in:
weslambert
2020-10-13 14:14:41 -04:00
committed by GitHub

View File

@@ -23,6 +23,8 @@ REPLAY_ENABLED=$(docker images | grep so-tcpreplay)
REPLAY_RUNNING=$(docker ps | grep so-tcpreplay)
if [ "$REPLAY_ENABLED" != "" ] && [ "$REPLAY_RUNNING" != "" ]; then
echo
echo "Preparing to replay PCAPs..."
docker cp so-tcpreplay:/opt/samples /opt/samples
docker exec -it so-tcpreplay /usr/local/bin/tcpreplay -i bond0 -M10 /opt/samples/*
echo