Edit tcpdump_getdata.sh
This commit is contained in:
parent
9dac42b3b4
commit
e487d56147
1 changed files with 4 additions and 2 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue