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]
Message-Id: <20170203.160155.486447661633785659.davem@davemloft.net>
Date:   Fri, 03 Feb 2017 16:01:55 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     dsa@...ulusnetworks.com
Cc:     netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: ipv6: Set protocol to kernel for local
 routes

From: David Ahern <dsa@...ulusnetworks.com>
Date: Thu,  2 Feb 2017 08:52:21 -0800

> IPv6 stack does not set the protocol for local routes, so those routes show
> up with proto "none":
>     $ ip -6 ro ls table local
>     local ::1 dev lo proto none metric 0  pref medium
>     local 2100:3:: dev lo proto none metric 0  pref medium
>     local 2100:3::4 dev lo proto none metric 0  pref medium
>     local fe80:: dev lo proto none metric 0  pref medium
>     ...
> 
> Set rt6i_protocol to RTPROT_KERNEL for consistency with IPv4. Now routes
> show up with proto "kernel":
>     $ ip -6 ro ls table local
>     local ::1 dev lo proto kernel metric 0  pref medium
>     local 2100:3:: dev lo proto kernel metric 0  pref medium
>     local 2100:3::4 dev lo proto kernel metric 0  pref medium
>     local fe80:: dev lo proto kernel metric 0  pref medium
>     ...
> 
> Signed-off-by: David Ahern <dsa@...ulusnetworks.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ