From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Haley Subject: Re: multicast: bug or "feature" Date: Fri, 19 Oct 2007 16:39:24 -0400 Message-ID: <471915FC.1000604@hp.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Cc: Vlad Yasevich , Herbert Xu , netdev@vger.kernel.org, netdev-owner@vger.kernel.org To: David Stevens Return-path: Received: from atlrel8.hp.com ([156.153.255.206]:55158 "EHLO atlrel8.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760552AbXJSUjw (ORCPT ); Fri, 19 Oct 2007 16:39:52 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hi David, David Stevens wrote: > From looking at the code, it appears that validate > source is failing just because of the rp_filter. Do you have > rp_filter set to nonzero? > If so, it may do what you want just by setting that > to 0: > > sysctl -w net.ipv4.conf.all.rp_filter=0 rp_filter is set to zero, it's the "if (res.type != RTN_UNICAST)" check in fib_validate_source() that's doing it. If I add a new "accept_local_addr" sysctl to ipv4_devconf to allow RTN_LOCAL here, everything works just fine. I just don't know how palatable that would be to upstream... -Brian