Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270995AbTHSRjy (ORCPT ); Tue, 19 Aug 2003 13:39:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S272372AbTHSRfh (ORCPT ); Tue, 19 Aug 2003 13:35:37 -0400 Received: from tmr-02.dsl.thebiz.net ([216.238.38.204]:20753 "EHLO gatekeeper.tmr.com") by vger.kernel.org with ESMTP id S272619AbTHSR1T (ORCPT ); Tue, 19 Aug 2003 13:27:19 -0400 Date: Tue, 19 Aug 2003 13:17:44 -0400 (EDT) From: Bill Davidsen To: "David S. Miller" cc: willy@w.ods.org, richard@aspectgroup.co.uk, alan@lxorguk.ukuu.org.uk, skraw@ithnet.com, carlosev@newipnet.com, lamont@scriptkiddie.org, bloemsaa@xs4all.nl, marcelo@conectiva.com.br, netdev@oss.sgi.com, linux-net@vger.kernel.org, layes@loran.com, torvalds@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [2.4 PATCH] bugfix: ARP respond on all devices In-Reply-To: <20030819091414.512d80c4.davem@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2112 Lines: 49 On Tue, 19 Aug 2003, David S. Miller wrote: > On Tue, 19 Aug 2003 11:53:29 -0400 (EDT) > Bill Davidsen wrote: > > > I wonder if a change to add a flag preventing *any* packet from being sent > > on a NIC which doesn't have the proper source address would be politically > > acceptable. > > This would disable things like MSG_DONTROUTE and many valid > uses of RAW sockets. > Probably would, but since it's a flag people could use it or not. I did that via a patch and it didn't show any problems in a tcp/udp environment. I would assume that source routing would produce the same problem in some cases, would it not? And I bet that using rp_filter can break some things as well, so there is precedent for having capabilities which could impact some valid procedures. I appreciate your point (which I totally overlooked), but I don't see that we have avoided other capabilities which could cause problems if misconfigured. It is clearly the responsibility of the admin to do configuration, and this seems (based on my actual experience) to work in an environment where arp/tcp/udp are being used. Unless you have additional issues, I would suggest that there are good reasons to add this capability. - no more dangerous than source routing and much easier to use - saves much discussion and time - much better to have one change done properly than lots of half-assed patches I understand your objections to the hidden patch, I think the approach I suggest could be done at the proper level and would provide a standard way to solve a common problem. If this can be reasonably done I would think you would support it just to be able to say "use default_source_routing" when the hidden patch visits the next time ;-) -- bill davidsen CTO, TMR Associates, Inc Doing interesting things with little computers since 1979. - 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/