netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is 64k bind patch making bad assumption?
@ 2009-02-02 18:35 Stephen Hemminger
  2009-02-02 18:46 ` Evgeniy Polyakov
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2009-02-02 18:35 UTC (permalink / raw)
  To: Evgeniy Polyakov, David Miller; +Cc: netdev

The patch to allow more that 64k connections is assuming that
all IP addresses on a machine have the same connectivity and policy.
I can think of several cases where this is not true:
  1. Server machine with public IP's for connections and private IP's
     for backend database connection
  2. Applications where certain IP's are required for security
     protocols
  3. Machines doing policy based routing

Doesn't this patch change/break this?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Is 64k bind patch making bad assumption?
  2009-02-02 18:35 Is 64k bind patch making bad assumption? Stephen Hemminger
@ 2009-02-02 18:46 ` Evgeniy Polyakov
  0 siblings, 0 replies; 2+ messages in thread
From: Evgeniy Polyakov @ 2009-02-02 18:46 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: Evgeniy Polyakov, David Miller, netdev

Hi Stephen.

On Mon, Feb 02, 2009 at 10:35:15AM -0800, Stephen Hemminger (shemminger@vyatta.com) wrote:
> The patch to allow more that 64k connections is assuming that
> all IP addresses on a machine have the same connectivity and policy.
> I can think of several cases where this is not true:
>   1. Server machine with public IP's for connections and private IP's
>      for backend database connection
>   2. Applications where certain IP's are required for security
>      protocols
>   3. Machines doing policy based routing
> 
> Doesn't this patch change/break this?

I do not think this is related. Patch itself just allows to do what
users ask for. He can do the same with explicit port selection and
reuse option, but bind(0) with the reuse option (i.e. automatic
kernel port selection) was limited.

-- 
	Evgeniy Polyakov

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-02 18:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-02 18:35 Is 64k bind patch making bad assumption? Stephen Hemminger
2009-02-02 18:46 ` Evgeniy Polyakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).