On 29.09.2016 06:11, Mark Kamichoff wrote:
> Hi - 
> 
> I've got FreeBSD 11* in a VM acting as an IPv6 router with a bunch of
> tunnel interfaces and a couple virtio interfaces.  I'm seeing some odd
> behavior related to ICMPv6 HL exceeded messages (type 3 code 0) when
> running traceroutes.  Specifically, the FreeBSD box emits the ICMPv6
> messages using the outgoing interface address (ie, toward traceroute
> destination) instead of the incoming interface address (expected).

Hi,

can you test this patch?

-- 
WBR, Andrey V. Elsukov
Index: icmp6.c
===================================================================
--- icmp6.c	(revision 305970)
+++ icmp6.c	(working copy)
@@ -2203,7 +2203,7 @@ icmp6_reflect(struct mbuf *m, size_t off)
 		 * that we do not own.  Select a source address based on the
 		 * source address of the erroneous packet.
 		 */
-		in6_splitscope(&ip6->ip6_dst, &dst6, &scopeid);
+		in6_splitscope(&ip6->ip6_src, &dst6, &scopeid);
 		error = in6_selectsrc_addr(RT_DEFAULT_FIB, &dst6,
 		    scopeid, NULL, &src6, &hlim);
 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to