Regardless of the software, there are four main phases of packet analysis: gather, decode, display, and analyze, as shown in the following diagram:
Phases of packet analysis
The first step in packet analysis is to obtain network traffic in some way. The following steps go through the gather process of packet analysis, which involves capturing the network traffic. We'll start with the first step, Gather, where we collect the data from the network.