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.
Created attachment 868101[details]
patch for NAT-T draft payloads
Description of problem:
When a client supporting only non-RFC versions of NAT-T connect to openswan, the connection is rejected with:
***parse ISAKMP Key Exchange Payload:
| next payload type: ISAKMP_NEXT_NONCE
| length: 260
| got payload 0x400(ISAKMP_NEXT_NONCE) needed: 0x400 opt: 0x102080
"any--east-l2tp"[1] 192.1.2.254 #1: next payload type of ISAKMP Nonce Payload has an unknown value: 130
"any--east-l2tp"[1] 192.1.2.254 #1: malformed payload in packet
| payload malformed after IV
|
"any--east-l2tp"[1] 192.1.2.254 #1: sending notification PAYLOAD_MALFORMED to 192.1.2.254:500
Version-Release number of selected component (if applicable):
2.6.32-27.2
This can be tested most easily using Windows XP, as it does not support the NAT-T in RFC version, only draft version 2.
the cause is due to bug introduced while backporting the CVE fix for libreswan to openswan. A change in the payload_names struct accidentally left out the private use payload names (which include the two draft NAT-T payloads and the IKE fragmentation payload)
Patch attached to this bug,
For this scenario, you need a setup that has an "old" client behind NAT to openswan as a server.
We have added an option ikev1_natt={bofh|rfc|draft} to libreswan that can suppress sending the RFC value, so that newer clients also fall into the older code that is broken in the latest openswan build, but this option hasn't made it into a release yet. I can make a patch that would apply to openswan so you can build it and configure it so that it does not understand the rfc but only the draft.
Otherwise, the easiest way to test this now is to use a Windows XP VM, as it does not support the RFC method, only the draft method.
I don't know how this customer is but Matt Rogers should know.
(In reply to Karel Srot from comment #7)
> Hi Paul,
> is this a duplicate to bug 1070356? If yes, could you please close this one?
uhm, you are asking if 1070356 is a duplicate of 1070356 ?
I'm a software engineer, not a philosopher :)
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.
http://rhn.redhat.com/errata/RHBA-2014-1588.html
Created attachment 868101 [details] patch for NAT-T draft payloads Description of problem: When a client supporting only non-RFC versions of NAT-T connect to openswan, the connection is rejected with: ***parse ISAKMP Key Exchange Payload: | next payload type: ISAKMP_NEXT_NONCE | length: 260 | got payload 0x400(ISAKMP_NEXT_NONCE) needed: 0x400 opt: 0x102080 "any--east-l2tp"[1] 192.1.2.254 #1: next payload type of ISAKMP Nonce Payload has an unknown value: 130 "any--east-l2tp"[1] 192.1.2.254 #1: malformed payload in packet | payload malformed after IV | "any--east-l2tp"[1] 192.1.2.254 #1: sending notification PAYLOAD_MALFORMED to 192.1.2.254:500 Version-Release number of selected component (if applicable): 2.6.32-27.2 This can be tested most easily using Windows XP, as it does not support the NAT-T in RFC version, only draft version 2. the cause is due to bug introduced while backporting the CVE fix for libreswan to openswan. A change in the payload_names struct accidentally left out the private use payload names (which include the two draft NAT-T payloads and the IKE fragmentation payload) Patch attached to this bug,