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 1019746 - ipsec ikeping does not recognize --exchangenum parameter
Summary: ipsec ikeping does not recognize --exchangenum parameter
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openswan
Version: 6.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Paul Wouters
QA Contact: Aleš Mareček
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-16 10:51 UTC by Ondrej Moriš
Modified: 2014-10-14 08:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-14 08:18:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1588 0 normal SHIPPED_LIVE openswan bug fix and enhancement update 2014-10-14 01:39:53 UTC

Description Ondrej Moriš 2013-10-16 10:51:47 UTC
Description of problem:

When --exchange parameter [*] is used with ipsec ikeping, it seems not to be recognized correctly. Moreover with unrecognized parameter ipsec ikeping aborts.

[*]  [--exchangenum num]    use num instead of 244 for the exchange type.

Version-Release number of selected component (if applicable):

openswan-2.6.32-25.el6

How reproducible:

100%

Steps to Reproduce:

0. make sure ipsec is stopped
1. ipsec ikeping --thisoptiondoesnotexist 1.2.3.4
2. ipsec ikeping --exchangenum 245 1.2.3.4

Actual results:

1. /usr/libexec/ipsec/ikeping: unrecognized option '--thisoptiondoesnotexist'
   ikeping: /builddir/build/BUILD/openswan-2.6.32/programs/ikeping/ikeping.c:396: main: Assertion `0' failed.
   Aborted (core dumped)
2. ikeping: /builddir/build/BUILD/openswan-2.6.32/programs/ikeping/ikeping.c:396: main: Assertion `0' failed.
   Aborted (core dumped)

Expected results:

1. ipsec ikeping: unknown option '--thisoptiondoesnotexist'
2. ipsec ikeping: unknown option `--exchangenum'


Additional info:

This is not a regression.

Comment 1 Paul Wouters 2013-10-16 15:52:08 UTC
This was fixed in libreswan upstream last week:

https://github.com/libreswan/libreswan/commit/c5b9334167795c7a683c4a6630770fa323ee2750

I can put it in if/when we do a 6.6 release. libreswan in rhel7 will have the fix

Comment 4 errata-xmlrpc 2014-10-14 08:18:56 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.

http://rhn.redhat.com/errata/RHBA-2014-1588.html


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