Bug 555735 - DHCPDv6 messages are not recognised
Summary: DHCPDv6 messages are not recognised
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: logwatch
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Karel Klíč
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-15 11:31 UTC by Frank Crawford
Modified: 2013-03-03 23:00 UTC (History)
4 users (show)

Fixed In Version: logwatch-7.3.6-50.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-24 06:03:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
DHCPDv6 log messages (1.00 KB, text/plain)
2010-01-15 11:31 UTC, Frank Crawford
no flags Details
Add reporting on DHCPv6 log entries (3.95 KB, patch)
2010-01-17 03:35 UTC, Frank Crawford
no flags Details | Diff
Updated reporting on DHCPv6 log entries (3.97 KB, patch)
2010-01-17 22:45 UTC, Frank Crawford
no flags Details | Diff

Description Frank Crawford 2010-01-15 11:31:17 UTC
Created attachment 384574 [details]
DHCPDv6 log messages

Description of problem:
logwatch's dhcpd module does not handle entries generated by ISC DHCPD for IPv6 addresses.

Version-Release number of selected component (if applicable):
logwatch-7.3.6-48.fc12.noarch
dhcp-4.1.0p1-13.fc12.i686

How reproducible:
100%

Steps to Reproduce:
1. Run "dhcpd -6" with appropriate configuration file.
2. Request dynamic IPv6 address.
3. Run logwatch.
  
Actual results:
All IPv6 related entries listed as Unknown Entries.

Expected results:
Normal table of DHCPD allocated addresses.

Additional info:
Message format seems to be slightly different for DHCPD IPv6 entries compared with IPv4 entries.

A sample of messages (not necessarily related to each other) is attached.

Comment 1 Frank Crawford 2010-01-17 03:35:09 UTC
Created attachment 384875 [details]
Add reporting on DHCPv6 log entries

Here is a patch that implements basic parsing of the DHCPv6 messages.  However at present there seems to be no method to tie leases back to who requested them, as for IPv6 the initial request is with temporary addresses, and the standard logging does not report what address is assigned!  In particular for static assignments you just have to trust it works!!

Comment 2 Frank Crawford 2010-01-17 22:45:56 UTC
Created attachment 384980 [details]
Updated reporting on DHCPv6 log entries

The previous patch was not detecting the run type correctly.  This has improved detection of the dhcpd start being IPv4 or IPv6, based on what address is bound to.

Comment 3 Fedora Update System 2010-02-05 08:46:06 UTC
logwatch-7.3.6-50.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/logwatch-7.3.6-50.fc12

Comment 4 Fedora Update System 2010-02-06 00:03:46 UTC
logwatch-7.3.6-50.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update logwatch'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1530

Comment 5 Fedora Update System 2010-02-24 06:03:06 UTC
logwatch-7.3.6-50.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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