Bug 2039877

Summary: drop IKEv1 packets by default
Product: Red Hat Enterprise Linux 9 Reporter: Ondrej Moriš <omoris>
Component: libreswanAssignee: Daiki Ueno <dueno>
Status: CLOSED ERRATA QA Contact: Ondrej Moriš <omoris>
Severity: unspecified Docs Contact: Jan Fiala <jafiala>
Priority: medium    
Version: 9.0CC: jafiala, lkuprova, mjahoda, pasik
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libreswan-4.6-3.el9 Doc Type: Enhancement
Doc Text:
.Libreswan does not accept IKEv1 packages by default Because the Internet Key Exchange v2 (IKEv2) protocol is now widely deployed, Libreswan no longer supports IKEv1 packets by default. IKEv2 provides a more secure environment and more resilience against attacks. If your scenario requires the use of IKEv1, you can enable it by adding the `ikev1-policy=accept` option to the `/etc/ipsec.conf` configuration file.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 13:44:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ondrej Moriš 2022-01-12 16:12:08 UTC
Description of problem:

Libreswan now (4.3) supports policy for IKEv1 packets. By default they are allowed. In RHEL-9 it would be good to put a barrier to using old IKEv1 by setting 'drop' ikev1-policy in default ipsec.conf. Please notice that this wouldn't change the default (which is 'accept') but rather explicitly configure default libreswan installation not to use the default.

Version-Release number of selected component (if applicable):

libreswan-4.3

Additional info:

This setting causes that no IKEv1 connection will be loaded. We need to document this changes properly. It is also quite clear that upstream is planning to get rid of IKEv1 (strongswan too) and we won't be able to guarantee full support for IKEv1 during RHEL-9 lifecycle.

Comment 13 errata-xmlrpc 2022-05-17 13:44:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: libreswan), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2575