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]
David Hankins [Mon, 6 Jul 2009 23:29:52 +0000 (23:29 +0000)]
- Added a configuration function, 'gethostname()', which calls the system
function of the same name and presents the results as a data expression.
This function can be used to incorporate the system level hostname of
the system the DHCP software is operating on in responses or queries (such
as including a failover partner's hostname in a dhcp message or binding
scope, or having a DHCP client send any system hostname in the host-name or
FQDN options by default). [ISC-Bugs #17351]
David Hankins [Fri, 19 Jun 2009 23:24:19 +0000 (23:24 +0000)]
! A stack overflow vulnerability was fixed in dhclient that could allow
remote attackers to execute arbitrary commands as root on the system,
or simply terminate the client, by providing an over-long subnet-mask
option. [ISC-Bugs #19839]
David Hankins [Wed, 17 Jun 2009 22:08:42 +0000 (22:08 +0000)]
- A new failover configuration parameter has been introduced for those
environments where DHCP servers can be reasonably guaranteed to be
"down" when the failover TCP socket is severed, "auto-partner-down".
This parameter is not generally safe, and by default is disabled, so
please carefully review the documentation of this parameter in the
dhcpd.conf(5) manpage before determining to use it yourself.
[ISC-Bugs #19600]
David Hankins [Wed, 20 May 2009 23:58:53 +0000 (23:58 +0000)]
- Fixed a bug where an OMAPI socket disconnection message would not result
in scheduling a failover reconnection, if the link had not negotiated a
failover connect yet (e.g.: connection refused, asynch socket connect()
timeouts). [ISC-Bugs #19684]
David Hankins [Thu, 30 Apr 2009 18:42:52 +0000 (18:42 +0000)]
- Compilation on Solaris with USE_SOCKETS defined in includes/site.h has
been repaired. Other USE_ overrides should work better. [ISC-Bugs #19434]
- A check for the local flavor of IFNAMSIZ had a broken 'else' condition,
that probably still resulted in the correct behaviour (but wouldn't use
a larger defined value provided by the host OS). [ISC-Bugs #19434]
David Hankins [Tue, 7 Apr 2009 19:55:52 +0000 (19:55 +0000)]
- Memory leak in the load_balance_mine() function is fixed. This would
leak ~20-30 octets per DHCPDISCOVER packet while failover was in use
and in normal state. [ISC-Bugs #19548]
- Various compilation fixes have been included for the memory related
DEBUG #defines in includes/site.h. [ISC-Bugs #19548]
David Hankins [Thu, 26 Mar 2009 17:20:23 +0000 (17:20 +0000)]
- The update-conflict-detection feature would leave an FQDN updated without
a DHCID (still currently implemented as a TXT RR). This would cause later
expiration or release events to fail to remove the domain name. The feature
now also inserts the client's up to date DHCID record, so records may safely
be removed at expiration or release time. Thanks to a patch submitted by
Christof Chen. [ISC-Bugs #19500]
David Hankins [Tue, 24 Mar 2009 18:33:52 +0000 (18:33 +0000)]
- A bug in DLPI packet transmission (Solaris, HP/UX) that caused the server
to stop receiving packets is fixed. The same fix also means that the MAC
address will no longer appear 'bogus' on DLPI-based systems.
[ISC-Bugs #19186]
- A bug in select handling was discovered where the results of one select()
call were discarded, causing the server to process the next select() call
and use more system calls than required. This has been repaired - the
sockets will be handled after the first return from select(), resulting in
fewer system calls. [ISC-Bugs #19186]
David Hankins [Fri, 13 Mar 2009 21:41:45 +0000 (21:41 +0000)]
- If configured, dhclient may now transmit to an anycast MAC address,
rather than using a broadcast address. Thanks to a patch from David
Cantrell at Red Hat. [ISC-Bugs #17740]
David Hankins [Tue, 10 Mar 2009 20:54:02 +0000 (20:54 +0000)]
- Fixed a cosmetic bug where pretty-printing valid domain-search options would
result in an erroneous error log message ('garbage in format string').
[ISC-Bugs #19327]
David Hankins [Fri, 20 Feb 2009 18:20:00 +0000 (18:20 +0000)]
- Failover port configuration can now be left to defaults (port 647) as
described in the -12 revision of the Failover draft (and assigned by
IANA). [ISC-Bugs #17738]
David Hankins [Thu, 12 Feb 2009 00:15:33 +0000 (00:15 +0000)]
- DDNS removal routines were updated so that the DHCID is not removed until
the client has been deprived of all A and AAAA records (not only the last
one of either of those). This resolves a bug where dual stack clients
would not be able to regain their names after either expiration event.
[ISC-Bugs #18716]
David Hankins [Fri, 30 Jan 2009 22:31:22 +0000 (22:31 +0000)]
- Using reserved leases no longer results in 'lease with binding state
free not on its queue' error messages, thanks to a patch from Frode
Nordahl. [ISC-Bugs #19274]
David Hankins [Wed, 7 Jan 2009 20:12:03 +0000 (20:12 +0000)]
- A bug was fixed that caused the server not to answer some valid Solicit
and Request packets, if the dynamic range covering any requested addresses
had been deleted from configuration. [ISC-Bugs #19134]
David Hankins [Wed, 7 Jan 2009 19:54:06 +0000 (19:54 +0000)]
- The notorious 'option <unknown> ... larger than buffer' log line,
which is seen in some malformed DHCP client packets, was modified.
It now logs the universe name, and does not log the length values
(which are bogus corruption read from the packet anyway). It also
carries a hopefully more useful explanation. [ISC-Bugs #18241]