This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hi,

TCP Fast Retransmit detection is explained as:

/ If there were >=2 duplicate ACKs in the reverse direction (there might be duplicate acks missing from the trace) and if this sequence number matches those ACKs and if the packet occurs within 20ms of the last duplicate ack then this is a fast retransmission /

Why does the retransmitted packet have to occur within 20 ms of DUPACK? If you collect a trace on the sender, I could see this work, but in a receiver trace, or a trace from the network core, Fast Retransmit'ed packet can occur well after 20 ms of DUPACK.

Thanks.

asked 29 Aug '13, 08:53

instalater's gravatar image

instalater
11225
accept rate: 0%


This is a somewhat arbitrary value that is hard-coded into Wireshark to try to distinguish between Receive Time Out (RTO) retransmissions and Fast Retransmissions. There isn't really a reliable way for Wireshark to determine what triggered a retransmission, so it's possible for Wireshark to mis-identify the type of retransmission. It's also possible for Wireshark to mis-identify out-of-order packets as retransmissions.

You're right that a Fast Retransmission can show up more than 20 ms after the Duplicate ACK that triggered the retransmission. Normally, data would still be flowing, and Duplicate ACKs would keep being generated, so the retransmission would usually be within 20 ms of a Duplicate ACK, although not necessarily the Duplicate ACK that triggered the Fast Retransmission. This would not be true if the lost packet was near the end of the data stream and data has stopped flowing.

It's also possible that Duplicate ACKs are being generated and showing up in the Wireshark trace, but are not making it to the sender due to some network problem. The sender will eventually send a RTO retransmission, but Wireshark will identify it as a Fast Retransmission due to the Duplicate ACKs.

permanent link

answered 29 Aug '13, 10:05

Jim%20Aragon's gravatar image

Jim Aragon
7.2k733118
accept rate: 24%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×752
×56
×6
×5

question asked: 29 Aug '13, 08:53

question was seen: 4,579 times

last updated: 29 Aug '13, 10:05

p​o​w​e​r​e​d by O​S​Q​A