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 1283468 - keyingtries=0 is broken - meaning it is interpreted as keyingtries=1
Summary: keyingtries=0 is broken - meaning it is interpreted as keyingtries=1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libreswan
Version: 7.2
Hardware: All
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Paul Wouters
QA Contact: Ondrej Moriš
Mirek Jahoda
URL:
Whiteboard: Regression
Depends On:
Blocks: 1386666
TreeView+ depends on / blocked
 
Reported: 2015-11-19 04:05 UTC by Paul Wouters
Modified: 2016-11-08 11:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In Libreswan 3.13, 3.14, and 3.15, the "keyingtries=0" option for the "ipsec whack" command did not work properly. Consequently, the pluto IKE daemon stopped trying to establish the tunnels that were not immediately established if "keyingtries=0" was used. With this update, pluto tries to establish the tunnel with "keyingtries=0" indefinitely.
Clone Of:
: 1289498 1386666 (view as bug list)
Environment:
Last Closed: 2016-11-03 21:22:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2603 0 normal SHIPPED_LIVE Moderate: libreswan security and bug fix update 2016-11-03 12:13:02 UTC

Description Paul Wouters 2015-11-19 04:05:13 UTC
Bug was introduced upstream in 3.15 only.

Patch is in upstream git 3c8dc46d53e3e5004b88f30b5ec3d06d5337951c

Comment 2 Ondrej Moriš 2015-11-25 14:22:30 UTC
Adding a Regression keyword.

Comment 3 Ondrej Moriš 2015-11-25 14:25:23 UTC
It might be good to fix this either in 7.2.z or 7.3.0. It is not really FIPS-related but I might be quite important.

Comment 5 Paul Wouters 2015-11-25 16:18:26 UTC
note the effects are:

if during negotiation failure there is a temporary problem, it will not try to connect for more than one time.

If the connection is up, and the remote end sends a delete ( eg restats) the local end will not attempt to reconnect (but the remote end might)

Comment 7 Paul Wouters 2015-11-26 16:15:41 UTC
the default values is 0 (keep retrying forever)

Comment 8 Ondrej Moriš 2015-11-27 14:54:38 UTC
(In reply to Paul Wouters from comment #7)
> the default values is 0 (keep retrying forever)

Ah, that is correct (I was mistakenly looking into ipsec_pluto(8) where the default value is 3).

Comment 9 Paul Wouters 2015-11-27 15:36:37 UTC
Fixed ipsec_pluto man page upstream :)

Comment 16 errata-xmlrpc 2016-11-03 21:22:02 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, 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://rhn.redhat.com/errata/RHSA-2016-2603.html


Note You need to log in before you can comment on or make changes to this bug.