Category Archives: Wireshark

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 Files\wireshark
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:\wireshark\test.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