lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 16 Feb 2015 08:30:12 -0700
From:	David Ahern <dsahern@...il.com>
To:	Toerless Eckert <tte@...fau.de>,
	Sowmini Varadhan <sowmini05@...il.com>
CC:	Bill Fink <billfink@...dspring.com>,
	Cong Wang <cwang@...pensource.com>,
	netdev <netdev@...r.kernel.org>
Subject: Re: vnet problem (bug? feature?)

On 2/16/15 3:13 AM, Toerless Eckert wrote:
> I fail to find a good reference explaining why linux would default to
> rp_filtering = 1 (more appropriate for routers) even if forwarding defaults to 0
> (more appropriate for multi-homed hosts).

It's a userspace default. For Fedora/Red Hat based systems see 
/etc/sysctl.conf (older releases) and /usr/lib/sysctl.d/50-default.conf 
(newer ones).

I recall it defaulting to 1 in the early 2000's so it has been that way 
for a long time.

 From Documentation/networking/ip-sysctl.txt:

rp_filter - INTEGER
...
         Default value is 0. Note that some distributions enable it
         in startup scripts.

David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists