From: Stephen Clark <sclark46@earthlink.net>
To: Pascal Hambourg <pascal@plouf.fr.eu.org>
Cc: "Rémi Denis-Courmont" <remi@remlab.net>,
"Linux Kernel Network Developers" <netdev@vger.kernel.org>
Subject: Re: Linux vs FreeBSD Which is correct.
Date: Thu, 18 Aug 2011 08:42:32 -0400 [thread overview]
Message-ID: <4E4D08B8.8020309@earthlink.net> (raw)
In-Reply-To: <4E4C2178.1000809@plouf.fr.eu.org>
On 08/17/2011 04:15 PM, Pascal Hambourg wrote:
> Hello,
>
> Stephen Clark a écrit :
>
>> On 08/17/2011 01:17 PM, Rémi Denis-Courmont wrote:
>>
>>> Le mercredi 17 août 2011 20:03:18 Stephen Clark, vous avez écrit :
>>>
>>>
>>>> I have run into a situation where if I ping our HQ the response comes
>>>> back on a different
>>>> interface than what the request went out on. FreeBSD is happy and says
>>>> it got the response,
>>>> Linux is not and gives no indication it got a response.
>>>>
>>>> So is FreeBSD wrong or is Linux wrong?
>>>>
> Neither is right or wrong. It partly depends whether you want to enforce
> so-called "weak" or "strong" host model.
>
>
>>> Most distributions enable reverse path filtering by default.
>>> It can be disabled:
>>> # echo -n 0> /proc/sys/net/ipv4/conf/all/rp_filter
>>>
>>> But you should probably fix the configuration instead (e.g. /etc/sysctl.conf).
>>>
>>>
>> Sorry that didn't help either.
>>
> Since some kernel version the logic of this sysctl has changed from
> AND(all, $interface) to MAX(all, $interface). So you must set
> net/ipv4/conf/$interface/rp_filter to 0 too to disable it.
> Or set net/ipv4/conf/all/rp_filter to 2 to make it weaker.
>
>
I guess I don't really understand what reverse path filter stuff is all
about, much less making it weaker.
But using 2 made the pings responses be seen.
--
"They that give up essential liberty to obtain temporary safety,
deserve neither liberty nor safety." (Ben Franklin)
"The course of history shows that as a government grows, liberty
decreases." (Thomas Jefferson)
next prev parent reply other threads:[~2011-08-18 12:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-17 17:03 Linux vs FreeBSD Which is correct Stephen Clark
2011-08-17 17:10 ` Emil S Tantilov
2011-08-17 17:20 ` Stephen Clark
2011-08-17 17:17 ` Rémi Denis-Courmont
2011-08-17 19:44 ` Stephen Clark
2011-08-17 20:15 ` Pascal Hambourg
2011-08-18 12:42 ` Stephen Clark [this message]
2011-08-19 16:18 ` Chris Friesen
2011-08-19 19:10 ` Stephen Clark
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=4E4D08B8.8020309@earthlink.net \
--to=sclark46@earthlink.net \
--cc=netdev@vger.kernel.org \
--cc=pascal@plouf.fr.eu.org \
--cc=remi@remlab.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.