Edit tcpdump_getdata.sh

This commit is contained in:
Peter Baumann 2025-02-25 11:50:09 +01:00
parent 9dac42b3b4
commit e487d56147

View file

@ -4,4 +4,6 @@ PATH=/var/tmp/
FILENAME=tcpdump_$DATE.pcap
# Execute tcpdump command
/usr/sbin/tcpdump -i $INTERFACE -s0 -w "$PATH/$FILENAME"
# -W 5 = Limit 5 files
# -G 60 = Rotate every 60 seconds
/usr/sbin/tcpdump -i $INTERFACE -s0 -w "$PATH/$FILENAME" -W 5 -G 60