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.
In rhel7 I used libreswan-3.8-5.el7. I got same results as in openswan, but in libreswan there are no abort messages in log file.
+++ This bug was initially created as a clone of Bug #1146100 +++
Description of problem:
Pluto crashes after start when some ah algorithms are used. I found two id3 and null. It does not matter which ike is used.
Version-Release number of selected component (if applicable):
openswan-2.6.32-37.el6
How reproducible:
Always.
Steps to Reproduce:
1. Configure openswan with phase2=ah, phase2alg=id3 or phase2alg=null.
2. Start openswan.
3. After start you can see that pluto crashed.
Actual results:
Crash.
ABORT at /builddir/build/BUILD/openswan-2.6.32/lib/libopenswan/alg_info.c:98
ABORT at /builddir/build/BUILD/openswan-2.6.32/lib/libopenswan/alg_info.c:98
Expected results:
No crash.
Additional info:
config setup
protostack=netkey
plutodebug=all
plutorestartoncrash=false
plutostderrlog=/tmp/pluto.log
conn test
left=<INITIATOR>
right=<RESPONDER>
authby=secret
ikev2=no
phase2=ah
phase2alg=<ALG>
auto=add
note we updated the list of bad/illegal algorithms that are not allowed
(for latest version see: https://github.com/libreswan/libreswan/blob/master/testing/lib/libswan/algparse.c)> do_test("3des-null", PROTO_IPSEC_ESP); /* must have non-null auth */
> do_test("aes128-null", PROTO_IPSEC_ESP); /* must have non-null auth */
> do_test("aes_gcm-md5", PROTO_IPSEC_ESP); /* AEAD must have auth null */
> do_test("aes_gcm", PROTO_IPSEC_AH); /* is ESP only cipher */
> do_test("aes_ccm", PROTO_IPSEC_AH); /* is ESP only cipher */
> do_test("null", PROTO_IPSEC_AH); /* iAH cannot use null auth */
these are all addressed in upstream and will go into 3.11 today or tomorrow
Hi Paul,
I need to be sure. AH with null is not supported and ESP with null is supported and id3 is not supported. Is it right?
I'm going to test these algs.
phase2=ah, phase2alg=id3, not supported
phase2=ah, phase2alg=null, not supported
phase2=esp, phase2alg=id3, not supported
phase2=esp, phase2alg=null, supported
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-2015-0431.html