Introduction
In this lab, you will learn to automate file rotation in Tshark using Wireshark's dumpcap
utility for efficient packet capture management. You'll configure both size-based rotation (1MB limit with -b filesize:1000
) and count-based rotation (5 file limit with -b files:5
) to optimize disk space during network analysis.
The lab guides you through capturing traffic on the eth1
interface with rotation parameters, then verifying the output files. These techniques help maintain organized packet captures while preventing storage overload during extended monitoring sessions.