[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070803.130451.63127177.davem@davemloft.net>
Date: Fri, 03 Aug 2007 13:04:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: johnpol@....mipt.ru
Cc: simon@...e.lp0.eu, john@...een.lv, netdev@...r.kernel.org
Subject: Re: strange tcp behavior
From: Evgeniy Polyakov <johnpol@....mipt.ru>
Date: Fri, 3 Aug 2007 12:22:42 +0400
> On Thu, Aug 02, 2007 at 07:21:34PM -0700, David Miller (davem@...emloft.net) wrote:
> > What in the world are we doing allowing stream sockets to autobind?
> > That is totally bogus. Even if we autobind, that won't make a connect
> > happen.
>
> For accepted socket it is perfectly valid assumption - we could autobind
> it during the first send. Or may bind it during accept. Its a matter of
> taste I think. Autobinding during first sending can end up being a
> protection against DoS in some obscure rare case...
accept()ed socket is by definition fully bound and already in
established state.
-
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