lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #20779] Keep-Alive and SYNs


From: Oleg Tyshev
Subject: [lwip-devel] [bug #20779] Keep-Alive and SYNs
Date: Tue, 14 Aug 2007 14:09:07 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

Follow-up Comment #8, bug #20779 (project lwip):

Stats is OK.

We should not drop SYN silently,
lwip should reply and _replies_ with old SEQ_NO and old ACK.
It is correct.
(RFC 793, 3.4, Figure 10 Half-Open Connection Discovery)

The question is now only about (in)activity timer.
Should it be updated on discarded packets or not.

RFC 1122 - 4.2.3.6 TCP Keep-Alives
Keep-alive packets MUST only be sent when no data or acknowledgement packets
have been received for the connection within an interval.

Does SYN packet data or not?

And second,
variable tcplen for SYN packet is 1,
if SEQ_NO of SYN is inside receive window of old pcb,
it would be processed in
tcp_receive and added to out of sequence queue.

Small fix to tcp_in ver 1.74.
Lines 1214, 1216 is possible to delete without any loss in logic.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?20779>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]