

So many, as a matter of fact, that there is no way that we can cover them all in this chapter.

Wireshark has a ton of features that are useful for analyzing packets. This is ideal for visually bouncing around to different packets and determining their properties quickly. Furthermore, when you click on a field in the packet details pane, it will highlight the bytes associated with that field in the packet bytes pane. When you click on a packet in the packet list pane, it shows data related to that packet in the packet details and packet bytes panes. The important thing to note when interacting with these three panes is that the data that each one displays is linked to actions taken in the other panes. The bottom pane is the packet bytes pane, and details the individual bytes that comprise a packet, shown in hex and ASCII format, similar to tcpdump’s –X option. The middle pane is the packet details pane, and shows detailed information about the data fields contained within the packet that is selected in the packet list pane. The default columns include a packet number, a timestamp (defaulting to the time since the beginning of the capture), source and destination address, protocol, packet length, and an info column that contains protocol-specific information. The uppermost is the packet list pane, which shows each packet summarized into a single line, with individual fields separated as columns. Looking at the image above, you will notice that Wireshark is divided into three panes. You may also use Wireshark capture and analysis tool.Figure 13.30. To capture all packets from a specific host on the network: Tcpdump: verbose output suppressed, use -v or -vv for full protocol decode To capture all packets on the WAN (the below assumes that interface eth1 is the WAN interface): tcpdump relies on libcap, therefore it can produce standard pcap analysis files which may be processed by other tools. It may be used to capture packets on the fly and/or save them in a file for later analysis. Tcpdump is a network capture and analysis tool.
