mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
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:
@@ -23,6 +23,8 @@ REPLAY_ENABLED=$(docker images | grep so-tcpreplay)
|
|||||||
REPLAY_RUNNING=$(docker ps | grep so-tcpreplay)
|
REPLAY_RUNNING=$(docker ps | grep so-tcpreplay)
|
||||||
|
|
||||||
if [ "$REPLAY_ENABLED" != "" ] && [ "$REPLAY_RUNNING" != "" ]; then
|
if [ "$REPLAY_ENABLED" != "" ] && [ "$REPLAY_RUNNING" != "" ]; then
|
||||||
|
echo
|
||||||
|
echo "Preparing to replay PCAPs..."
|
||||||
docker cp so-tcpreplay:/opt/samples /opt/samples
|
docker cp so-tcpreplay:/opt/samples /opt/samples
|
||||||
docker exec -it so-tcpreplay /usr/local/bin/tcpreplay -i bond0 -M10 /opt/samples/*
|
docker exec -it so-tcpreplay /usr/local/bin/tcpreplay -i bond0 -M10 /opt/samples/*
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user