Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Feb 2017 23:41:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 216681] IPsec traceroute6 -I does not work
Message-ID:  <bug-216681-6-DwYCkDoerA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216681-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216681-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216681

Andrey V. Elsukov <ae@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|freebsd-amd64@FreeBSD.org   |hrs@FreeBSD.org

--- Comment #3 from Andrey V. Elsukov <ae@FreeBSD.org> ---
(In reply to Jason Mader from comment #2)
> (In reply to Andrey V. Elsukov from comment #1)
>=20
> Just for reference, Linux with a similar icmp6 out transport policy does =
add
> the AH. And FreeBSD does handle the echo response with AH.

This is not linux or freebsd kernel specificity, this is how traceroute6 wo=
rks.
You can try to rebuild traceroute6 without IPSEC support, and I think it wi=
ll
work like you want.=20

Index: usr.sbin/traceroute6/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- usr.sbin/traceroute6/Makefile       (revision 312816)
+++ usr.sbin/traceroute6/Makefile       (working copy)
@@ -22,7 +22,7 @@ SRCS=3D as.c traceroute6.c
 BINOWN=3D        root
 BINMODE=3D 4555

-CFLAGS+=3D -DIPSEC -DUSE_RFC2292BIS -DHAVE_POLL
+CFLAGS+=3D -DUSE_RFC2292BIS -DHAVE_POLL
 CFLAGS+=3D -I${.CURDIR} -I${TRACEROUTE_DISTDIR} -I.

 WARNS?=3D        3

PS. I'm not sure, but, IMHO, almost all IPSEC related code in the tracerout=
e6
is dead and should be removed. At least we have not implemented in our kern=
el
all these IPV6_[ESP|AUTH]_XXX socket options, that traceroute6 tries to
configure.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216681-6-DwYCkDoerA>