Network Engineering Asked by Dave Turner on September 30, 2021
Wireshark’s tcptrace
time sequence graph shows a good deal of information, but I cannot find a document that spells out exactly what it all means. It’s broadly similar to the original tcptrace
except for the colour scheme and a few missing elements:
tcptrace
; Wireshark does not show retransmissions differently)tcptrace
)tcptrace
)tcptrace
)Here is an example showing all of these features.
However, I cannot see any obvious difference between the red and brown SACKs; it seems that the highest SACK is coloured red and the lower ones are brown, but this doesn’t seem to me to be something worth distinguishing with different colours so I think I am missing something. What is the real reason for the two different SACK colours?
Yes, it does seem to be simply that the first (highest-numbered) SACK range is plotted differently from the rest. From the source noting in particular the branch on i == 0
:
854 // add SACK segments to sack, sack2, and selectable packet graph
855 for (int i = 0; i < seg->num_sack_ranges; ++i) {
856 double half = seg->sack_right_edge[i] - seg->sack_left_edge[i];
857 half = half/2.0;
858 double center = seg->sack_left_edge[i] - seq_offset_ + half;
859 if (i == 0) {
860 sack_time.append(ts);
861 sack_center.append(center);
862 sack_span.append(half);
863 if (allow_sack_select) {
864 pkt_time.append(ts);
865 pkt_seqnums.append(center);
866 }
867 } else {
868 sack2_time.append(ts);
869 sack2_center.append(center);
870 sack2_span.append(half);
871 }
872 }
Elsewhere in the same source file we see the sack2
data being plotted with a different colour from the sack
data, tango_scarlet_red_6
vs tango_scarlet_red_4
respectively.
Correct answer by Dave Turner on September 30, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP