Date: Fri, 21 Aug 2009 14:33:09 -0400 From: David Horn <dhorn2000@gmail.com> To: Doug Hardie <bc979@lafn.org> Cc: FreeBSD Questions <questions@freebsd.org> Subject: Re: Possible bug with IPv6 ICMPv6 handling Message-ID: <25ff90d60908211133s74261676m6333151addf743f@mail.gmail.com> In-Reply-To: <69165A28-4E22-4D6D-B21E-1BD4A3025B0A@lafn.org> References: <69165A28-4E22-4D6D-B21E-1BD4A3025B0A@lafn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 21, 2009 at 1:55 AM, Doug Hardie<bc979@lafn.org> wrote: > I have found what to me seems like a bug with ICMPv6 handling in IPv6. > =A0However, before submitting a PR I wanted to check to be sure that its = not a > misunderstanding on my part. > > The network setup. =A0A host (A) connected to a router (B) connected to > another host (C) on a separate network. =A0When all are up and running, A= can > ping6 to C and gets a response. =A0If you power off C and then do the pin= g > again, tpcdump on A shows an ICMPv6 destination unreachable datagram > received from B. However ping6 does not report that back to the user. =A0= A > ktrace of ping6 shows that it does not receive the ICMPv6 response. =A0It= s my > understanding that it should and the ping6 code seems to imply that also.= Is > this a bug? > _______________________________________________ What version of FreeBSD are you using ? Did you try the -v parameter to ping6 to display non-echo responses ? (man ping6) In a similar test I ran, I was able to get the icmp6 host unreachable message from ping6 -v on my FreeBSD 7.2 box. (I pinged a non-existent address/machine off an upstream router) uname -a FreeBSD dhorn-bsd 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:57:44 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 dhorn@dhorn-bsd:~> ping6 -v 2001:470:7:584::3 PING6(56=3D40+8+8 bytes) 2001:470:8:584:20e:cff:xxxx:xxxx --> 2001:470:7:58= 4::3 64 bytes from 2001:470:7:584::1: Destination Host Unreachable Vr TC Flow Plen Nxt Hlim 6 00 00000 0010 3a 3e 2001:470:8:584:20e:cff:xxxx:xxxx->2001:470:7:584::3 ICMP6: type =3D 128, code =3D 0 The other thing to potentially look at would be firewall rules, but that is unlikely if you can see the icmp6 response in tcpdump. Good Luck. --Dave
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25ff90d60908211133s74261676m6333151addf743f>