From owner-freebsd-net Wed Jun 27 12:53:27 2001 Delivered-To: freebsd-net@freebsd.org Received: from node7.cluster.srrc.usda.gov (symbion.srrc.usda.gov [199.133.86.40]) by hub.freebsd.org (Postfix) with ESMTP id 55FC237B407; Wed, 27 Jun 2001 12:53:24 -0700 (PDT) (envelope-from gjohnson@srrc.ars.usda.gov) Received: (from glenn@localhost) by node7.cluster.srrc.usda.gov (8.11.4/8.11.4) id f5RJqnv10250; Wed, 27 Jun 2001 14:52:49 -0500 (CDT) (envelope-from glenn) Date: Wed, 27 Jun 2001 14:52:49 -0500 From: Glenn Johnson To: Jonathan Lemon Cc: net@freebsd.org, kris@freebsd.org Subject: Re: select fails to return incoming connect on FreeBSD-4.3 Message-ID: <20010627145249.A10028@node7.cluster.srrc.usda.gov> References: <200106111937.f5BJb9o99898@prism.flugsvamp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106111937.f5BJb9o99898@prism.flugsvamp.com>; from jlemon@flugsvamp.com on Mon, Jun 11, 2001 at 02:37:10PM -0500 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 Mon, Jun 11, 2001 at 02:37:10PM -0500, Jonathan Lemon wrote: > >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. Has anyone had a chance to look at this and figure out what the fix might be? Thanks. -- Glenn Johnson USDA, ARS, SRRC Phone: (504) 286-4252 New Orleans, LA 70124 e-mail: gjohnson@srrc.ars.usda.gov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message