cvs commit: src/sys/netinet tcp_subr.c tcp_var.h

Nate Lawson nate at
Tue Apr 20 05:50:48 PDT 2004

On Tue, 20 Apr 2004, Mike Silbersack wrote:
> On Mon, 19 Apr 2004, Mike Silbersack wrote:
> >   Enhance our RFC1948 implementation to perform better in some pathlogical
> >   TIME_WAIT recycling cases I was able to generate with http testing tools.
> >
> >   Except in such contrived benchmarking situations, this problem should never
> >   come up in normal usage...  until networks get faster.
> I think that we may have to break away from standard RFC handling and
> change the TIME_WAIT code in tcp_input so that it will accept any SYN
> packet coming in without regard to the sequence number, forcing the
> TIME_WAIT socket to be recycled.

It's been a while since I looked at all the RFCs, but can the window scale
option be taken into account for this?  I'm thinking that if you receive a
packet while in TIME_WAIT with the proper window scale + sequence, accept
it, otherwise discard.  As for initial sequences, make them less dependent
on port/address combos.  Not sure if this will solve your problem.


More information about the cvs-src mailing list