lkml.org 
[lkml]   [2000]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: bind() allowed to non-local addresses
Date

> Due ot this and other reasons I'm restoring the 2.2.x behavior by
> default, but adding a sysctl so that systems using dynamic addressing
> may elect to get the different bind() behavior.
>
> Later,
> David S. Miller
> davem@redhat.com

If a system uses dynamic addressing, binding to an IP that wasn't currently
available would be useless, since the odds are that this address would never
ever be available locally. In fact, if a machine had dynamic addressing, any
code that bound to a specific local IP would never be able to be connected
to once that IP was lost.

It is only machines that have static IPs that might not currently be usable
that would benefit from being able to bind to an address that wasn't
currently local. In this case, the IP may return to the machine in the
future.

DS

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.173 / U:28.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site