Perform a rolling 4GB network capture

Install wireshark on a computer you want to capture from
Navigate to the installation directory of wireshark
C:Program Fileswireshark
run the following command replacing the with appropriate options
dumpcap -i -w -b filesize:32768 -b files:128

dumpcap -t “Local Area Connection 2” -w “C:wiresharktest.cap” -b filesize:32768 -b files:128

This captures 128 files with 32MB size for each file, uses 4GB of disk space and rotates out oldest first

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s