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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to