]> git.ipfire.org Git - people/ms/strongswan.git/commit
proposal: Add ESN transform to default ESP AEAD proposal
authorMartin Willi <martin@strongswan.org>
Mon, 31 Jan 2022 13:01:42 +0000 (14:01 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 1 Feb 2022 12:06:42 +0000 (13:06 +0100)
commit956b25a4cc1848fd0b79f61c9d8065ca32f0ffa3
tree351e5eaf6080d858149e19c51cc4ed6ec0552d66
parent912d0520b96c8f49fefe3cab49a11630e8c06384
proposal: Add ESN transform to default ESP AEAD proposal

The commit mentioned below adds an AES-GCM default proposal for ESP. That
proposal does not include any ESN or non-ESN transform to indicate if
extended sequence numbers are supported.

A standards-compliant peer will include one or more ESN support transforms,
and will be unable to select this proposal due to a proposal mismatch.

Fix the default AES-GCM proposal by adding a NO_ESN algorithm. While ESN has
been supported in the Linux kernel for a while, having it in the default
proposal can be problematic with kernel-libipsec or on other platforms.

Fixes: c7bef954eec6 ("proposal: Add AES-GCM to the ESP default AEAD proposal")
Closes strongswan/strongswan#868
src/libstrongswan/crypto/proposal/proposal.c