| Summary: | keyingtries=0 is broken - meaning it is interpreted as keyingtries=1 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Marcel Kolaja <mkolaja> |
| Component: | libreswan | Assignee: | Paul Wouters <pwouters> |
| Status: | CLOSED ERRATA | QA Contact: | Ondrej Moriš <omoris> |
| Severity: | medium | Docs Contact: | Mirek Jahoda <mjahoda> |
| Priority: | high | ||
| Version: | 7.2 | CC: | jaster, ksrot, mjahoda, mkolaja, omoris, pvrabec, pwouters, tmraz |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| 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.
|
Story Points: | --- |
| Clone Of: | 1283468 | Environment: | |
| Last Closed: | 2016-11-09 17:16:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 1283468 | ||
| Bug Blocks: | |||
|
Description
Marcel Kolaja
2016-10-19 12:15:22 UTC
Successfully verified with libreswan-3.15-6.3.el7_2. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: SERVER - keyingtries=0 (forever) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Command 'sed -i 's/keyingtries=.*/keyingtries=0/' /etc/ipsec.conf' (Expected 0, got 0) :: [ PASS ] :: Command 'service ipsec start && sleep 5' (Expected 0, got 0) :: [ LOG ] :: sync: SERVER is waiting for flag CLIENT_READY_TEST03 :: [ LOG ] :: sync: SERVER got flag CLIENT_READY_TEST03 :: [ PASS ] :: Command 'syncExp CLIENT_READY_TEST03' (Expected 0, got 0) :: [ LOG ] :: sync: SERVER set flag SERVER_READY_TEST03 :: [ PASS ] :: Command 'syncSet SERVER_READY_TEST03' (Expected 0, got 0) :: [ LOG ] :: sync: SERVER is waiting for flag CLIENT_DONE_TEST03 :: [ LOG ] :: sync: SERVER got flag CLIENT_DONE_TEST03 :: [ PASS ] :: Command 'syncExp CLIENT_DONE_TEST03' (Expected 0, got 0) :: [ LOG ] :: sync: SERVER set flag SERVER_DONE_TEST03 :: [ PASS ] :: Command 'syncSet SERVER_DONE_TEST03' (Expected 0, got 0) :: [ PASS ] :: Command 'service ipsec stop && sleep 5' (Expected 0, got 0) :: [ LOG ] :: Duration: 8m 45s :: [ LOG ] :: Assertions: 7 good, 0 bad :: [ PASS ] :: RESULT: SERVER - keyingtries=0 (forever) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: CLIENT - keyingtries=0 (forever) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Command 'sed -i 's/keyingtries=.*/keyingtries=0/' /etc/ipsec.conf' (Expected 0, got 0) :: [ PASS ] :: Command 'service ipsec start && sleep 5' (Expected 0, got 0) :: [ LOG ] :: sync: CLIENT set flag CLIENT_READY_TEST03 :: [ PASS ] :: Command 'syncSet CLIENT_READY_TEST03' (Expected 0, got 0) :: [ LOG ] :: sync: CLIENT is waiting for flag SERVER_READY_TEST03 :: [ LOG ] :: sync: CLIENT got flag SERVER_READY_TEST03 :: [ PASS ] :: Command 'syncExp SERVER_READY_TEST03' (Expected 0, got 0) :: [ PASS ] :: Command 'ipsec auto --up test' (Expected 0, got 0) :: [ PASS ] :: Command 'service ipsec status' (Expected 0, got 0) :: [ PASS ] :: Command 'ip xfrm state' (Expected 0, got 0) :: [ PASS ] :: Command 'ip xfrm policy' (Expected 0, got 0) :: [ LOG ] :: Found keying attempt 2 :: [ LOG ] :: Found keying attempt 3 :: [ LOG ] :: Found keying attempt 4 :: [ LOG ] :: Found keying attempt 5 :: [ LOG ] :: Found keying attempt 6 :: [ LOG ] :: Breaking unlimited number of keying attempts after 6 attempts :: [ LOG ] :: Timeout exceeded! :: [ PASS ] :: Command 'break_and_renew 0 test 300' (Expected 0, got 0) :: [ PASS ] :: Command 'service ipsec status' (Expected 0, got 0) :: [ PASS ] :: Command 'ip xfrm state' (Expected 0, got 0) :: [ PASS ] :: Command 'ip xfrm policy' (Expected 0, got 0) :: [ LOG ] :: sync: CLIENT set flag CLIENT_DONE_TEST03 :: [ PASS ] :: Command 'syncSet CLIENT_DONE_TEST03' (Expected 0, got 0) :: [ LOG ] :: sync: CLIENT is waiting for flag SERVER_DONE_TEST03 :: [ LOG ] :: sync: CLIENT got flag SERVER_DONE_TEST03 :: [ PASS ] :: Command 'syncExp SERVER_DONE_TEST03' (Expected 0, got 0) :: [ PASS ] :: Command 'service ipsec stop && sleep 5' (Expected 0, got 0) :: [ LOG ] :: Duration: 8m 40s :: [ LOG ] :: Assertions: 15 good, 0 bad :: [ PASS ] :: RESULT: CLIENT - keyingtries=0 (forever) For more details, see [1]. [1] https://tcms.engineering.redhat.com/run/296233/?case__tag__name=#caserun_13966224 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/RHBA-2016-2683.html |