Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2011 13:06:42 -0300
From:      Fernando Gont <fernando@gont.com.ar>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: IPv6 Redirects & local destinations
Message-ID:  <4EA04712.3060705@gont.com.ar>
In-Reply-To: <F8470CE2-D5E7-46D6-AF0F-1A85AC1DB21D@lists.zabbadoz.net>
References:  <4E9FAFCD.3080908@gont.com.ar> <F8470CE2-D5E7-46D6-AF0F-1A85AC1DB21D@lists.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EA04712.3060705>