Re: [2.4 PATCH] bugfix: ARP respond on all devices

From: Stephan von Krawczynski (skraw_at_ithnet.com)
Date: 08/20/03

  • Next message: Jeff Garzik: "Re: IDE wierdness"
    Date:	Wed, 20 Aug 2003 17:41:33 +0200
    To: "David S. Miller" <davem@redhat.com>
    
    

    On Tue, 19 Aug 2003 12:28:47 -0700
    "David S. Miller" <davem@redhat.com> wrote:

    > On 19 Aug 2003 21:32:35 +0200
    > Andi Kleen <ak@colin2.muc.de> wrote:
    >
    > > What happens on outgoing active ARPs is a different thing. Reasonable
    > > choices would be either the prefered source address of the route or
    > > the local interface's address. I must admit I don't have a strong
    > > opinion on what the better behaviour of those is, but neither of them would
    > > seem particularly wrong to me.
    >
    > Andi, we take the source address from the packet we are
    > trying to send out that interface.
    >
    > Just as it is going to be legal to send out a packet from
    > that interface using that source address, it is legal to
    > send out an ARP request from that interface using that source
    > address.

    Aehm, sorry but the logic is bogus. A routed packet will be sent out this
    interface with a foreign IP as source, too. Though nobody will want to send an
    arp request with a foreign ip as source.
    But you say here: Just as I can send out a packet with IP X from that interface
    I can send out ARP request with same source.
    Obviously you don't want that.
    So you cannot step from A to B in your logical chain here.

    Again. I'd like to stress I don't want to insult you or anything. The simple
    thing is this: there are a lot setups out there that could benefit from your
    tolerance in this issue. Can't we simply take the issue to the point: "you are
    right, but you show tolerance for boxes that are not completely wrong" ?
    I mean the world is full of people that are right and intolerant, so that in
    fact doesn't really make them special ...

    Please let us keep in mind that joe-average-user cannot handle complex setups
    with arpfilter, arp_filter or anything the like. But he can right away enter
    IT-superstore XYZ and buy a brand new router box for 20 bucks. If he is unlucky
    (and you stay intolerant) he will for sure _not_ blame this box but his desktop
    linux if things don't work out as expected.
    I think we should at least make a minimum effort to keep things simple (and
    explainable to joe-average-user), even if the background is complex.
    Everywhere we have a solution for a problem that is overly complex, we will
    fail to gain a broad market share, because there may very likely be easier
    solutions under <name-some-os> _and_ we attract support problems for all
    distributors.

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


  • Next message: Jeff Garzik: "Re: IDE wierdness"

    Relevant Pages

    • Re: sending pkts on wire even if dest is local
      ... by default Linux will answer and reply ARP queries and accept traffic for any local address on any interface. ... to look if my software on switch is working fine. ... Of course the IP stack will drop the packet because the destination address is not a local address. ...
      (comp.os.linux.networking)
    • Re: [fw-wiz] PIX 6.2(1) and Proxy Arp
      ... you probably need proxyarp on outside interface, ... >DMZ's can still access the Internet. ... proxy arp means (answer to arp request for ip address different than ... R receives a packet from ip 12.1.1.254 directed to the internet... ...
      (Firewall-Wizards)
    • Re: multiple interfaces act like proxy arp is on
      ... All 3 are on the same subnet ... I do not have proxy ARP on. ... and have the ARPs for each interface be answered ... of which cards will respond to an arp request. ...
      (comp.os.linux.development.system)
    • Re: [2.4 PATCH] bugfix: ARP respond on all devices
      ... arp request originated by an ip packet from another address of the same host ... compared to a forwarded packet from another host, ... interface address will be used, ...
      (Linux-Kernel)
    • RE: Arp Implementation Example....
      ... Subject: Arp Implementation Example.... ... ARP-request is just one more of network packets that are passed ... As long as the packet is recognizable by the upper layers as ... an SKBUF with ARP request, ...
      (Linux-Kernel)