[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1432166129.744347.274292401.7D68B8C1@webmail.messagingengine.com>
Date: Thu, 21 May 2015 01:55:29 +0200
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
To: Florian Westphal <fw@...len.de>, netdev@...r.kernel.org
Subject: Re: [PATCH -next] ipv6: reject locally assigned nexthop addresses
On Thu, May 21, 2015, at 00:25, Florian Westphal wrote:
> ip -6 addr add dead::1/128 dev eth0
> sleep 5
> ip -6 route add default via dead::1/128
> -> fails
> ip -6 addr add dead::1/128 dev eth0
> ip -6 route add default via dead::1/128
> -> succeeds
>
> reason is that if (nonsensensical) route above is added,
> dead::1 is still subject to DAD, so the route lookup will
> pick eth0 as outdev due to the prefix route that is added before
> DAD work is started.
>
> Add explicit test that checks if nexthop gateway is a local address.
>
> Link: https://bugzilla.redhat.com/show_bug.cgi?id=1167969
Should hopefully be public soon. :/
> Signed-off-by: Florian Westphal <fw@...len.de>
Acked-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Thanks!
--
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