1 Internet Systems Consortium DHCP Distribution
9 Version 3 of the ISC DHCP Distribution includes the following features
10 that are new since version 2.0:
12 - DHCP Failover Protocol support
13 - OMAPI, an API for accessing and modifying the DHCP server and
15 - Conditional behaviour
16 - Storing arbitrary information on leases
17 - Address pools with access control
19 - Address allocation restriction by class
20 - Relay agent information option support
22 - Many bug fixes, performance enhancements, and minor new DHCP
25 The main bug fixed here is a bug in the subclass allocation code that
26 could result in a memory smash. Any users of the ISC DHCP server who
27 are using subclasses should seriously consider upgrading to 3.0.1.
29 If you are running 3.0 beta 1 and are doing dynamic DNS updates, the
30 lease file is no longer forward-compatible to 3.0 final. A script
31 has been provided to convert 3.0b1 lease files. This is in
32 contrib/3.0b1-lease-convert.
34 For information on how to install, configure and run this software,
35 as well as how to find documentation and report bugs, please consult
38 The Dynamic DNS Update support is a descendent of an implementation
39 done by Lans Carstensen and Brian Dols at Rose-Hulman Institute of
40 Technology, Jim Watt at Applied Biosystems, Irina Goble at Integrated
41 Measurement Systems, Igor Sharfmesser at Kazakh Telecom, and Brian
42 Murrell at BC Tel Advanced Communications. I'd like to express my
43 thanks to all of these good people here, both for working on the code
44 and for prodding me into improving it.
46 Changes since 3.0.2rc2
48 - Two varaibles introduced in 3.0.2b1 were used without being initialized
49 in the case where neither the FILE nor SNAME fields were available for
50 overloading. This was repaired.
52 - A heretofore believed to be impossible corner case of the option
53 overloading implementation turned out to be possible ("Unable to sort
54 overloaded options after 10 tries."). The implementation was reworked
55 to consider the case of an option so large it would require more than
58 - Many other instances of variables being used without being initialized
61 - An uninitialized variable in omapi_io_destroy() led to the discovery
62 that this function may result in orphaned pointers (and hence, a memory
65 Changes since 3.0.2rc1
67 - allocate_lease() was rewritten to repair a bug in which the server would
68 try to allocate an ABANDONED lease when FREE leases were available.
72 - Some dhcp-eval.5 manpage formatting was repaired.
76 - A bug was fixed in the server's 'option overloading' implementation,
77 where options loaded into the 'file' and 'sname' packet fields were
78 not aligned precisely as rfc2131 dictates.
80 - The FreeBSD client script was changed to support the case where a domain
81 name was not provided by the server.
83 - A memory leak in 'omshell' per each command line parsed was
84 repaired, thanks to a patch from Jarkko Torppa.
86 - Log functions writing to stderr were adjusted to use the STDERR_FILENO
87 system definition rather than '2'. This is a no-op for 90% of platforms.
89 - One call to trace_write_packet_iov() counted the number of io vectors
90 incorrectly, causing inconsistent tracefiles. This was fixed.
92 - Some expression parse failure memory leaks were closed.
94 - A host byte order problem in tracefiles was repaired.
96 - Pools configured in DHCPD for failover possessing permission lists that
97 previously were assumed to not include dyanmic bootp clients are now
98 a little more pessimistic. The result is, dhcpd will nag you about just
99 about most pools that possess a 'allow' statement with no 'deny' that
100 would definitely match a dynamic bootp client.
102 - The 'ddns-update-style' configuration warning bit now insists that
103 the configuration be globally scoped.
105 - Two memory leaks in dhclient were closed thanks to a patch from Felix
108 - Some minor but excellently pedantic documentation errors were fixed
109 thanks to a patch from Thomas Klausner.
111 - Bugs in operator precedence in executable statements have been repaired
112 once again. More legal syntaxes should be parsed legally.
114 - Failing to initialize a tracefile for any reason if a tracefile was
115 specified is now a fatal error. Thanks to a patch from Albert Herranz.
117 - Corrected a bug in which the number of leases transferred as calculated
118 by the failover primary and sent to peers in POOLRESP responses may be
119 incorrect. This value is not believed to be used by other failover
120 implementations, excepting perhaps as logged information.
122 - Corrected a bug in which 'dhcp_failover_send_poolresp()' was in fact
123 sending POOLREQ messages instead of POOLRESP mesasges. This message
124 was essentially ignored since failover secondaries effectively do not
125 respond to POOLREQ messages.
127 - Type definitions for various bitwidths of integers in the sunos5-5
128 build of ISC DHCP have been fixed. It should compile and run more
129 easily when built in 64-bit for this platform.
131 - "allow known-clients;" is now a legal syntax, to avoid confusion.
133 - If one dhcp server chooses to 'load balance' a request to its failover
134 peer, it first checks to see if it believes said peer has a free
135 lease to allocate before ignoring the DISCOVER.
137 - log() was logging a work buffer, rather than the value returned by
138 executing the statements configured by the user. In some cases,
139 the work buffer and the intended results were the same. In some other
140 cases, they were not. This was fixed thanks to a patch from Gunnar
141 Fjone and directconnect.no.
143 - Compiler warnings for some string type conversions was fixed, thanks
144 to Andreas Gustafsson.
146 - The netbsd build environments were simplified to one, in which
147 -Wconversion is not used, thanks to Andreas Gustafsson.
149 - How randomness in the backoff-cutoff dhclient configuration variable
150 is implemented was better documented in the manpage, and the behaviour
151 of dhclient in REQUEST timeout handling was changed to match that of
152 DISCOVER timeout handling.
154 - Omapi was hardened against clients that pass in null values, thanks
155 to a patch from Mark Jason Dominus.
157 - A bug was fixed in dhclient that kept it from doing client-side
158 ddns updates. Thanks to a patch from Andreas Gustafsson, which
159 underwent some modification after review by Jason Vas Dias.
161 - Failover implementations disconnected due to the network between
162 them (rather than one of the two shutting down) will now try to
163 re-establish the failover connection every 5 seconds, rather than
164 to simply try once and give up until one of them is restarted.
165 Thanks to a patch from Ulf Ekberg from Infoblox, and field testing
166 by Greger V. Teigre which led to an enhancement to it.
168 - A problem that kept DHCP Failover secondaries from tearing down
169 ddns records was repaired. Thanks to a patch from Ulf Ekberg from
172 - 64bit pointer sizes are detected properly on FreeBSD now.
174 - A bug was repaired where the DHCP server would leave stale references
175 to host records on leases it once thought about offering to certain
176 clients. The result would be to apply host and 'known' scopes to the
177 wrong clients (possibly denying booting). NOTE: The 'mis-host' patch
178 that was being circulated as a workaround is not the way this bug was
179 fixed. If you were a victim of this bug in 3.0.1, you are cautioned
180 to proceed carefully and see if it fixes your problem.
182 - A bug was repaired in the server's DHCPINFORM handling, where it
183 tried to divine the client's address from the source packet and
184 would get it wrong. Thanks to Anshuman Singh Rawat.
186 - A log message was introduced to help illuminate the case where the
187 server was unable to find a lease to assign to any BOOTP client.
188 Thanks to Daniel Baker.
190 - A minor dhcpd.conf.5 manpage error was fixed.
192 Changes since 3.0.1rc14
194 - The global variable 'cur_time' was centralized and is now uniformly of a
195 type #defined in system-dependent headers. It had previously been defined
196 in one of many places as a 32-bit value, and this causes mayhem on 64-bit
197 big endian systems. It probably wasn't too healthy on little endian
200 - A printf format string error introduced in rc14 was repaired.
202 - AIX system-dependent header file was altered to only define NO_SNPRINTF
203 if the condition used to #ifdef in vsnprintf in AIX' header files
206 - The Alpha/OSF system-dependent header file was altered to define
207 NO_SNPRINTF on OS revisions older than 4.0G.
209 - omapip/test.c had string.h added to its includes.
211 Changes since 3.0.1rc13
213 ! CAN-2004-0460 - CERT VU#317350: Five stack overflow exploits were closed
214 in logging messages with excessively long hostnames provided by the
215 clients. It is highly probable that these could have been used by
216 attackers to gain arbitrary root access on systems using ISC DHCP 3.0.1
217 release candidates 12 or 13. Special thanks to Gregory Duchemin for
218 both finding and solving the problem.
220 ! CAN-2004-0461 - CERT VU#654390: Once the above was closed, an opening
221 in log_*() functions was evidented, on some specific platforms where
222 vsnprintf() was not believed to be available and calls were wrapped to
223 sprintf() instead. Again, credit goes to Gregory Duchemin for finding
224 the problem. Calls to snprintf() are now linked to a distribution-local
225 snprintf implementation, only in those cases where the architecture is
226 not known to provide one (see includes/cf/[arch].h). If you experience
227 linking problems with snprintf/vsnprintf or 'isc_print_' functions, this
228 is where to look. This vulnerability did not exist in any previously
229 published version of ISC DHCP.
231 - Compilation on hpux 11.11 was repaired.
233 - 'The cross-compile bug fix' was backed out.
235 Changes since 3.0.1rc12
237 - Fixed a bug in omapi lease lookup function, to form the hardware
238 address for the hash lookup correctly, thanks to a patch from
241 - Fixed a bug where dhcrelay was sending relayed responses back to the
242 broadcast address, but with the source's unicast mac address. Should
243 now conform to rfc2131 section 4.1.
245 - Cross-compile bug fix; use $(AR) instead of ar. Thanks to Morten Brorup.
247 - Fixed a crash bug in dhclient where dhcpd servers that do not provide
248 renewal times results in an FPE. As a side effect, dhclient can now
249 properly handle 0xFFFFFFFF (-1) expiry times supplied by servers. Thanks
250 to a patch from Burt Silverman.
252 - The 'ping timeout' debugs from rc12 were removed to -DDEBUG only,
253 and reformatted to correct a compilation error on solaris platforms.
255 - A patch was applied which fixes a case where leases read from the
256 leases database do not properly over-ride previously read leases.
258 - dhcpctl.3 manpage was tweaked.
260 Changes since 3.0.1rc11
262 - A patch from Steve Campbell was applied with minor modifications to
263 permit reverse dns PTR record updates with values containing spaces.
265 - A patch from Florian Lohoff was applied with some modifications to
266 dhcrelay. It now discards packets whose hop count exceeds 10 by default,
267 and a command-line option (-c) can be used to set this threshold.
269 - A failover bug relating to identifying peers by name length instead of
272 - Delcaring failover configs within shared-network statements should no
273 longer result in error.
275 - The -nw command line option to dhclient now works.
277 - Thanks to a patch from Michael Richardson:
278 - Some problems with long option processing have been fixed.
279 - Some fixes to minires so that updates of KEY records will work.
281 - contrib/ms2isc was updated by Shu-Min Chang of the Intel Corporation.
282 see contrib/ms2isc/readme.txt for revision notes.
284 - Dhclient no longer uses shell commands to kill another instance of
285 itself, it sends the signal directly. Thanks to a patch from Martin
288 - The FreeBSD dhclient-script was changed so that a failure to write to
289 /etc/resolv.conf does not prematurely end the script. This keeps dhclient
290 from looping infinitely when this is the case. Thanks to a patch from
293 - A patch from Bill Stephens was applied which resolves a problem with lease
294 expiry times in failover configurations.
296 - A memory leak in configuration parsing was closed thanks to a patch from
299 - The function which discovers interfaces will now skip non-broadcast or
300 point-to-point interfaces, thanks to a patch from David Brownlee.
302 - Options not yet known by the dhcpd or dhclient have had their names
303 changed such that they do not contain # symbols, in case they should ever
304 appear in a lease file. An option that might have been named "#144" is
307 - Another patch from Bill Stephens which allows the ping-check timeout to
308 be configured as 'ping-timeout'. Defaults to 1.
310 Changes since 3.0.1rc10
312 - Potential buffer overflows in minires repaired.
314 - A change to the linux client script to use /bin/bash, since /bin/sh may
317 - Some missing va_end cleanups thanks to a patch from Thomas Klausner.
319 - A correction of boolean parsing syntax validation - some illegal syntaxes
320 that worked before are now detected and produce errs, some legal syntaxes
321 that errored before will now work properly.
323 - Some search-and-replace errors that caused some options to change their
326 - Shu-min Chang of the Intel corporation has contributed a perl script and
327 module that converts the MS NT4 DHCP configuration to a ISC DHCP3
330 - Applied the remainder of the dhcpctl memory leak patch provided by Bill
331 Squier at ReefEdge, Inc. (groo@reefedge.com).
333 - Missing non-optional failover peer configurations will now result in a soft
334 error rather than a null dereference.
336 Changes since 3.0.1rc9
338 - A format string was corrected to fix compiler warnings.
340 - A number of spelling corrections were made in the man pages.
342 - The dhclient.conf.5 man page was changed to refer to do-forward-updates
343 rather than a configuration option that doesn't exist.
345 - A FreeBSD-specific bug in the interface removal handling was fixed.
347 - A Linux-specific Token Ring detection problem was fixed.
349 - Hashes removed from as-yet-unknown agent options, having those options
350 appear in reality before we know about them will no longer produce
351 self-corrupting lease databases.
353 - dhclient will use the proper port numbers now when using the -g option.
355 - A order-of-operations bug with 2 match clauses in 1 class statement is
356 fixed thanks to a patch from Andrew Matheson.
358 - Compilation problems on Solaris were fixed.
360 - Compilation problems when built with DEBUG or DEBUG_PACKET were repaired.
362 - A fix to the dhcp ack process which makes certain group options will be
363 included in the first DHCPOFFER message was made thanks to a patch from
366 - A few memory leaks were repaired thanks to patches from Bill Squier at
367 ReefEdge, Inc. (groo@reefedge.com).
369 - A fix for shared-networks that sometimes give clients options for the
370 wrong subnets (in particular, 'option routers') was applied, thanks to
371 Ted Lemon for the patch.
373 - Omshell's handling of dotted octets as values was changed such that dots
374 one after the other produce zero values in the integer string.
376 Changes since 3.0.1rc8
378 - Fix a format string vulnerability in the server that could lead to a
379 remote root compromise (discovered by NGSEC Research Team, www.ngsec.com).
381 - Add additional support for NetBSD/sparc64.
383 - Fix a bug in the command-line parsing of the client. Also, resolve
386 - Add better support for shells other than bash in the Linux client
389 - Various build fixes for modern versions of FreeBSD and Linux.
391 - Fix a bad bounds check when printing binding state names.
393 - Clarify documentation about fixed-address and multiple addresses.
395 - Fix a typo in the authoritative error message.
397 - Make a log entry when we can't write a billing class.
399 - Use conversion targets that are the right size on all architectures.
401 - Increment the hop count when relaying.
403 - Log a message when lease state is changed through OMAPI.
405 - Don't rerun the shared_network when evaluating the pool.
407 - Fix a reversed test in the parser.
409 - Change the type of rbuf_max.
411 - Make FTS_LAST a manifest constant to quiet warnings.
413 Changes since 3.0.1rc7
415 - Fix two compiler warnings that are generated when compiling on Solaris
416 with gcc. These stop the build, even though they weren't actually
417 errors, because we prefer that our builds generate no warnings.
419 Changes since 3.0.1rc6
421 - Don't allow a lease that's in the EXPIRED, RELEASED or RESET state
424 - Implement lease stealing for cases where the primary has fewer leases
425 than the secondary, as called for by the standard.
427 - Add a fudge factor to the lease expiry acceptance code, (suggested
428 by Kevin Miller of CMU).
430 - Fix a bug in permit_list_match that made it much too willing to say
431 that two permit lists matched.
433 - Unless DEBUG_DNS_UPDATES is defined, print more user-friendly (and
434 also more compact) messages about DNS updates.
436 - Fix a bug in generating wire-format domain names for the FQDN option.
438 - Fix a bug where the FQDN option would not be returned if the client
439 requested it, contrary to the standard.
441 - On Darwin, use the FreeBSD DHCP client script.
443 - On NetBSD/sparc, don't check for casting warnings.
445 - Add a flag in the DHCP client to disable updating the client's A
446 record when sending an FQDN option indicating that the client is
447 going to update its A record.
449 - In the client, don't attempt a DNS update until one second after
450 configuring the new IP address, and if the update times out, keep
451 trying until a response, positive or negative, is received from the
454 - Fix an uninitialized memory bug in the DHCP client.
456 - Apply some FreeBSD-specific bug fixes suggested by Murray Stokely.
458 - Fix a bug in ns_parserr(), where it was returning the wrong sort
459 of result code in some cases (suggested by Ben Harris of the
462 - Fix a bug in is_identifier(), where it was checking against EOF
463 instead of the END_OF_FILE token (also suggested by Ben Harris).
465 - Fix a bug where if an option universe contained no options, the
466 DHCP server could dump core (Walter Steiner).
468 - Fix a bug in the handling of encapsulated options.
470 - Fix a bug that prevented NWIP suboptions from being processed.
472 - Delete the FTS_BOOTP and FTS_RESERVED states and implement them
473 as modifier flags to the FTS_ACTIVE state, as called for in the
474 failover protocol standard.
476 - Fix bugs in the pool merging code that resulted in references and
477 dereferences of null pointers. This bug had no impact unless the
478 POINTER_DEBUG flag was defined.
480 - In the server, added a do-forward-updates flag that can be used to
481 disable forward updates in all cases, so that sites that want the
482 clients to take sole responsibility for updating their A record can
485 - Make it possible to disable optimization of PTR record updates.
487 Changes since 3.0.1rc5
489 - Include some new documentation and changes provided by Karl Auer.
491 - Add a workaround for some Lexmark printers that send a double-NUL-
492 terminated host-name option, which would break DNS updates.
494 - Fix an off-by-one error in the MAC-address checking code for
495 DHCPRELEASE that was added in 3.0.1rc5.
497 - Fix a bug where client-specific information was not being discarded
498 from the lease when it expired or was released, resulting in
499 problems if the lease was reallocated to a different client.
501 - If more than one allocation pool is specified that has the same set
502 of constraints as another allocation pool on the same shared
503 network, merge the two pools.
505 - Don't print an error in fallback_discard, since this just causes
506 confusion and does not appear to be helping to encourage anyone to
509 Changes since 3.0.1rc4
511 - Fix a bug that would cause the DHCP server to spin if asked to parse
512 a certain kind of incorrect statement.
514 - Fix a related bug that would prevent an error from being reported in
517 - Additional documentation.
519 - Make sure that the hardware address matches the lease when
520 processing a DHCPRELEASE message.
522 Changes since 3.0.1rc3
524 - A minor bug fix in the arguments to a logging function call.
525 - Documentation update for dhcpd.conf.
527 Changes since 3.0.1rc2
529 - Allow the primary to send a POOLREQ message. This isn't what the current
530 failover draft says to do, so we may have to back it out if I can't get the
531 authors to relent, but the scheme for balancing that's specified in the
532 current draft seems needlessly hairy, so I'm floating a trial balloon.
533 The rc1 code did not implement the method described in the draft either.
535 Changes since 3.0.1rc1
537 - Treat NXDOMAIN and NXRRSET as success when we are trying to delete a
538 domain or RRSET. This allows the DHCP server to forget about a name
539 it added to the DNS once it's been removed, even if the DHCP server
540 wasn't the one that removed it.
542 - Install defaults for failover maximum outstanding updates and maximum
543 silent time. This prevents problems that might occur if these values
546 - Don't do DDNS deletes if ddns-update-style is none.
548 - Return relay agent information options in DHCPNAK. This prevents DHCPNAK
549 messages from being dropped when the relay agent information option contains
552 - Fix a problem where coming up in recover wouldn't result in an update
555 - Add some more chatty messages when we start a recovery update and when it's
558 - Fix a possible problem where some state might have been left around
559 after the peer lost contact and regained contact about how many updates
562 - Don't nix a lease update because of a lease conflict. This test has
563 never (as far as I know) prevented a mistake, and it appears to cause
564 problems with failover.
566 - Add support in rc history code for keeping a selective history, rather
567 than a history of all references and dereferences. This code is only used
568 when extensive additional debugging is enabled.
572 - Make allocators for hash tables. As a side effect, this fixes a memory
573 smash in the subclass allocation code.
575 - Fix a small bug in omshell where if you try to close an object when
576 no object is open, it dumps core.
578 - Fix an obscure coredump that could occur on shutdown.
580 - Fix a bug in the recording of host declaration rubouts in the lease file.
582 - Fix two potential spins in the host deletion code.
584 - Fix a core dump that would happen if an application tried to update
585 a host object attribute with a null value.
587 Changes since 3.0 Release Candidate 12
589 - Fix a memory leak in the evaluation code.
591 - Fix an obscure core dump.
593 - Print a couple of new warnings when parsing the configuration file
594 when crucial information is left out.
596 - Log "no free leases" as an error.
598 - Documentation updates.
600 Changes since 3.0 Release Candidate 11
602 - Always return a subnet selection option if one is sent.
604 - Fix a warning that was being printed because an automatic data
605 structure wasn't zeroed.
607 - Fix some failover state transitions that were being handled
610 - When supersede_lease is called on a lease whose end time has already
611 expired, but for which a state transition has not yet been done, do
612 a state transition. This fixes the case where if the secondary
613 allocated a lease to a client and the lease "expired" while the
614 secondary was in partner-down, no expiry event would actually
615 happen, so the lease would remain active until the primary was
618 Changes since 3.0 Release Candidate 10
620 - Fix a bug that was preventing released leases from changing state
621 in failover-enabled pools.
623 - Fix a core dump in the client identifier finder code (for host
626 - Finish fixing a bug where bogus data would sometimes get logged to
627 the dhclient.leases file because it was opened as descriptor 2.
629 - Fix the Linux dhclient-script according to suggestions made by
630 several people on the dhcp-client mailing list.
632 - Log successful DNS updates at LOG_INFO, not LOG_ERROR.
634 - Print an error message and refuse to run if a failover peer is
635 defined but not referenced by any pools.
637 - Correct a confusing error message in failover.
639 Changes since 3.0 Release Candidate 9
641 - Fix a bug in lease allocation for Dynamic BOOTP clients.
643 Changes since 3.0 Release Candidate 8 Patchlevel 2
645 - Fix a bug that prevented update-static-leases from working.
647 - Document failover-state OMAPI object.
649 - Fix a compilation error on SunOS 4.
651 Changes since 3.0 Release Candidate 8 Patchlevel 1
653 - Fix a parsing bug that broke dns updates (both interim and ad-hoc).
654 This was introduced in rc8pl1 as an unintended result of the memory
655 leakage fixes that were in pl1.
657 - Fix a long-standing bug where the server would record that an update
658 had been done for a client with no name, even though no update had
659 been done, and then when the client's lease expired the deletion of
660 that nonexistant record would time out because the name was the null
663 - Clean up the omshell, dhcpctl and omapi man pages a bit.
665 Changes since 3.0 Release Candidate 8
667 - Fix a bug that could cause the DHCP server to spin if
668 one-lease-per-client was enabled.
670 - Fix a bug that was causing core dumps on BSD/os in the presence of
673 - In partner-down state, don't restrict lease lengths to MCLT.
675 - On the failover secondary, record the MCLT received from the primary
676 so that if we come up without a connection to the primary we don't
677 wind up giving out zero-length leases.
679 - Fix some compilation problems on BSD/os.
681 - Fix a bunch of memory leaks.
683 - Fix a couple of bugs in the option printer.
685 - Fix an obscure error reporting bug in the dns update code, and also
686 make the message clearer when a key algorithm isn't supported.
688 - Fix a bug in the tracing code that prevented trace runs that used
689 tcp connections from being played back.
691 - Add some additional debugging capability for catching memory leaks
694 - Make the client release the lease correctly on shutdown.
696 - Add some configurability to the build system.
698 - Install omshell manual page in man1, not man8.
700 - Craig Gwydir sent in a patch that fixes a long-standing bug in the
701 DHCP client that could cause core dumps, but that for some reason
702 hadn't been noticed until now.
704 Changes since 3.0 Release Candidate 7
706 - Fix a bug in failover where we weren't sending updates after a
707 transition from communications-interrupted to normal.
709 - Handle expired/released/reset -> free transition according to the
710 protocol specification (this works - the other way not only wasn't
711 conformant, but also didn't work).
713 - Add a control object in both client and server that allows either
714 daemon to be shut down cleanly.
716 - When writing a lease, if we run out of disk space, shut down the
717 output file and insist on writing a new one before proceeding.
719 - In the server, if the OMAPI listener port is occupied, keep trying
720 to get it, rather than simply giving up and exiting.
722 - Support fetching variables from leases and also updating and adding
723 variables to leases via OMAPI.
725 - If two failover peers have wildly different clocks, refuse to start
728 - Fix a bug in the DNS update code that could cause core dumps when
729 running on alpha processors.
731 - Fixed a bug in ddns updates for static lease entries, thanks to a
732 patch from Andrey M Linkevitch.
734 - Add support for Darwin/MacOS X
736 - Install omshell (including new documentation).
738 - Support DNS updates in the client (this is a very obscure feature
739 that most DHCP client users probably will not be able to use).
741 - Somewhat cleaner status logging in the client.
743 - Make OMAPI key naming syntax compatible with the way keys are
744 actually named (key names are domain names).
746 - Fix a bug in the lease file writer.
748 - Install DHCP ISC headers in a different place than BIND 9 ISC
749 headers, to avoid causing trouble in BIND 9 builds.
751 - Don't send updates for attributes on an object when the attributes
752 haven't changed. Support deleting attributes on remote objects.
754 - Fix a number of bugs in omshell, and add the unset and refresh
757 - Handle disconnects in OMAPI a little bit more intelligently (so that
758 the caller gets ECONNRESET instead of EINVAL).
760 - Fix a bunch of bugs in the handling of clients that have existing
761 leases when the try to renew their leases while failover is
764 Changes since 3.0 Release Candidate 6
766 - Fix a core dump that could happen when processing a DHCPREQUEST from
767 a client that had a host declaration that contained both a
768 fixed-address declaration and a dhcp-client-identifier option
769 declaration, if the client identifier was longer than nine bytes.
771 - Fix a memory leak that could happen in certain obscure cases when
772 using omapi to manipulate leases.
774 - Fix some bugs and omissions in omshell.
777 Changes since 3.0 Release Candidate 5
779 - Fix a bug in omapi_object_dereference that prevented objects in
780 chains from having their reference counts decreased on dereference.
782 - Fix a bug in omapi_object_dereference that would prevent object
783 chains from being freed upon removal of the last reference external
786 - Fix a number of other memory leaks in the OMAPI protocol subsystem.
788 - Add code in the OMAPI protocol handler to trace memory leakage.
790 - Clean up the memory allocation/reference history printer.
792 - Support input of dotted quads and colon-separated hex lists as
793 attribute values in omshell.
795 - Fix a typo in the Linux interface discovery code.
797 - Conditionalize a piece of trace code that wasn't conditional.
799 Changes since 3.0 Release Candidate 4
801 - Fix a bug that would prevent leases from being abandoned properly on
804 - Fix failover peer OMAPI support.
806 - In failover, correctly handle expiration of leases. Previously,
807 leases would never be reclaimed because they couldn't make the
808 transition from EXPIRED to FREE.
810 - Fix some broken failover state transitions.
812 - Documentation fixes.
814 - Take out an unnecessary check in DHCP relay agent information option
815 stashing code that was preventing REBINDING clients from rebinding.
817 - Prevent failover peers from allocating leases in DHCPREQUEST
818 processing if the lease belongs to the other server.
820 - Record server version in lease file introductory comment.
822 - Correctly report connection errors in OMAPI and failover.
824 - Make authentication signature algorithm name comparisons in OMAPI
827 - Fix compile problem on SunOS 4.x
829 - If a signature algorithm is not terminated with '.', terminate it so
830 that comparisons between fully-qualified names will work
833 - Different SIOCGIFCONF probe code, may "fix" problem on some Linux
834 systems with the probe not working correctly.
836 - Don't allow user to type omapi key on command line of omshell.
838 Changes since 3.0 Release Candidate 3
840 - Do lease billing on startup in a way that I *think* will finally do
841 the billing correctly - the previous method could overbill as a
842 result of duplicate leases.
844 - Document OMAPI server objects.
846 Changes since 3.0 Release Candidate 2 Patchlevel 1
848 - Fix some problems in the DDNS update code. Thanks to Albert
849 Herranz for figuring out the main problem.
851 - Fix some reference counting errors on host entries that were causing
854 - Fix a byte-swap bug in the token ring code, thanks to Jochen
857 - Fix a bug in lease billing, thanks to Jonas Bulow.
859 Changes since 3.0 Release Candidate 2
861 - Change the conditions under which a DHCPRELEASE is actually
862 committed to be consistent with lease binding states rather than
863 using the lease end time. This may fix some problems with the
866 - Fix a bug where lease updates would fail on Digital Unix (and maybe
867 others) because malloc was called with a size of zero.
869 - Fix a core dump that happens when the DHCP server can't create its
872 Changes since 3.0 Release Candidate 1 Patchlevel 1
874 - Fix the dhcp_failover_put_message to not attempt to allocate a
875 zero-length buffer. Some versions of malloc() fail if you try to
876 allocate a zero-length buffer, and this was causing problems on,
879 - Fix a case where the failover code was printing an error message
880 when no error had occurred.
882 - Fix a problem where when a server went down and back up again, the
883 peer would not see a state transition and so would stay in the
884 non-communicating state.
886 - Be smart about going into recover_wait.
888 - Fix a problem in the failover implementation where peers would fail
889 to come into sync if interrupted in the RECOVER state. This could
890 have been the cause of some problems people have reported recently.
892 - Fix a problem with billing classes where they would not be unbilled
893 when the client lease expired.
895 - If select fails, figure out which descriptor is bad, and cut it out
896 of the I/O loop. This prevents a potentially nasty spin. I
897 haven't heard any report it in a while, but it came up consistently
900 - Fix a bug in the relay agent where if you specified interfaces on
901 the command line, it would fail.
903 - Fix a couple of small bugs in the omapi connection object (no known
906 - Add the missing 3.0 Beta 1 lease conversion script.
908 - Read dhcp client script hooks if they exist, rather than only if
911 Changes since 3.0 Release Candidate 1
913 - Fix a memory smash that happens when fixed-address leases are used.
914 ANY SITE AT WHICH FIXED-ADDRESS STATEMENTS ARE BEING USED SHOULD
915 UPGRADE IMMEDIATELY. This has been a long-standing bug - thanks to
916 Alvise Nobile for discovering it and helping me to find it!
918 - Fix a small bug in binary-to-ascii, thanks to H. Peter Anvin of
921 - There is a known problem with the DHCP server doing failover on
922 Compaq Alpha systems. This patchlevel is not a release candidate
923 because of this bug. The bug should be straightforward to fix, so
924 a new release candidate is expected shortly.
926 - There is a known problem in the DDNS update code that is probably a
927 bug, and is not, as far as we know, fixed in this patchlevel.
929 Changes since 3.0 Beta 2 Patchlevel 24
931 - Went over problematic failover state transitions and made them all
932 work, so that failover should now much less fragile.
934 - Add some dhcpctl and omapi documentation
936 - Fix compile errors when compiling with unusual predefines.
938 - Make Token Ring work on Linux 2.4
940 - Fix the Digital Unix BPF_WORDALIGN bug.
942 - Fix some dhcp client documentation errors.
944 - Update some parts of the README file.
946 - Support GCC on SCO.
948 Changes since 3.0 Beta 2 Patchlevel 23
950 - Fix a bug in the DNS update code where a status code was not being
951 checked. This may have been causing core dumps.
953 - When parsing the lease file, if a lease declaration includes a
954 billing class statement, and the lease already has a billing class,
955 unbill the old class.
957 - When processing failover transactions, where acks will be deferred,
958 process the state transition immediately.
960 - Don't try to use the new SIOCGIFCONF buffer size detection code on
961 Linux 2.0, which doesn't provide this functionality.
963 - Apply a patch suggested by Tuan Uong for a problem in dlpi.c.
965 - Fix a problem in using the which command in the configure script.
967 - Fix a parse error in the client when setting up an omapi listener.
969 - Document the -n and -g flags to the client.
971 - Make sure there is always a stdin and stdout on startup. This
972 prevents shell scripts from accidentally writing error messages into
973 configuration files that happen to be opened as stderr.
975 - If an interface is removed, the client will now notice that it is
976 gone rather than spinning. This has only been tested on NetBSD.
978 - The client will attempt to get an address even if it can't create a
981 - Don't overwrite tracefiles.
983 - Fix some memory allocation bugs in failover.
985 Changes since 3.0 Beta 2 Patchlevel 22
987 - Apply some patches suggested by Cyrille Lefevre, who is maintaining
988 the FreeBSD ISC DHCP Distribution port.
990 - Fix a core dump in DHCPRELEASE.
992 Changes since 3.0 Beta 2 Patchlevel 21
994 - This time for sure: fix the spin described in the changes for pl20.
996 Changes since 3.0 Beta 2 Patchlevel 20
998 - Fix a problem with Linux detecting large numbers of interfaces (Ben)
1000 - Fix a memory smash in the quotify code, which was introduced in
1003 - Actually fix the spin described in the changes for pl20. The
1004 previous fix only partially fixed the problem - enough to get it
1005 past the regression test.
1007 Changes since 3.0 Beta 2 Patchlevel 19
1009 - Fix a bug that could cause the server to abort if compiled with
1010 POINTER_DEBUG enabled.
1012 - Fix a bug that could cause the server to spin when responding to a
1015 - Apply Joost Mulders' suggested patches for DLPI on x86.
1017 - Support NUL characters in quoted strings.
1019 - Install unformatted man pages on SunOS.
1021 Changes since 3.0 Beta 2 Patchlevel 18
1023 - Allow the server to be placed in partner-down state using OMAPI.
1026 - Implement omshell, which can be used to do arbitrary things to the
1027 server (in theory). (Damien Neil)
1029 - Fix a case where if a client had two different leases the server could
1030 actually dereference the second one when it hadn't been referenced,
1031 leading to memory corruption and a core dump. (James Brister)
1033 - Fix a case where a client could request the address of another client's
1034 lease, but find_lease wouldn't detect that the other client had it, and
1035 would attempt to allocate it to the client, resulting in a lease conflict
1038 - Fix a case where a client with more than one client identifier could be
1039 given a lease where the hardware address was correct but the client
1040 identifier was not, resulting in a lease conflict message.
1042 - Fix a problem where the server could write out a colon-separated
1043 hex list as a value for a variable, which would then not parse.
1044 The fix is to always write strings as quoted strings, with any
1045 non-printable characters quoted as octal escape sequences. So
1046 a file written the old way still won't work, but new files written
1049 - Fix documentation for sending non-standard options.
1051 - Use unparsable names for unknown options. WARNING: this will
1052 break any configuration files that use the option-nnn convention.
1053 If you want to continue to use this convention for some options,
1054 please be sure to write a definition, like this:
1056 option option-nnn code nnn = string;
1058 You can use a descriptive name instead of option-nnn if you like.
1060 - Fix a problem where we would see a DHCPDISCOVER/DHCPOFFER/
1061 DHCPREQUEST/DHCPACK/DHCPREQUEST/DHCPNAK sequence. This was the
1062 result of a deceptively silly bug in supersede_lease.
1064 - Fix client script exit status check, according to a fix supplied by
1067 - Fix an endianness bug in the tracefile support, regarding ICMP
1070 - Fix a bug in the client where the medium would not work correctly if
1071 it contained quoted strings.
1073 ** there was no pl17 **
1075 Changes since 3.0 Beta 2 Patchlevel 16
1077 - Add support for transaction tracing. This allows the state of the
1078 DHCP server on startup, and all the subsequent transactions, to be
1079 recorded in a file which can then be played back to reproduce the
1080 behaviour of the DHCP server. This can be used to quickly
1081 reproduce bugs that cause core dumps or corruption, and also for
1082 tracking down memory leaks.
1084 - Incorporate some bug fixes provided by Joost Mulders for the DLPI
1085 package which should clear up problems people have been seeing on
1088 - Fix bugs in the handling of options stored as linked lists (agent
1089 options, fqdn options and nwip options) that could cause memory
1090 corruption and core dumps.
1092 - Fix a bug in DHCPREQUEST handling that resulted in DHCPNAK messages
1093 not being send in some cases when they were needed.
1095 - Make the lease structure somewhat more compact.
1097 - Make initial failover startup *much* faster. This was researched
1098 and implemented by Damien Neil.
1100 - Add a --version flag to all executables, which prints the program
1101 name and version to standard output.
1103 - Don't rewrite the lease file every thousand leases.
1105 - A bug in nit.c for older SunOS machines was fixed by a patch sent in
1106 by Takeshi Hagiwara.
1108 - Fix a memory corruption bug in the DHCP client.
1110 - Lots of documentation updates.
1112 - Add a feature allowing environment variables to be passed to the
1113 DHCP client script on the DHCP client command line.
1115 - Fix client medium support, which had been broken for some time.
1117 - Fix a bug in the DHCP client initial startup backoff interval, which
1118 would cause two DHCPDISCOVERS to be sent back-to-back on startup.
1121 Changes since 3.0 Beta 2 Patchlevel 15
1123 - Some documentation tweaks.
1125 - Maybe fix a problem in the DLPI code.
1127 - Fix some error code space inconsistencies in ddns update code.
1129 - Support relay agents that intercept unicast DHCP messages to stuff
1130 agent options into them.
1132 - Fix a small memory leak in the relay agent option support code.
1134 - Fix a core dump that would occur if a packet was sent with no
1137 Changes since 3.0 Beta 2 Patchlevel 14
1139 - Finish fixing a long-standing bug in the agent options code. This
1140 was causing core dumps and failing to operate correctly - in
1141 particular, agent option stashing wasn't working. Agent option
1142 stashing should now be working, meaning that agent options can be
1143 used in class statements to control address allocation.
1145 - Fix up documentation.
1147 - Fix a couple of small memory leaks that would have added up
1148 significantly in a high-demand situation.
1150 - Add a log-facility configuration parameter.
1152 - Fix a compile error on some older operating systems.
1154 - Add the ability in the client to execute certain statements before
1155 transmitting packets to the server. Handy for debugging; not much
1156 practical use otherwise.
1158 - Don't send faked-out giaddr when renewing or bound - again, useful
1161 Changes since 3.0 Beta 2 Patchlevel 13
1163 - Fixed a problem where the fqdn decoder would sometimes try to store
1164 an option with an (unsigned) negative length, resulting in a core
1165 dump on some systems.
1167 - Work around the Win98 DHCP client, which NUL-terminates the FQDN
1170 - Work around Win98 and Win2k clients that will claim they want to do
1171 the update even when they don't have any way to do it.
1173 - Fix some log messages that can be printed when failover is operating
1174 that were not printing enough information.
1176 - It was possible for a DHCPDISCOVER to get an allocation even when
1177 the state machine said the server shouldn't be responding.
1179 - Don't load balance DHCPREQUESTs from clients in RENEWING and
1180 REBINDING, since in RENEWING, if we heard it, it's for us, and in
1181 REBINDING, the client wouldn't have got to REBINDING if its primary
1184 - When we get a bogus state lease binding state transition, don't do
1188 Changes since 3.0 Beta 2 Patchlevel 12
1190 - Fixed a couple of silly compile errors.
1192 Changes since 3.0 Beta 2 Patchlevel 11
1194 - Albert Herranz tracked down and fixed a subtle bug in the base64
1195 decoder that would prevent any key with an 'x' in its base64
1196 representation from working correctly.
1198 - Thanks to Chris Cheney and Michael Sanders, we have a fix for the
1199 hang that they both spotted in the DHCP server - when
1200 one-lease-per-client was set, the code to release the "other" lease
1203 - Fix a problem with alignment of the input buffer in bpf in cases
1204 where two packets arrive in the same bpf read.
1206 - Fix a problem where the relay agent would crash if you specified an
1207 interface name on the command line.
1209 - Add the ability to conditionalize client behaviour based on the
1212 - Add support for the FQDN option, and added support for a new way of
1213 doing ddns updates (ddns update style interim) that allows more than
1214 one DHCP server to update the DNS for the same network(s). This
1215 was implemented by Damien Neil with some additional functionality
1218 - Damien added a "log" statement, so that the configuration file can
1219 be made to log debugging information and other information.
1221 - Fixed a bug that caused option buffers not to be terminated with an
1224 - Fixed a long-standing bug in the support for option spaces where the
1225 options are stored as an ordered list rather than in a hash table,
1226 which could theoretically result in memory pool corruption.
1228 - Prevent hardware declarations with no actual hardware address from
1229 being written as something unparsable, and behave correctly in the
1230 face of a null hardware address on input.
1232 - Allow key names to be FQDNs, and qualify the algorithm name if it is
1233 specified unqualified.
1235 - Modify the DDNS update code so that it never prints the "resolver
1236 failed" message, but instead says *why* the resolver failed.
1238 - Officially support the subnet selection option, which now has an
1241 - Fix a build bug on MacOS X.
1243 - Allow administrator to disable ping checking.
1245 - Clean up dhcpd.conf documentation and add more information about how
1248 Changes since 3.0 Beta 2 Patchlevel 10
1250 - Fix a bug introduced during debugging (!) and accidentally committed
1253 Changes since 3.0 Beta 2 Patchlevel 9
1255 - Fix DHCP client handling of vendor encapsulated options.
1257 - Fix a bug in the handling of relay agent information options introduced
1260 - Stash agent options on client leases by default, and use the stashed
1261 options at renewal time.
1263 - Add the ability to test the client's binding state in the client
1264 configuration language.
1266 - Fix a core dump in the DNS update code.
1268 - Fix some expression evaluation bugs that were causing updates to be
1269 done when no client hostname was received.
1271 - Fix expression evaluation debugging printfs.
1273 - Teach pretty_print_option to print options in option spaces other than
1274 the DHCP option space.
1276 - Add a warning message if the RHS of a not is not boolean.
1278 - Never select for more than a day, because some implementations of
1279 select will just fail if the timeout is too long (!).
1281 - Fix a case where a DHCPDISCOVER from an unknown network would be
1284 - Fix a bug where if a client requested an IP address for which a different
1285 client had the lease, the DHCP server would reallocate it anyway.
1287 - Fix the DNS update code so that if the client changes its name, the DNS
1288 will be correctly updated.
1290 Changes since 3.0 Beta 2 Patchlevel 8
1292 - Oops, there was another subtle math error in the header-length
1295 Changes since 3.0 Beta 2 Patchlevel 7
1297 - Oops, forgot to byte-swap udp header length before bounds-checking it.
1299 Changes since 3.0 Beta 2 Patchlevel 6
1301 - Fix a possible DoS attack where a client could cause the checksummer
1302 to dump core. This was a read, not a write, so it shouldn't be
1303 possible to exploit it any further than that.
1305 - Implement client- and server-side support for using the Client FQDN
1308 - Support for other option spaces in the client has been added. This
1309 means that it is now possible to define a vendor option space on the
1310 client, request options in that space from the server (which must
1311 define the same option space), and then use those options in the
1312 client. This also allows NWIP and Client FQDN options to be used
1315 - Add object initializer support. This means that objects can now be
1316 initialized to something other than all-zeros when allocated, which
1317 makes, e.g., the interface object support code a little more robust.
1319 - Fix an off-by-one bug in the host stuffer. This was causing host
1320 deletes not the work, and may also have been causing OMAPI
1321 connections to get dropped. Thanks to James Brister for tracking
1324 - Fixed a core dump in the interface discovery code that is triggered
1325 when there is no subnet declaration for an interface, but the server
1326 decides to continue running. Thanks to Shane Kerr for tracking
1327 down and fixing this problem.
1329 Changes since 3.0 Beta 2 Patchlevel 5
1331 - Fix a bug in the recent enhancement to the interface discovery code
1332 to support arbitrary-length interface lists.
1334 - Support NUL-terminated DHCP options when initializing client-script
1337 - Fix suffix operator.
1339 - Fix NetWare/IP option parsing.
1341 - Better error/status checking in dhcpctl initialization and omapi
1344 - Fix a potential memory smash in dhcpctl code.
1346 - Fix SunOS4 and (maybe) Ultrix builds.
1348 - Fix a bug where a certain sort of incoming packet could cause a core
1349 dump on Solaris (and probably elsewhere).
1351 - Add some more safety checks in error logging code.
1353 - Add support for ISC_R_INCOMPLETE in OMAPI protocol connection code.
1355 - Fix relay agent so that if an interface is specified on the command
1356 line, the relay agent does not dump core.
1358 - Fix class matching so that match if can be combined with match or
1361 - Do not allow spurious leases in the lease database to introduce
1362 potentially bogus leases into the in-memory database.
1364 - Fix a byte-order problem in the client hardware address type code
1367 - Be slightly less picky about what sort of hardware addresses OMAPI
1368 can install in host declarations.
1370 Changes since 3.0 Beta 2 Patchlevel 4
1372 - Incorporated Peter Marschall's proposed change to array/record
1373 parsing, which allows things like the slp-agent option to be encoded
1374 correctly. Thanks very much to Peter for taking the initiative to
1375 do this, and for doing such a careful job of it (e.g., updating the
1378 - Added an encoding for the slp-agent option. :')
1380 - Fixed SunOS 4 build. Thanks to Robert Elz for responding to my
1381 request for help on this with patches!
1383 - Incorporated a change that should fix a problem reported by Philippe
1384 Jumelle where when the network connection between two servers is
1385 lost, they never reconnect.
1387 - Fix client script files other than that for NetBSD to actually use
1388 make_resolv_conf as documented in the manual page.
1390 - Fix a bug in the packet handling code that could result in a core
1393 - Fix a bug in the bootp code where responses on the local net would
1394 be sent to the wrong MAC address. Thanks to Jerry Schave for
1397 Changes since 3.0 Beta 2 Patchlevel 3
1399 - In the DHCP client, execute client statements prior to using the values
1400 of options, so that the client configuration can overried, e.g., the
1403 - Fix a reference counting error that would result in very reproducible
1404 failures in updates, as well as occasional core dumps, if a zone was
1405 declared without a key.
1407 - Fix some Linux 2.0 compilation problems.
1409 - Fix a bug in scope evaluation during execution of "on" statements that
1410 caused values not to be recorded on leases.
1412 - If the dhcp-max-message-size option is specified in scope, and the
1413 client didn't send this option, use the one specified in scope to
1414 determine the maximum size of the response.
1416 Changes since 3.0 Beta 2 Patchlevel 2
1418 - Fix a case where spawning subclasses were being allocated
1419 incorrectly, resulting in a core dump.
1421 - Fix a case where the DHCP server might inappropriately NAK a
1424 - Fix a place dhcprequest() where static leases could leak.
1426 - Include memory.h in omapip_p.h so that we don't get warnings about
1429 Changes since 3.0 Beta 2 Patchlevel 1
1431 - Notice when SIOCFIGCONF returns more data than fit in the buffer -
1432 allocate a larger buffer, and retry. Thanks to Greg Fausak for
1435 - In the server, if no interfaces were configured, report an error and
1438 - Don't ever record a state of 'startup'.
1440 - Don't try to evaluate the local failover binding address if none was
1441 specified. Thanks to Joseph Breu for finding this.