[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZiXr5z/wsoQhmOGq@gauss3.secunet.de>
Date: Mon, 22 Apr 2024 06:47:35 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Antony Antony <antony.antony@...unet.com>
CC: Herbert Xu <herbert@...dor.apana.org.au>, <netdev@...r.kernel.org>,
Florian Westphal <fw@...len.de>, Willem de Bruijn
<willemdebruijn.kernel@...il.com>, "David S. Miller" <davem@...emloft.net>,
David Ahern <dsahern@...nel.org>, Jakub Kicinski <kuba@...nel.org>, "Paolo
Abeni" <pabeni@...hat.com>, Andreas Gruenbacher <agruenba@...hat.com>,
<devel@...ux-ipsec.org>, Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH ipsec-next v3] udpencap: Remove Obsolete
UDP_ENCAP_ESPINUDP_NON_IKE Support
On Fri, Apr 12, 2024 at 01:50:44PM +0200, Antony Antony wrote:
> The UDP_ENCAP_ESPINUDP_NON_IKE mode, introduced into the Linux kernel
> in 2004 [2], has remained inactive and obsolete for an extended period.
>
> This mode was originally defined in an early version of an IETF draft
> [1] from 2001. By the time it was integrated into the kernel in 2004 [2],
> it had already been replaced by UDP_ENCAP_ESPINUDP [3] in later
> versions of draft-ietf-ipsec-udp-encaps, particularly in version 06.
>
> Over time, UDP_ENCAP_ESPINUDP_NON_IKE has lost its relevance, with no
> known use cases.
>
> With this commit, we remove support for UDP_ENCAP_ESPINUDP_NON_IKE,
> simplifying the codebase and eliminating unnecessary complexity.
> Kernel will return an error -ENOPROTOOPT if the userspace tries to set
> this option.
>
> References:
> [1] https://datatracker.ietf.org/doc/html/draft-ietf-ipsec-udp-encaps-00.txt
>
> [2] Commit that added UDP_ENCAP_ESPINUDP_NON_IKE to the Linux historic
> repository.
>
> Author: Andreas Gruenbacher <agruen@...e.de>
> Date: Fri Apr 9 01:47:47 2004 -0700
>
> [IPSEC]: Support draft-ietf-ipsec-udp-encaps-00/01, some ipec impls need it.
>
> [3] Commit that added UDP_ENCAP_ESPINUDP to the Linux historic
> repository.
>
> Author: Derek Atkins <derek@...fp.com>
> Date: Wed Apr 2 13:21:02 2003 -0800
>
> [IPSEC]: Implement UDP Encapsulation framework.
>
> Signed-off-by: Antony Antony <antony.antony@...unet.com>
Applied, thanks Antony!
Powered by blists - more mailing lists