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] [day] [month] [year] [list]
Date:	Thu, 13 Aug 2015 21:27:48 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	gospo@...ulusnetworks.com
Cc:	netdev@...r.kernel.org, ddutt@...ulusnetworks.com
Subject: Re: [PATCH net-next v2 2/2] net: ipv6 sysctl option to ignore
 routes when nexthop link is down

From: Andy Gospodarek <gospo@...ulusnetworks.com>
Date: Thu, 13 Aug 2015 10:39:01 -0400

> Like the ipv4 patch with a similar title, this adds a sysctl to allow
> the user to change routing behavior based on whether or not the
> interface associated with the nexthop was an up or down link.  The
> default setting preserves the current behavior, but anyone that enables
> it will notice that nexthops on down interfaces will no longer be
> selected:
> 
> net.ipv6.conf.all.ignore_routes_with_linkdown = 0
> net.ipv6.conf.default.ignore_routes_with_linkdown = 0
> net.ipv6.conf.lo.ignore_routes_with_linkdown = 0
> ...
> 
> When the above sysctls are set, not only will link status be reported to
> userspace, but an indication that a nexthop is dead and will not be used
> is also reported.
> 
> 1000::/8 via 7000::2 dev p7p1  metric 1024 dead linkdown  pref medium
> 1000::/8 via 8000::2 dev p8p1  metric 1024  pref medium
> 7000::/8 dev p7p1  proto kernel  metric 256 dead linkdown  pref medium
> 8000::/8 dev p8p1  proto kernel  metric 256  pref medium
> 9000::/8 via 8000::2 dev p8p1  metric 2048  pref medium
> 9000::/8 via 7000::2 dev p7p1  metric 1024 dead linkdown  pref medium
> fe80::/64 dev p7p1  proto kernel  metric 256 dead linkdown  pref medium
> fe80::/64 dev p8p1  proto kernel  metric 256  pref medium
> 
> This also adds devconf support and notification when sysctl values
> change.
> 
> v2: drop use of rt6i_nhflags since it is not needed right now
> 
> Signed-off-by: Andy Gospodarek <gospo@...ulusnetworks.com>
> Signed-off-by: Dinesh Dutt <ddutt@...ulusnetworks.com>

Applied.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ