Re: restrict implicit binding to interfaces
- From: Rick Jones <rick.jones2@xxxxxx>
- Date: Thu, 30 Oct 2008 00:54:56 +0000 (UTC)
David Schwartz <davids@xxxxxxxxxxxxx> wrote:
On Oct 29, 4:13?am, Wolfgang Draxinger <wdraxin...@xxxxxxxxxxxxxxxx>
wrote:
How can I do that, I mean: If a program requests to be bound to a
certain interface explicitly, then and only then it bound to that
interface. Otherwise it's just bound implicitly to the not
restricted interfaces.
Programs don't bind to interfaces. Your question doesn't make any
sense.
While "Linux" is very much not such a stack on a "Strong End-System
Model" system binding to a given IP address is pretty much the same
thing since the traffic to that IP will only be accepted on that
interface.
You seem to be under the misconception that addresses belong to
interfaces. They don't under Linux, they belong to the machine as a
whole. When you bind to an address, you accept packets sent to that
address regardless of what interface they arrive on. Otherwise, it
would be impossible to set up a functional router.
In fact, Linux takes the weak end-system mantra farther than any other
system I've encountered - by default ARP on any interface will be more
than happy to respond for any IP on the system, not just that on the
interface on which the ARP request was received. Leads to lots of
"fun" when connecting multiple interfaces to the same broadcast
domain, even if those interfaces are configured into different IP
subnets.
rick jones
--
Process shall set you free from the need for rational thought.
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
.
- Follow-Ups:
- Re: restrict implicit binding to interfaces
- From: David Schwartz
- Re: restrict implicit binding to interfaces
- References:
- restrict implicit binding to interfaces
- From: Wolfgang Draxinger
- Re: restrict implicit binding to interfaces
- From: David Schwartz
- restrict implicit binding to interfaces
- Prev by Date: Re: restrict implicit binding to interfaces
- Next by Date: Re: One web server, multiple domains; a slight twist
- Previous by thread: Re: restrict implicit binding to addresses
- Next by thread: Re: restrict implicit binding to interfaces
- Index(es):
Relevant Pages
|