[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Slipping in the window update



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

Visit your host, monkey.org