[Top][All Lists]
[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 09:43:56 +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 |
URL:
<http://savannah.nongnu.org/bugs/?20779>
Summary: Keep-Alive and SYNs
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: olegreen
Submitted on: Tuesday 08/14/2007 at 09:43
Category: TCP
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
_______________________________________________________
Details:
Hello All,
I will try to describe scenario
- Server listens on port 100, keep-alive is on.
- Client does connect to server from port 200. (Not ephemeral port, always
200)
- Successful connect
- No data exchange
...
- Client - power off
- Client - power on
- Client tries again to connect from port 200 to port 100. (SYNs)
- Server sees activity on connection and keep-alive expires never.
I have seen to tcp_process and tcp_receive in TCP state ESTABLISHED.
There is no check TCP_SYN flag.
I think it should be silently discarded, but without modification
(in)activity timer
(in tcp_process()
/* Update the PCB (in)activity timer. */
pcb->tmr = tcp_ticks;
pcb->keep_cnt_sent = 0;)
It is discarded now too, but only due to sequence number without analyze
TCP_SYN flag.
Oleg Tyshev
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20779>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #20779] Keep-Alive and SYNs,
Oleg Tyshev <=
- [lwip-devel] [bug #20779] Keep-Alive and SYNs, Oleg Tyshev, 2007/08/14
- [lwip-devel] [bug #20779] Keep-Alive and SYNs, Oleg Tyshev, 2007/08/14
- [lwip-devel] [bug #20779] Keep-Alive and SYNs, Frédéric Bernon, 2007/08/14
- [lwip-devel] [bug #20779] Keep-Alive and SYNs, Frédéric Bernon, 2007/08/14
- [lwip-devel] [bug #20779] Keep-Alive and SYNs, Frédéric Bernon, 2007/08/14
- [lwip-devel] [bug #20779] Keep-Alive and SYNs, Frédéric Bernon, 2007/08/14
- [lwip-devel] [bug #20779] Keep-Alive and SYNs, Jonathan Larmour, 2007/08/14
- [lwip-devel] [bug #20779] Keep-Alive and SYNs, Oleg Tyshev, 2007/08/14
- [lwip-devel] [bug #20779] Keep-Alive and SYNs, Kieran Mansley, 2007/08/29
- [lwip-devel] [bug #20779] Keep-Alive and SYNs, Frédéric Bernon, 2007/08/29