General Format & Common Options
where:
-A
means show only ASCII traffic contents-X
means show all packet contents (hexdump)-S
means show absolute TCP sequence numbers-n
means no DNS lookups
Query
Network
Source/Destination IP
Host
host example.com
host 1.2.3.4
src host example.com
dst host example.com
Port
Gateway
Operators
Header Filtering: TCP Flags (Byte value)
tcp[13]
is where the flag bits are (14th byte). 24 means that the ACK and PSH bits are set. All packets after the handshake will have ACK to acknowledge transmission of the previous packet. Packets that transmit application data will likely have the PSH bit set to prevent buffering.
Header Filter: TCP Flags (Bitwise)
All ACK-PSH packets:
All SYN or ACK packets: