[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #50498] tcp: do not keep sending SYNs when getting ACK
From: |
David van Moolenbroek |
Subject: |
[lwip-devel] [bug #50498] tcp: do not keep sending SYNs when getting ACKs |
Date: |
Wed, 8 Mar 2017 14:56:15 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 |
URL:
<http://savannah.nongnu.org/bugs/?50498>
Summary: tcp: do not keep sending SYNs when getting ACKs
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: dcvmoole
Submitted on: Wed 08 Mar 2017 07:56:14 PM UTC
Category: TCP
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: git head
_______________________________________________________
Details:
An amendment to git-2e26fc9 ("tcp: Avoid 3-second delay for a half-open
connection")
===
If a locally generated TCP SYN packet is replied to with an ACK packet, lwIP
immediately sends a RST packet followed by resending the SYN packet. This is
expected, but on loopback interfaces the resent SYN packet may immediately get
another ACK reply, typically when the other endpoint is in TIME_WAIT state
(which ignores the RSTs). The result is an endless loop of SYN, ACK, RST
packets.
This patch applies the normal SYN retransmission limit in this scenario, such
that the endless loop is limited to a brief storm.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 08 Mar 2017 07:56:14 PM UTC Name:
0001-tcp-do-not-keep-sending-SYNs-when-getting-ACKs.patch Size: 2kB By:
dcvmoole
<http://savannah.nongnu.org/bugs/download.php?file_id=39950>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?50498>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #50498] tcp: do not keep sending SYNs when getting ACKs,
David van Moolenbroek <=