Date: Thu, 20 Oct 2011 16:14:51 +0000 From: "Li, Qing" <qing.li@bluecoat.com> To: Fernando Gont <fernando@gont.com.ar>, "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: FreeBSD Net <freebsd-net@freebsd.org> Subject: RE: IPv6 Redirects & local destinations Message-ID: <B143A8975061C446AD5E29742C531723157DE3@PWSVL-EXCMBX-01.internal.cacheflow.com> In-Reply-To: <4EA04712.3060705@gont.com.ar> References: <4E9FAFCD.3080908@gont.com.ar> <F8470CE2-D5E7-46D6-AF0F-1A85AC1DB21D@lists.zabbadoz.net>, <4EA04712.3060705@gont.com.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
This failure showed up in the IPv6 Ready Logo test suites and I am fixing it.
I already made a checkin recently on this front, and more is coming.
http://svnweb.freebsd.org/base?view=revision&revision=226451
I will be posting the test results soon so we know where we are.
--Qing
________________________________________
From: owner-freebsd-net@freebsd.org [owner-freebsd-net@freebsd.org] on behalf of Fernando Gont [fernando@gont.com.ar]
Sent: Thursday, October 20, 2011 9:06 AM
To: Bjoern A. Zeeb
Cc: FreeBSD Net
Subject: Re: IPv6 Redirects & local destinations
Hi, Bjoern,
Thanks so much for your prompt response! PLease find my comments inline...
On 10/20/2011 09:19 AM, Bjoern A. Zeeb wrote:
>> While doing some testing, it seems that FreeBSD ignores ICMPv6 Redirects
>> when both the Redirect Destination and the Redirect Target are the same
>> (i.e., the destination is supposed to be on-link).
>>
>> OTOH, Redirects are processed as expected when the Redirect Target is
>> different from the Redirect Destination.
>
> What does it log if you turn on the following sysctl
> net.inet6.icmp6.nd6_debug=1
> and reproduce?
Nothing. However, the problem seems to be this: While an entry is added
in the Neighbor Cache, no host-route is added to the routing table.
Hence the corresponding entry in the Neighbor Cache is never used.
>> Should I report this as a bug, or is this (non-rfc-compliant) behavior
>> intentional? (If so, what's the rationale?)
>
> It's kern/152791, isn't it?
Yep, it seems it is. -- The fix would be that when an ICMPv6 Redirect is
received with RD Target == RD Destination, not only is an entry created
in the Neighbor Cache, but a host-route is also created in the routing
table.
Thanks!
Best regards,
--
Fernando Gont
e-mail: fernando@gont.com.ar || fgont@acm.org
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B143A8975061C446AD5E29742C531723157DE3>
