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 1152625

Summary: [TAHI][IKEv2] IKEv2.EN.I.1.1.6.2 Part D: Integrity Algorithm AUTH_AES_XCBC_96 fail
Product: Red Hat Enterprise Linux 7 Reporter: Hangbin Liu <haliu>
Component: libreswanAssignee: Paul Wouters <pwouters>
Status: CLOSED DUPLICATE QA Contact: Jaroslav Aster <jaster>
Severity: high Docs Contact:
Priority: high    
Version: 7.1CC: jaster, pwouters
Target Milestone: alpha   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-03 01:42:59 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:
Bug Depends On:    
Bug Blocks: 1049095    
Attachments:
Description Flags
Test Log
none
Test Log none

Description Hangbin Liu 2014-10-14 14:36:12 UTC
Created attachment 946946 [details]
Test Log

Description of problem:
While testing TAHI IKEv2.EN.I.1.1.6.2: Cryptographic Algorithm Negotiation for CHILD_SA, Part D: Integrity Algorithm AUTH_AES_XCBC_96 (ADVANCED). We got INTEG_NONE instead of INTEG_AES_XCBC_96 in IKE_AUTH request.

Version-Release number of selected component (if applicable):
libreswan-3.10-2.el7.x86_64

How reproducible:


Steps to Reproduce:
   NUT                  TN1
(End-Node)           (End-Node)
    |                    |
    |------------------->| IKE_SA_INIT request (HDR, SAi1, KEi, Ni)
    |                    | (Judgement #1)
    |<-------------------| IKE_SA_INIT Response (HDR, SAr1, KEr, Nr)
    |                    | (Packet #1)
    |                    |
    |------------------->| IKE_AUTH request (HDR, SK {IDi, AUTH, N, SAi2, TSi, TSr})
    |                    | (Judgement #2)
    |<-------------------| IKE_AUTH Response (HDR, SK {IDr, AUTH, N, SAr2, TSi, TSr})
    |                    | (Packet #2)
    |                    |

# cat -n /etc/ipsec.conf
config setup
        protostack=netkey
        plutostderrlog="/tmp/pluto.log"
        klipsdebug=verbose
conn ikev2
        left=2001:0db8:0001:0001::1234
        right=2001:0db8:000f:0001::1
        leftid=2001:0db8:0001:0001::1234
        rightid=2001:0db8:000f:0001::1
        type=transport
        auto=start
        connaddrfamily=ipv6
        authby=secret
        phase2=esp
        phase2alg=3des-aes_xcbc
        ike=3des-sha1;modp1024
        ikev2=insist

Actual results:
NG      INTEG:  (received:INTEG_NONE, expected:INTEG_AES_XCBC_96)

Expected results:
OK      INTEG:  (received:INTEG_AES_XCBC_96, expected:INTEG_AES_XCBC_96)

Additional info:

Comment 1 Hangbin Liu 2014-10-14 15:01:33 UTC
Created attachment 946953 [details]
Test Log

Add test log with plutodebug="all crypt"

Comment 5 Paul Wouters 2014-12-03 01:42:59 UTC

*** This bug has been marked as a duplicate of bug 1144123 ***