[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200905092241.41515.opurdila@ixiacom.com>
Date: Sat, 9 May 2009 22:41:41 +0300
From: Octavian Purdila <opurdila@...acom.com>
To: Bill Fink <billfink@...dspring.com>
Cc: Eric Dumazet <dada1@...mosbay.com>, netdev@...r.kernel.org
Subject: Re: ports beeing reused too fast
On Saturday 09 May 2009 22:31:35 Bill Fink wrote:
> > Normally, the client machine should not reuse a port during the TIME_WAIT
> > duration (TCP_TIMEWAIT_LEN being 60 seconds on linux). Port selection
> > being random or sequential, it should avoid all ports recently used.
> >
> > Maybe this firewall has a longer TIME_WAIT enforcement (something like 2
> > minutes)
>
> But he had 19 ports being reused after only 1000 connect()s, which
> with his stated ~360 (I'm assuming per second) connection rate,
> would only take about 3 seconds.
>
Time-wait doesn't apply in this case, because connections are closed by the
server, thus they don't have to go through the time-wait state.
Thanks,
tavi
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists