Report information
The Basics
Id:
22675
Status:
resolved
Estimated:
24 hours (1,440 minutes)
Worked:
6.67 hours (400 minutes)
Users:
tmark: 6.67 hours (400 minutes)
Left:
24 hours (1,440 minutes)
Priority:
Low/Low
Queue:

BugTracker
Version Fixed:
4.4.0
Version Found:
(no value)
Versions Affected:
(no value)
Versions Planned:
4.4.0
Priority:
P2 Normal
Severity:
S2 Normal
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
DHCP Client
Area:
bug

Dates
Created:Wed, 08 Dec 2010 09:12:02 -0500
Updated:Mon, 15 Jan 2018 14:50:20 -0500
Closed:Mon, 11 Dec 2017 10:57:08 -0500



This bug tracker is no longer active.

Please go to our Gitlab to submit issues (both feature requests and bug reports) for active projects maintained by Internet Systems Consortium (ISC).

Due to security and confidentiality requirements, full access is limited to the primary maintainers.

Subject: dhclient -6 honors already-expired leases
Date: Wed, 08 Dec 2010 15:11:50 +0100
To: dhcp-suggest@isc.org
From: Jiri Popelka <jpopelka@redhat.com>
Hello, I'm sending a patch for dhcpv6 client. With this patch dhclient checks whether there is any unexpired address in previous lease prior to confirming (INIT-REBOOT) the lease. For the initial reason see this bug report https://bugzilla.redhat.com/show_bug.cgi?id=585418 Here is my additional investigation and suggestion: DHCPv4 client first looks whether the active lease is expired. If it's not, he starts to send DHCPREQUEST. If it is, he goes to INIT state, i.e. starts to send DHCPDISCOVER. If he get's no response in INIT state he runs (panic_state()) through the list of leases and see if one can be used. DHCPv6 client on the begining looks if there's any previous binding and without checking whether it isn't already expired he directly goes to CONFIRM state. If he gets no response he bounds the old lease without checking whether it isn't already expired. I know that Section 18.1.2. (Creation and Transmission of Confirm Messages) of RFC 3315 says: * If the client receives no responses before the message * transmission process terminates, as described in section 14, * the client SHOULD continue to use any IP addresses, using the * last known lifetimes for those addresses, and SHOULD continue * to use any other previously obtained configuration parameters. But I think 'dhclient -6' can avoid some work if it was working the same way as 'dhclient -4', i.e. by checking whether the lease is not already expired before confirming/binding it. I know ISC dhcp is reference implementation so my patch will probably be refused. Just look at https://bugzilla.redhat.com/show_bug.cgi?id=585418 and think about it :-) Thank you. Jiri Popelka Red Hat, inc.

Message body is not shown because sender requested not to inline it.

On Tue Nov 14 21:03:30 2017, tmark wrote: > Ready for review. => code OK. Perhaps it should be backlported?