Re: restrict implicit binding to interfaces



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...
.



Relevant Pages

  • Re: Re: Deploring *nix Philosophy
    ... > you could set it so users could open and close the ppp interface at will. ... > initially invest in a fedora bible of sorts. ... > bring the complexity or power of the OS down to the level of a windows ... > sure that bringing Linux down to the level of windows home setup just to ...
    (Fedora)
  • Re: Stategy for (Large?) 16bit COBOL code conversion to Net Express
    ... Express and Visual studio 2005 loaded on a Windows 2003 Terminal server. ... interface from application logic. ... AFTER user interface is separated from business ... Because Linux has a big chunk of the server market. ...
    (comp.lang.cobol)
  • Re: Ubuntu
    ... Linux didn't and is using it. ... Oh, but wait, wasn't the WIMP interface invented by Xerox at Palo Alto's ... Some people believe that since The GIMP lags behind Photoshop, ... Krita has image layers, group layers, adjustment layers and the innovative ...
    (comp.sys.mac.system)
  • Re: Multiple subinterfaces per port on a 3745
    ... I am trying to replace a linux router with a cisco 3745 router (IOS ... interface FastEthernet0/1 ... Enter configuration commands, one per line. ...
    (comp.dcom.sys.cisco)
  • Re: A really good article on software usability
    ... Linux, from robotics and artificial intelligence to personal portable ... There is a force driving the user interface toward windows and away ... from the CLI, which I think is OK, but the CLI offers much more ... Take the CLI vs gui debate. ...
    (Fedora)