From owner-freebsd-net@FreeBSD.ORG Tue Jan 4 05:02:50 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2BC716A4CE for ; Tue, 4 Jan 2005 05:02:50 +0000 (GMT) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.FreeBSD.org (Postfix) with SMTP id 4BD8F43D39 for ; Tue, 4 Jan 2005 05:02:50 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 25591 invoked from network); 4 Jan 2005 05:02:49 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 4 Jan 2005 05:02:49 -0000 X-pair-Authenticated: 209.68.2.70 Date: Mon, 3 Jan 2005 23:02:48 -0600 (CST) From: Mike Silbersack To: Charles Swiger In-Reply-To: Message-ID: <20050103230044.X68869@odysseus.silby.com> References: <20050103012325.A62262@odysseus.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: net@freebsd.org Subject: Re: Fixing "Slipping in the window" before 4.11-release X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 05:02:50 -0000 On Mon, 3 Jan 2005, Charles Swiger wrote: > Are you relying on the IPID or the connection tuple of > srcIP+srcPort+destIP+destPort to identify the SYN packet as being associated > with an already established connection? Connection tuple. >> This means that SYN packets left of the window will no longer receive an >> ACK, and SYN packets in the window will no longer reset the connection. In >> all states other than ESTABLISHED, SYN packets are handled as they were >> before, in case there's some edge case where that could happen. > > This seems to be a reasonable improvement: the stack shouldn't be ACK'ing > data outside of a valid connection window to begin with. I spoke inaccurately above. We trim the ACK to the left edge of our window, then ACK that value. So, it *shouldn't* affect the state of the connection, but it will cause us to flood ACKs. More comments coming, see upcoming reply to Don... Mike "Silby" Silbersack