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-...@freebsd.org [owner-freebsd-...@freebsd.org] on behalf of Fernando Gont [ferna...@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: ferna...@gont.com.ar || fg...@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-unsubscr...@freebsd.org" _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"