[En-Nut-Discussion] TCP RST handling

Harald Kipp harald.kipp at egnite.de
Tue Aug 26 17:17:25 CEST 2003


Mike,


>Soon enough the retransmit timer expires and Nut/OS re-sends the original 
>SYN packet, which again attracts a RST.
>This repeats until the socket times out and closes and generates a LOT of 
>useless traffic.
>
>This should not happen, RFC 793 goes into quite some detail about how RSTs 
>should be handled but in summary:-
>All socket send and receive queues should be flushed.
>The TCB should be deleted.
>The Application should be notified.
>The socket should go directly to the CLOSED state.

You are fully correct. I'll review and add your change.

Many thanks,

Harald




More information about the En-Nut-Discussion mailing list