TCP enhancements – selective ACK and timestamps
Various TCP enhancements have been introduced over a period of time to augment the TCP performance. In this section, we will discuss a couple of these important enhancements and see how Wireshark can be used to analyze the same.
Getting ready
When you observe that the TCP flow performance is degraded and is not working as expected, connect Wireshark to capture the TCP flow for analysis.
How to do it...
For backward compatibility, a feature enhancement like selective ACK (SACK) or TCP timestamp will be negotiated during the initial three-way handshake. The TCP endpoints will include the relevant TCP options in the SYN and SYN/ACK packets.
TCP selective acknowledgement option
TCP SACK is a TCP option that will be included in the SYN and SYN/ACK segments. When the TCP endpoints are enabled with TCP SACK feature, the endpoint signal the capability to peer by including the same in SYN packet.

As seen in the preceding example, TCP SACK option will be seen...