From owner-freebsd-hackers Tue Jun 26 1:30:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id F422F37B406 for ; Tue, 26 Jun 2001 01:30:48 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.245.130.195.Dial1.SanJose1.Level3.net [209.245.130.195]) by swan.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id BAA06286; Tue, 26 Jun 2001 01:30:44 -0700 (PDT) Message-ID: <3B384855.341FB05E@mindspring.com> Date: Tue, 26 Jun 2001 01:31:17 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Mike Silbersack Cc: Gilbert Gong , hackers@FreeBSD.ORG Subject: Re: strange tcp behavior? References: <20010625213923.V43878-100000@achilles.silby.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mike Silbersack wrote: > On Mon, 25 Jun 2001, Gilbert Gong wrote: > > If I am not mistaken, this should not happen.. > > I'm also relatively certain the TIME_WAIT is not from a > > previously closed connection.. > > > > Any ideas what might cause this, or hints on how I can > > further investigate this? > > That's a known bug with our current tcp sequence number > generation scheme. It may be some time before a new scheme > is put in place, so you'll have to live with it for a while. The problem is that the number doesn't increment monotonically. You don't get an RST if the sequence number is less. The idea that broke this was an attempt to make things "safer" by making the sequence number non-predictable, to prevent session hijack. If the sequence number is higher, then the previous connection is reset, and the new connection is established in its place. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message