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

TCP Previous segment lost issue?

0

Hello,

Tying to exchange message on ssh server but not completed anyhow due to issue on TCP level. Could any body help me out why there no message exchanged after "TCP Previous segment lost"?

Please find the Wireshark file at - https://www.cloudshark.org/captures/6c6df098b205

Thanks in advanced :)alt text

asked 07 Sep '15, 03:24

sammi's gravatar image

sammi
1223
accept rate: 0%

edited 07 Sep '15, 03:34


One Answer:

0

The trace taken at the server shows that the first 'full-MSS' segment from the client (tcp.seq==1717) that contained 1448 (not 1148 as initially posted] bytes did not make it to your server.

Your server sends an ACK with tcp.ack==1717 asking for the segment that is missing but it never arrives (most probably because the retransmitted packets suffer the same death).
A quick circumvention could be to artificially reduce the MTU size towards the client's subnet using

ip route add 10.1.68.0/24 via 10.1.6.1 mtu 1428

You can try a ping to find out what maximum size goes through your infrastructure unfragmented.

ping -s 1400 -M do 10.1.68.59

Regards Matthias

answered 07 Sep '15, 04:30

mrEEde's gravatar image

mrEEde
3.9k152270
accept rate: 20%

edited 12 Sep '15, 07:56

Hi Matthias,

Could you please elaborate more because I didn't found 1148 bytes in trace for (tcp.seq==1717)? My colleague wants a reason to change the MTU size.

Thanks in advanced !

Regards, Sammi

(09 Sep '15, 01:03) sammi
1

@mrEEde, 1448 bytes are missing, not 1148. @sammi, look at the relative seq number of packet 61 (1717) and packet 62 (3165), then you will understand why 1448. Do the ping test before changing the MTU.

(12 Sep '15, 05:57) Roland

Roland's right, the negotiated MSS is 1448 , well spotted!

(12 Sep '15, 07:54) mrEEde

The negociated MSS is 1460. The missing packet had 1448 bytes of data.

(12 Sep '15, 08:50) Roland
1

A MSS of 1460 with negotiated timestamps option results in a net segment size of 1448 ...

(12 Sep '15, 09:07) mrEEde