Report information
The Basics
Id:
44022
Status:
open
Priority:
Medium/Medium
Queue:

People
Owner:
Nobody in particular
Cc:
AdminCc:

BugTracker
Version Fixed:
(no value)
Version Found:
4.3.3
Versions Affected:
(no value)
Versions Planned:
(no value)
Priority:
(no value)
Severity:
(no value)
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
(no value)
Area:
(no value)

Dates
Created:Tue, 03 Jan 2017 09:25:39 -0500
Updated:Thu, 11 Apr 2019 09:15:28 -0400
Closed:Thu, 11 Apr 2019 08:58:48 -0400



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: Internet Systems Consortium DHCP Server 4.3.3 - on commit {} in DHCPv6 has client option content instead of server option content
Date: Tue, 3 Jan 2017 14:25:35 +0000
To: dhcp-bugs@isc.org
From: "Darren Ankney" <dankney@network1.net>
Bug Report from www.isc.org: Name: Darren Ankney Email: dankney@network1.net Software Version: Internet Systems Consortium DHCP Server 4.3.3 OS: generic Linux 3.19.0 Subject:on commit {} in DHCPv6 has client option content instead of server option content Bug Detail =========== Original thread on DHCP users here: https://lists.isc.org/pipermail/dhcp-users/2016-December/020485.html having something like this in the dhcpd.conf file for DHCPv6: on commit { if exists dhcp6.ia-na { log(debug, concat( "LEASED,", "IPTIME,",binary-to-ascii(10, 32, "", substring(option dhcp6.ia-na,36,4)),"," ) ); } } Will produce a value for IPTIME that is equal to the time requested by the client instead of what was given by the server. For example: Client (Redhat Enterprise Linux 7 - ISC DHCP 4.2.5) sends a Renew for an IPv6 address via DHCPv6 requesting the following times (As seen in wireshark capture): T1: 3600 T2: 5400 Preferred Lifetime: 7200 Valid Lifetime: 7500 Server (generic Linux - ISC DHCP 4.3.3) is configured with this time setting in the pool6 {} statement: default-lease-time 600; Server responds with times like this (as seen in wireshark capture): T1: 0 T2: 0 Preferred Lifetime: 375 Valid Lifetime: 600 What is logged in the log file is 7500 not 600. The client lease file shows the following times: Renew: 0 Rebind: 0 Preferred Lifetime: 375 Valid Lifetime: 600 So, it seems that the dhcp options available in on commit {} are what the client sent in instead of those the server sent in response? Is that a bug? Or do I not understand how on commit {} works? I assumed that on commit {} would have access to the options as set by the server that were sent back to the client. It seems like a bug to me as the man page for DHCP options (man dhcp-options(5)) states that the option is produced by the server: option dhcp6.ia-na string; The Identity Association for Non-temporary Addresses (ia-na) carries assigned addresses that are not temporary addresses for use by the DHCPv6 client. This option is produced by the DHCPv6 server software, and should not be configured. --- This email was received through isc.org Bug Submission Form
Hello Darren: Thank you for reporting this issue. We have looked into enough to reproduce it and agree that at the very least, the server is not providing the documented behavior. The correction should be part of our 4.4.0 release, due out sometime this year, the date is TBD. At a point in time that we have a patch we can make it available to you. Thank you for your interest our software and for taking the time to report the issue to us. Sincerely, Thomas Markwalder ISC Software Engineering On Tue Jan 03 14:25:39 2017, dankney@network1.net wrote: > Bug Report from www.isc.org: > > Name: Darren Ankney > Email: dankney@network1.net > Software Version: Internet Systems Consortium DHCP Server 4.3.3 > OS: generic Linux 3.19.0 > Subject:on commit {} in DHCPv6 has client option content instead of > server option content > > > Bug Detail > =========== > Original thread on DHCP users here: > https://lists.isc.org/pipermail/dhcp-users/2016-December/020485.html > > having something like this in the dhcpd.conf file for DHCPv6: > > on commit { > if exists dhcp6.ia-na { > log(debug, > concat( "LEASED,", > "IPTIME,",binary-to-ascii(10, 32, "", > substring(option dhcp6.ia-na,36,4)),"," > ) > ); > } > } > > Will produce a value for IPTIME that is equal to the time requested by > the client instead of what was given by the server. > > For example: > > Client (Redhat Enterprise Linux 7 - ISC DHCP 4.2.5) sends a Renew for > an IPv6 address via DHCPv6 requesting the following times (As seen in > wireshark capture): > > T1: 3600 > T2: 5400 > Preferred Lifetime: 7200 > Valid Lifetime: 7500 > > Server (generic Linux - ISC DHCP 4.3.3) is configured with this time > setting in the pool6 {} statement: > > default-lease-time 600; > > Server responds with times like this (as seen in wireshark capture): > > T1: 0 > T2: 0 > Preferred Lifetime: 375 > Valid Lifetime: 600 > > What is logged in the log file is 7500 not 600. > > The client lease file shows the following times: > > Renew: 0 > Rebind: 0 > Preferred Lifetime: 375 > Valid Lifetime: 600 > > So, it seems that the dhcp options available in on commit {} are what > the client sent in instead of those the server sent in response? Is > that a bug? Or do I not understand how on commit {} works? I assumed > that on commit {} would have access to the options as set by the > server that were sent back to the client. > > It seems like a bug to me as the man page for DHCP options (man dhcp- > options(5)) states that the option is produced by the server: > > option dhcp6.ia-na string; > > The Identity Association for Non-temporary Addresses (ia-na) carries > assigned addresses that are not temporary addresses for use by the > DHCPv6 client. This option is produced by the DHCPv6 server software, > and should not be configured. > > --- > This email was received through isc.org Bug Submission Form
Hello Darren: The ISC DHCP project has been migrated to gitlab: https://gitlab.isc.org/isc-projects/dhcp where you may obtain the source, participate in development, and see or submit new issues. For historical purposes the ISC DHCP RT bugs will remain available for quite some time to come. We recently had this issue reported there by another user: https://gitlab.isc.org/isc-projects/dhcp/issues/6 And hence updates on the matter will be available there. Regards, Thomas Markwalder ISC Software Engineering
Subject: Re: [ISC-Bugs #44022] Internet Systems Consortium DHCP Server 4.3.3 - on commit {} in DHCPv6 has client option content instead of server option content
To: dhcp-confidential@isc.org
From: "Darren L. Ankney" <dankney@network1.net>
Date: Thu, 11 Apr 2019 09:15:21 -0400 (EDT)
Thomas,

That was actually me who re-reported the issue.  I read the mail about the bug reports moving and we were to re-submit open issues.  So I did so...  I used my list email address because I had to create an account on gitlab to report the bug.

Thank you,

-Darren

--
Darren Ankney
Product Development
First Network Group, Inc.
(800)578-6381, Ext. 8171
http://www.network1.net
http://www.facebook.com/FirstNetworkGroup

Please consider the environment before printing this email.


From: "Thomas Markwalder via RT" <dhcp-confidential@isc.org>
To: "Darren Ankney" <dankney@network1.net>
Sent: Thursday, April 11, 2019 8:58:48 AM
Subject: [ISC-Bugs #44022] Internet Systems Consortium DHCP Server 4.3.3 - on commit {} in DHCPv6 has client option content instead of server option content
Hello Darren:

The ISC DHCP project has been migrated to gitlab:

https://gitlab.isc.org/isc-projects/dhcp

where you may obtain the source, participate in development, and see or submit new issues.  For historical purposes the ISC DHCP RT bugs will remain available for quite some time to come.

We recently had this issue reported there by another user:

https://gitlab.isc.org/isc-projects/dhcp/issues/6

And hence updates on the matter will be available there.

Regards,

Thomas Markwalder
ISC Software Engineering