Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2005 04:01:29 -0600 (CST)
From:      Mike Silbersack <silby@silby.com>
To:        Don Lewis <truckman@FreeBSD.org>
Cc:        net@FreeBSD.org
Subject:   Re: Slipping in the window update
Message-ID:  <20050110040019.W12176@odysseus.silby.com>
In-Reply-To: <20050110034422.C9716@odysseus.silby.com>
References:  <200501100850.j0A8o6FY019623@gw.catspoiler.org> <20050110034422.C9716@odysseus.silby.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 10 Jan 2005, Mike Silbersack wrote:

> We could do something there like
>
> if (th->th_seq != tp->irs) {
> 	goto dropafterack; /* Or however we handle these bad syns */
> } else {
> thflags &= ~TH_SYN;
> th->th_seq++;
> if (th->th_urp > 1)
> 	th->th_urp--;
> else
> 	thflags &= ~TH_URG;
> todrop--;
> }

Uh, I greatly oversimplified the changes that would be needed there, so 
that implementation would be totally wrong.  I'll go get some sleep and 
then think about the implementation...

Mike "Silby" Silbersack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050110040019.W12176>