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 799690 - Ignore the ignorable openswan messages
Summary: Ignore the ignorable openswan messages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: logwatch
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Synacek
QA Contact: Ondrej Hudlicky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-04 11:15 UTC by Matěj Cepl
Modified: 2014-01-30 09:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-10 13:39:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch (2.77 KB, patch)
2012-08-15 07:07 UTC, Jan Synacek
no flags Details | Diff
Reproducer (10.00 KB, application/x-tar)
2013-06-12 06:58 UTC, Jan Synacek
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1247 0 normal SHIPPED_LIVE logwatch bug fix update 2013-09-10 17:38:05 UTC

Description Matěj Cepl 2012-03-04 11:15:44 UTC
Description of problem:

Every day I get in the logwatch email in FreeS/WAN (BTW, the name is wrong, we are using Openswan) a lot of messages like the following. Most of them are just ignorable and should be eliminated from the logwatch report:

UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: ERROR: "nm-conn1" #2: sendto on wlan0 to 209.132.186.252:4500 failed in delete notify. Errno 22: Invalid argument
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: down-client output: RTNETLINK answers: Network is unreachable
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: down-client output: RTNETLINK answers: Network is unreachable
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: down-client output: /usr/libexec/ipsec/_updown.netkey: doroute `ip route del 172.16.0.0/16  dev wlan0 ' failed (RTNETLINK answers: No such process)
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: down-client output: RTNETLINK answers: Network is unreachable
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: down-client output: RTNETLINK answers: Network is unreachable
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: down-client output: /usr/libexec/ipsec/_updown.netkey: doroute `ip route del 10.0.0.0/8  dev wlan0 ' failed (RTNETLINK answers: No such process)
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: restoreresolvconf-client output: Restoring resolv.conf is controlled by Network Manager
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: restoreresolvconf-client output: sending disconnect signal to NetworkManager
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: restoreresolvconf-client output: 
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: restoreresolvconf-client output: ** (process:6634): WARNING **: <WARN>  helper_disconnect(): nm-openswan-service-helper received disconnect from openswan
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: restoreresolvconf-client output: 
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: restoreresolvconf-client output: 
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: restoreresolvconf-client output: ** (process:6634): WARNING **: <WARN>  helper_disconnect(): Could not send failure information: Could not process the request because no VPN connection was active.
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: "nm-conn1" #2: restoreresolvconf-client output: 
 UNKNOWN: Mar  3 01:51:09 mitmanek pluto[7991]: ERROR: "nm-conn1" #1: sendto on wlan0 to 209.132.186.252:4500 failed in delete notify. Errno 22: Invalid argument
 UNKNOWN: Mar  3 12:05:38 mitmanek pluto[15530]: "nm-conn1" #1: multiple DH groups were set in aggressive mode. Only first one used.
 UNKNOWN: Mar  3 12:05:38 mitmanek pluto[15530]: "nm-conn1" #1: transform (7,2,2,0) ignored.
 UNKNOWN: Mar  3 12:05:38 mitmanek pluto[15530]: "nm-conn1" #1: initiating Aggressive Mode #1, connection "nm-conn1"
 UNKNOWN: Mar  3 12:05:38 mitmanek pluto[15530]: "nm-conn1" #1: multiple DH groups were set in aggressive mode. Only first one used.
 UNKNOWN: Mar  3 12:05:38 mitmanek pluto[15530]: "nm-conn1" #1: transform (7,2,2,0) ignored.
 UNKNOWN: Mar  3 12:05:38 mitmanek pluto[15530]: "nm-conn1" #1: ignoring Vendor ID payload [FRAGMENTATION c0000000]
 UNKNOWN: Mar  3 12:05:38 mitmanek pluto[15530]: "nm-conn1" #1: ignoring Vendor ID payload [Cisco VPN 3000 Series]
 UNKNOWN: Mar  3 12:05:38 mitmanek pluto[15530]: "nm-conn1" #1: protocol/port in Phase 1 ID Payload must be 0/0 or 17/500 but are 17/0
 UNKNOWN: Mar  3 12:05:38 mitmanek pluto[15530]: "nm-conn1" #1: Aggressive mode peer ID is ID_IPV4_ADDR: '209.132.186.252'
 UNKNOWN: Mar  3 12:05:38 mitmanek pluto[15530]: "nm-conn1" #1: XAUTH: Bad Message: Enter Username and Password.
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: XAUTH: Answering XAUTH challenge with user='mcepl'
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: STATE_XAUTH_I1: XAUTH client - awaiting CFG_set
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: XAUTH: Successfully Authenticated
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: STATE_XAUTH_I1: XAUTH client - awaiting CFG_set
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: modecfg: Sending IP request (MODECFG_I1)
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: received mode cfg reply
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: setting client address to 10.36.4.76/32
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: setting ip source address to 10.36.4.76/32
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: Received IP4 NETMASK 255.255.252.0
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: Received DNS 10.33.63.7, len=10
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: Received DNS 10.32.63.5, len=10
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: Received subnet 172.16.0.0/16, maskbits 16
 UNKNOWN: Mar  3 12:05:41 mitmanek pluto[15530]: "nm-conn1" #1: Received subnet 10.0.0.0/8, maskbits 8
 UNKNOWN: Mar  3 12:05:42 mitmanek pluto[15530]: "nm-conn1" #2: updateresolvconf-client output: Updating resolv.conf is controlled by Network Manager


Version-Release number of selected component (if applicable):
logwatch-7.3.6-49.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1.use openswan (via NetworkManager plugin)
2.
3.
  
Actual results:
get a ton of junk in email

Expected results:
only important messages are in the email

Additional info:
Feel free to reassign to Fedora product if it will make it faster fixed.

Comment 2 Jan Synacek 2012-08-15 07:07:55 UTC
Created attachment 604518 [details]
Patch

Comment 8 Jan Synacek 2013-06-12 06:58:36 UTC
Created attachment 759965 [details]
Reproducer

How to test:

1) untar
2) sh test-pluto.sh
3a - before) a lot of "UNKNOWN: ..." lines as mentioned in the description
3b - after) no "UNKNOWN: ..." spam, only useful information

Comment 11 errata-xmlrpc 2013-09-10 13:39:34 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-2013-1247.html


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