Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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