David Hankins [Tue, 25 May 2010 17:40:28 +0000 (17:40 +0000)]
- A bug was fixed that could cause the DHCPv6 server to advertise/assign a
previously allocated (active) lease to a client that has changed subnets,
despite being on different shared networks. Dynamic prefixes specifically
allocated in shared networks also now are not offered if the client has
moved. [ISC-Bugs #21152]
Shawn Routhier [Tue, 25 May 2010 00:22:29 +0000 (00:22 +0000)]
Patch for 21093 - handle v4 or v6 only a little better. If we can't contstruct
the context log it and leave, if we can but then try and do a DDNS transaction
using the protocol we don't have log it and continue.
Don't include lease time information in the response to a DHCPINFORM
request. We do this by removing any time information from the option
cache before building the reponse packet. Bug ticket 21092.
David Hankins [Wed, 24 Mar 2010 21:49:03 +0000 (21:49 +0000)]
- "The LDAP Patch" that has been circulating for some time, written by
Brian Masney and S.Kalyanasundraram and maintained for application to
the DHCP-4 sources by David Cantrell has been included. Please be
advised that these sources were contributed, and do not yet meet the
high standards we place on production sources we include by default.
As a result, the LDAP features are only included by using a compile-time
option which defaults off, and if you enable it you do so under your
own recognizance. We will be improving this software over time.
[ISC-Bugs #17741]
Shawn Routhier [Wed, 17 Mar 2010 17:07:43 +0000 (17:07 +0000)]
Modify the routine that constructs DNS names to convert relative names to
absolute names (add trailing dot) to keep the dns library happy. Ticket 21054
Shawn Routhier [Thu, 11 Feb 2010 23:55:36 +0000 (23:55 +0000)]
Primarly fix the trace code. This was broken during the modfictions of the
DDNS code to use the bind libraries. This patch fixes that breakage and
includes support for the new DDNS code. This patch also deletes some dead
code and neatens up some log messages.
David Hankins [Wed, 3 Feb 2010 23:25:25 +0000 (23:25 +0000)]
- An optimization described in the failover protocol draft is now included,
which permits a DHCP server operating in communications-interrupted state
to 'rewind' a lease to the state most recently transmitted to its peer,
greatly increasing a server's endurance in communications-interrupted.
This is supported using a new 'rewind state' record on the dhcpd.leases
entry for each lease. [ISC-Bugs #19601]
David Hankins [Thu, 21 Jan 2010 22:17:17 +0000 (22:17 +0000)]
- Helpfully (hopefully) edit documentation in dhcp-options to reinforce that
the ia* options are not for direct configuration, and are only documented
for completeness...
Shawn Routhier [Wed, 2 Dec 2009 20:43:52 +0000 (20:43 +0000)]
ticket 20687
Update README and RELNOTES for 4.2
Include building the bind libraries as part of the make system instead
of as a separate step by the customer.
David Hankins [Thu, 19 Nov 2009 23:57:41 +0000 (23:57 +0000)]
- The 'hardware [ethernet|etc] ...;' parameter in host records has been
extended to attempt to match DHCPv6 clients by the last octets of a
DUID-LL or DUID-LLT provided by the client. [ISC-Bugs #19599]
Shawn Routhier [Thu, 19 Nov 2009 23:49:57 +0000 (23:49 +0000)]
Ticket 20540 - clean ups for DHCP-DDNS work, add an change dropped in the
merge, arrange to handle callbacks from the socket code after we've deleted
the socket and deal with the quantum issue in the tasks. This last will
be removed shortly as a better fix is now available.
David Hankins [Tue, 6 Oct 2009 23:06:00 +0000 (23:06 +0000)]
- ./configure now checks to ensure the intX_t and u_intX_t types are defined,
correcting a compilation failure when using Sun's compiler. [ISC-Bugs #20370]
David Hankins [Wed, 30 Sep 2009 20:59:59 +0000 (20:59 +0000)]
- Both host and subnet6 configuration groups are now included whether a
fixed-address6 (DHCPv6) is in use or not. Host scoped configuration takes
precedence. This fixes two bugs, one where host scoped configuration
would not be included from a non-fixed-address6 host record, and the equal
and opposite bug where subnet6 scoped configuration would not be used when
over-riding vlaues were not present in a matching fixed-address6 host
configuration. [ISC-Bugs #20069]
Fix the check in the signal handler code to check if there is an inner
signal handler before calling it. Previously we check if there was a
get_value function.
David Hankins [Wed, 22 Jul 2009 21:58:14 +0000 (21:58 +0000)]
- A patch supplied by David Cantrell at RedHat was applied that detects
invalid calling parameters given to the ns_name_ntop() function.
Specifically, it detects if the caller passed a pointer and size pair
that causes the pointer to integer-wrap past zero. [ISC-Bugs #17737]
David Hankins [Wed, 22 Jul 2009 17:00:01 +0000 (17:00 +0000)]
- Secondary servers in a failover pair will now perform ddns removals if
they had performed ddns updates on a lease that is expiring, or was
released through the primary. As part of the same fix, stale binding scopes
will now be removed if a change in identity of a lease's active client is
detected, rather than simply if a lease is noticed to have expired (which it
may have expired without a failover server noticing in some situations).
[ISC-Bugs #19826b]
David Hankins [Thu, 16 Jul 2009 18:02:28 +0000 (18:02 +0000)]
- Versions 3.0.x syntax with multiple name->code option definitions is now
supported. Note that, similarly to 3.0.x, for by-code lookups only the
last option definition is used. [ISC-Bugs #17613]