Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2017 20:58:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221091] security/ike iked does not run after upgrade to FreeBSD 11.1
Message-ID:  <bug-221091-13-znLffb7brU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221091-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221091-13@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=3D221091

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ae@FreeBSD.org

--- Comment #1 from Andrey V. Elsukov <ae@FreeBSD.org> ---
I think you need to configure "socket natt" option. UDP_ENCAP_ESPINUDP_NON_=
IKE
encapsulation type was removed. And I'm not sure why the daemon is trying to
set this option in non NAT-T case. Also, you can patch
ike/source/iked/ike.socket.cpp file and remove the entire block:

132         else
133         {
134                 optval =3D UDP_ENCAP_ESPINUDP_NON_IKE;
135                 if( setsockopt( sock_info->sock, SOL_UDP, UDP_ENCAP,
&optval, sizeof( optval ) ) < 0)
136                 {
137                         log.txt( LLOG_ERROR, "!! : socket set udp-encap
non-ike option failed\n" );
138                         return LIBIKE_SOCKET;
139                 }
140         }

I think this should be enough to make it working again.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221091-13-znLffb7brU>