Ask Your Question

Revision history [back]

ACK advances while SEQ does not

OpenVPN Tunnel traffic over TCP.

Typical two way traffic, Client data sent, Server ACK received followed by Server PSH, ACK, and vise versa. Window size is ~64000 bytes, so plenty of buffer. Sequence and ACK numbers adjust accordingly with network traffic during normal operation. There is never any indication of any delayed traffic in the time stamps.

Random failure case:

Client sends data. Server ACKs with new sequence number, but no Server PSH,ACK record after Server ACK record.

From this point on, there are 18 to 20 sets of Client/Server pairs where the server ACK number is increased by the segment length, but the sequence number is never updated/changed. The client continues to send data and the server continues to ACK until the server issues a RST and the tunnel is closed.

It looks to me like the Server has detected that the sequence number is not changing, and kills the connection.

I'm looking for insights into how this situation could arise, and what to look for.

Thanks,

Doug.