[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZEePE9LMA0pWxz9r@gondor.apana.org.au>
Date: Tue, 25 Apr 2023 16:28:03 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Tobias Brunner <tobias@...ongswan.org>
Cc: Steffen Klassert <steffen.klassert@...unet.com>,
netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>
Subject: Re: [PATCH ipsec] xfrm: Ensure consistent address families when
resolving templates
On Tue, Apr 25, 2023 at 10:00:32AM +0200, Tobias Brunner wrote:
>
> At least in theory, there could be applications for optional outbound
> templates, e.g. an optional ESP transform that's only applied to some of the
> traffic matching the policy (based on the selector on the state, which is
> matched against the original flow) followed by a mandatory AH transform
> (there could even be multiple optional transforms, e.g. using different
> algorithms, that are selectively applied to traffic). No idea if anybody
> actually uses this, but the API allows configuring it. And syzbot showed
> that some combinations are problematic.
OK, if nobody actually is using this we should restrict its usage.
How about limiting optional transforms on outbound policies to
transport mode only?
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists