From: Marc Singer <elf@buici.com>
To: Jeroen Massar <jeroen@unfix.org>
Cc: John Heffner <jheffner@psc.edu>,
Ben Greear <greearb@candelatech.com>, Al Boldi <a1426z@gawab.com>,
netdev@vger.kernel.org, linux-net@vger.kernel.org
Subject: Re: [RFC] ip / ifconfig redesign
Date: Mon, 5 Dec 2005 21:18:22 -0800 [thread overview]
Message-ID: <20051206051822.GC6820@buici.com> (raw)
In-Reply-To: <4394C3D4.9050909@unfix.org>
On Mon, Dec 05, 2005 at 11:48:52PM +0100, Jeroen Massar wrote:
> John Heffner wrote:
> > Jeroen Massar wrote:
> >> I wonder how many RFC's it violates. An interface must only answer ARP's
> >> on the interface that it is configured on, not anything else.
> >
> > Not true. See RFC 1122, section 3.3.4. The standard leaves this
> > decision up to the implementation, for good reason.
>
> RFC1122 is a document about multicast. ARP is broadcast see the very old
> RFC826/STD0037. Multicast didn't even work on much of the hardware from
> the times that that document was written.
>
> Probably the best text about this subject can be found in RFC1027:
> 8<-----------
> 2.4 Sanity checks
>
> Care must be taken by the network and gateway administrators to keep
> the network masks the same on all the subnet gateway machines. The
> most common error is to set the network mask on a host without a
> subnet implementation to include the subnet number. This causes the
> host to fail to attempt to send packets to hosts not on its local
> subnet. Adjusting its routing tables will not help, since it will
> not know how to route to subnets.
>
> If the IP networks of the source and target hosts of an ARP request
> are different, an ARP subnet gateway implementation should not
> reply. This is to prevent the ARP subnet gateway from being used to
> reach foreign IP networks and thus possibly bypass security checks
> provided by IP gateways.
> -------------->8
>
> Which is almost the same as what I noted. Note that the document is
> about Proxy ARP, when a host is responding ARP queries for an IP on a
> different link, this is exactly what it is doing: proxy arp.
Interesting, but I don't think it applies. We're talking about
reaching the node, not about using the node as a transparent gateway.
Note the part about "an ARP subnet gateway implementation" that need
to be careful.
>
> > This topic has been discussed many times on a variety of mailing lists.
> > I think the best way to do this is to make the behavior configurable,
> > which Linux currently does.
>
> As long as the default is off I am fine with it, people turning it on
> themselves break their own network :)
Indeed. Safety (sanity) first.
next prev parent reply other threads:[~2005-12-06 5:18 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-02 19:53 [RFC] ip / ifconfig redesign Al Boldi
2005-12-02 19:59 ` Pekka Savola
2005-12-02 20:08 ` Ben Greear
2005-12-02 20:38 ` linux-os (Dick Johnson)
2005-12-02 22:49 ` Jesper Juhl
2005-12-10 18:51 ` Stefan Smietanowski
2005-12-02 22:40 ` Jeff V. Merkey
2005-12-03 13:46 ` Al Boldi
2005-12-03 18:33 ` Ben Greear
2005-12-03 20:25 ` Al Boldi
2005-12-05 14:01 ` John W. Linville
2005-12-05 14:20 ` Jeroen Massar
2005-12-05 17:40 ` Marc Singer
2005-12-05 17:59 ` Jeroen Massar
2005-12-05 20:56 ` Marc Singer
2005-12-05 22:19 ` John Heffner
2005-12-05 22:28 ` Rick Jones
2005-12-05 22:30 ` John Heffner
2005-12-05 22:43 ` Rick Jones
2005-12-05 23:03 ` John Heffner
2005-12-06 5:13 ` Marc Singer
2005-12-05 22:48 ` Jeroen Massar
2005-12-05 22:56 ` John Heffner
2005-12-05 23:10 ` Jeroen Massar
2005-12-06 5:18 ` Marc Singer [this message]
2005-12-05 18:00 ` Ben Greear
2005-12-05 20:10 ` John W. Linville
2005-12-05 21:03 ` Marc Singer
2005-12-05 20:48 ` Al Boldi
2005-12-14 14:19 ` Al Boldi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051206051822.GC6820@buici.com \
--to=elf@buici.com \
--cc=a1426z@gawab.com \
--cc=greearb@candelatech.com \
--cc=jeroen@unfix.org \
--cc=jheffner@psc.edu \
--cc=linux-net@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).