From owner-freebsd-net Mon Jul 16 1: 2:29 2001 Delivered-To: freebsd-net@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 7BC3D37B403 for ; Mon, 16 Jul 2001 01:02:22 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f6G804B04402; Mon, 16 Jul 2001 11:00:04 +0300 (EEST) (envelope-from ru) Date: Mon, 16 Jul 2001 11:00:04 +0300 From: Ruslan Ermilov To: Kris Kennaway Cc: Jonathan Lemon , gjohnson@srrc.ars.usda.gov, net@FreeBSD.ORG, provos@OpenBSD.org Subject: Re: TCP ISN algorithm breaks TIME_WAIT (Re: select fails to return incoming connect on FreeBSD-4.3) Message-ID: <20010716110004.C97729@sunbay.com> Mail-Followup-To: Kris Kennaway , Jonathan Lemon , gjohnson@srrc.ars.usda.gov, net@FreeBSD.ORG, provos@OpenBSD.org References: <200106111937.f5BJb9o99898@prism.flugsvamp.com> <20010715131148.A10745@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010715131148.A10745@xor.obsecurity.org>; from kris@obsecurity.org on Sun, Jul 15, 2001 at 01:11:48PM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Jul 15, 2001 at 01:11:48PM -0700, Kris Kennaway wrote: > On Mon, Jun 11, 2001 at 02:37:10PM -0500, Jonathan Lemon wrote: > > In article you write: > > >First off, I hope this is the right list. > > > > > >Could someone take a look at PR misc/27880? > > > > This was broken by the initial sequence number patch to TCP. > > > > When the server closes the socket, it puts the entry into the > > TIME_WAIT state. When a new SYN is received from the client while > > the socket is in this state, the new connection is only accepted > > if the new sequence number is > than the old one. > > > > Unfortunately, with a randomized seqence #, the new connection ISN > > may be less than the old sequence used, and the SYN will be ignored. > > > > I've copied this over to kris, who (IIRC) brought in the new sequence > > numbering. > > Sorry I've been ignoring this; I'm still getting caught up from my > vacation. Niels, how has OpenBSD handled this? > Recall my question on IRC about monotonicity right after you committed this? Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message