[En-Nut-Discussion] [PATCH] Implement TCP sequence number wraparound

Marti Raudsepp marti at juffo.org
Tue Apr 27 02:59:12 CEST 2010


On Tue, Apr 27, 2010 at 1:07 AM, Henrik Maier <hmnews at proconx.com> wrote:
> What happens to the connection if your patch is not applied? Does it crash,
> stall or simply disconnect?

For Nut/OS -> PC transmissions, the connection (and transmitting
thread) just stalls forever. *If* the application resets the
connection from the PC side, then everything everything resumes
normally again. That depends on the application of course.

I did not test what happens when a PC -> Nut/OS transmission reaches
wraparound without the patch. But I think packets are simply dropped
on the Nut/OS side, so a compliant TCP stack would reset the
connection soon, once it reaches the retransmission limit.

Regards,
Marti Raudsepp
voicecom.ee



More information about the En-Nut-Discussion mailing list