Network Analysis Using Wireshark 2 Cookbook - Second Edition
by Nagendra Kumar Nainar, Yoram Orzach, Yogesh Ramdoss
TCP timestamp
There are certain end applications that benefits from continuous round trip time (RTT) measurement. RTT measurement is performed by leveraging the TCP timestamp options. A TCP timestamp option will be included in all the segments. This option carries two fields as TSval and TSecr. The the sender will include local time when the segment is sent out in TSval field and TSecr will be set to 0. The receiver upon acknowledging a segment will include local time in the TSval and include the TSval from the last received segment from the sender.
The sender will use the combination of TSval and TSecr in the ACK segment to compute the RTT. For efficiency, most implementation will perform RTT measurement in one or two segments in each window ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access