1 Internet Software Consortium DHCP Distribution
10 Version 3 of the ISC DHCP Distribution includes the following features
11 that are new since version 2.0:
13 - DHCP Failover Protocol support
14 - OMAPI, an API for accessing and modifying the DHCP server and
16 - Conditional behaviour
17 - Storing arbitrary information on leases
18 - Address pools with access control
20 - Address allocation restriction by class
21 - Relay agent information option support
23 - Many bug fixes, performance enhancements, and minor new DHCP
26 This is a release candidate for a minor bug fix release to follow ISC
27 DHCP 3.0. The main bug fixed here is a bug in the subclass allocation
28 code that could result in a memory smash. Any users of the ISC DHCP server
29 who are using subclasses should seriously consider upgrading to 3.0.1
30 either now or when the final 3.0.1 release comes out.
32 If you are running 3.0 beta 1 and are doing dynamic DNS updates, the
33 lease file is no longer forward-compatible to 3.0 final. A script
34 has been provided to convert 3.0b1 lease files. This is in
35 contrib/3.0b1-lease-convert.
37 For information on how to install, configure and run this software,
38 as well as how to find documentation and report bugs, please consult
41 The Dynamic DNS Update support is a descendent of an implementation
42 done by Lans Carstensen and Brian Dols at Rose-Hulman Institute of
43 Technology, Jim Watt at Applied Biosystems, Irina Goble at Integrated
44 Measurement Systems, Igor Sharfmesser at Kazakh Telecom, and Brian
45 Murrell at BC Tel Advanced Communications. I'd like to express my
46 thanks to all of these good people here, both for working on the code
47 and for prodding me into improving it.
49 Changes since 3.0.1rc10
51 - Potential buffer overflows in minires repaired.
53 - A change to the linux client script to use /bin/bash, since /bin/sh may
56 - Some missing va_end cleanups thanks to a patch from Thomas Klausner.
58 - A correction of boolean parsing syntax validation - some illegal syntaxes
59 that worked before are now detected and produce errs, some legal syntaxes
60 that errored before will now work properly.
62 - Some search-and-replace errors that caused some options to change their
65 - Shu-min Chang of the Intel corporation has contributed a perl script and
66 module that converts the MS NT4 DHCP configuration to a ISC DHCP3
69 - Applied the remainder of the dhcpctl memory leak patch provided by Bill
70 Squier at ReefEdge, Inc. (groo@reefedge.com).
72 - Missing non-optional failover peer configurations will now result in a soft
73 error rather than a null dereference.
75 Changes since 3.0.1rc9
77 - A format string was corrected to fix compiler warnings.
79 - A number of spelling corrections were made in the man pages.
81 - The dhclient.conf.5 man page was changed to refer to do-forward-updates
82 rather than a configuration option that doesn't exist.
84 - A FreeBSD-specific bug in the interface removal handling was fixed.
86 - A Linux-specific Token Ring detection problem was fixed.
88 - Hashes removed from as-yet-unknown agent options, having those options
89 appear in reality before we know about them will no longer produce
90 self-corrupting lease databases.
92 - dhclient will use the proper port numbers now when using the -g option.
94 - A order-of-operations bug with 2 match clauses in 1 class statement is
95 fixed thanks to a patch from Andrew Matheson.
97 - Compilation problems on Solaris were fixed.
99 - Compilation problems when built with DEBUG or DEBUG_PACKET were repaired.
101 - A fix to the dhcp ack process which makes certain group options will be
102 included in the first DHCPOFFER message was made thanks to a patch from
105 - A few memory leaks were repaired thanks to patches from Bill Squier at
106 ReefEdge, Inc. (groo@reefedge.com).
108 - A fix for shared-networks that sometimes give clients options for the
109 wrong subnets (in particular, 'option routers') was applied, thanks to
110 Ted Lemon for the patch.
112 - Omshell's handling of dotted octets as values was changed such that dots
113 one after the other produce zero values in the integer string.
115 Changes since 3.0.1rc8
117 - Fix a format string vulnerability in the server that could lead to a
118 remote root compromise (discovered by NGSEC Research Team, www.ngsec.com).
120 - Add additional support for NetBSD/sparc64.
122 - Fix a bug in the command-line parsing of the client. Also, resolve
125 - Add better support for shells other than bash in the Linux client
128 - Various build fixes for modern versions of FreeBSD and Linux.
130 - Fix a bad bounds check when printing binding state names.
132 - Clarify documentation about fixed-address and multiple addresses.
134 - Fix a typo in the authoritative error message.
136 - Make a log entry when we can't write a billing class.
138 - Use conversion targets that are the right size on all architectures.
140 - Increment the hop count when relaying.
142 - Log a message when lease state is changed through OMAPI.
144 - Don't rerun the shared_network when evaluating the pool.
146 - Fix a reversed test in the parser.
148 - Change the type of rbuf_max.
150 - Make FTS_LAST a manifest constant to quiet warnings.
152 Changes since 3.0.1rc7
154 - Fix two compiler warnings that are generated when compiling on Solaris
155 with gcc. These stop the build, even though they weren't actually
156 errors, because we prefer that our builds generate no warnings.
158 Changes since 3.0.1rc6
160 - Don't allow a lease that's in the EXPIRED, RELEASED or RESET state
163 - Implement lease stealing for cases where the primary has fewer leases
164 than the secondary, as called for by the standard.
166 - Add a fudge factor to the lease expiry acceptance code, (suggested
167 by Kevin Miller of CMU).
169 - Fix a bug in permit_list_match that made it much too willing to say
170 that two permit lists matched.
172 - Unless DEBUG_DNS_UPDATES is defined, print more user-friendly (and
173 also more compact) messages about DNS updates.
175 - Fix a bug in generating wire-format domain names for the FQDN option.
177 - Fix a bug where the FQDN option would not be returned if the client
178 requested it, contrary to the standard.
180 - On Darwin, use the FreeBSD DHCP client script.
182 - On NetBSD/sparc, don't check for casting warnings.
184 - Add a flag in the DHCP client to disable updating the client's A
185 record when sending an FQDN option indicating that the client is
186 going to update its A record.
188 - In the client, don't attempt a DNS update until one second after
189 configuring the new IP address, and if the update times out, keep
190 trying until a response, positive or negative, is received from the
193 - Fix an uninitialized memory bug in the DHCP client.
195 - Apply some FreeBSD-specific bug fixes suggested by Murray Stokely.
197 - Fix a bug in ns_parserr(), where it was returning the wrong sort
198 of result code in some cases (suggested by Ben Harris of the
201 - Fix a bug in is_identifier(), where it was checking against EOF
202 instead of the END_OF_FILE token (also suggested by Ben Harris).
204 - Fix a bug where if an option universe contained no options, the
205 DHCP server could dump core (Walter Steiner).
207 - Fix a bug in the handling of encapsulated options.
209 - Fix a bug that prevented NWIP suboptions from being processed.
211 - Delete the FTS_BOOTP and FTS_RESERVED states and implement them
212 as modifier flags to the FTS_ACTIVE state, as called for in the
213 failover protocol standard.
215 - Fix bugs in the pool merging code that resulted in references and
216 dereferences of null pointers. This bug had no impact unless the
217 POINTER_DEBUG flag was defined.
219 - In the server, added a do-forward-updates flag that can be used to
220 disable forward updates in all cases, so that sites that want the
221 clients to take sole responsibility for updating their A record can
224 - Make it possible to disable optimization of PTR record updates.
226 Changes since 3.0.1rc5
228 - Include some new documentation and changes provided by Karl Auer.
230 - Add a workaround for some Lexmark printers that send a double-NUL-
231 terminated host-name option, which would break DNS updates.
233 - Fix an off-by-one error in the MAC-address checking code for
234 DHCPRELEASE that was added in 3.0.1rc5.
236 - Fix a bug where client-specific information was not being discarded
237 from the lease when it expired or was released, resulting in
238 problems if the lease was reallocated to a different client.
240 - If more than one allocation pool is specified that has the same set
241 of constraints as another allocation pool on the same shared
242 network, merge the two pools.
244 - Don't print an error in fallback_discard, since this just causes
245 confusion and does not appear to be helping to encourage anyone to
248 Changes since 3.0.1rc4
250 - Fix a bug that would cause the DHCP server to spin if asked to parse
251 a certain kind of incorrect statement.
253 - Fix a related bug that would prevent an error from being reported in
256 - Additional documentation.
258 - Make sure that the hardware address matches the lease when
259 processing a DHCPRELEASE message.
261 Changes since 3.0.1rc3
263 - A minor bug fix in the arguments to a logging function call.
264 - Documentation update for dhcpd.conf.
266 Changes since 3.0.1rc2
268 - Allow the primary to send a POOLREQ message. This isn't what the current
269 failover draft says to do, so we may have to back it out if I can't get the
270 authors to relent, but the scheme for balancing that's specified in the
271 current draft seems needlessly hairy, so I'm floating a trial balloon.
272 The rc1 code did not implement the method described in the draft either.
274 Changes since 3.0.1rc1
276 - Treat NXDOMAIN and NXRRSET as success when we are trying to delete a
277 domain or RRSET. This allows the DHCP server to forget about a name
278 it added to the DNS once it's been removed, even if the DHCP server
279 wasn't the one that removed it.
281 - Install defaults for failover maximum outstanding updates and maximum
282 silent time. This prevents problems that might occur if these values
285 - Don't do DDNS deletes if ddns-update-style is none.
287 - Return relay agent information options in DHCPNAK. This prevents DHCPNAK
288 messages from being dropped when the relay agent information option contains
291 - Fix a problem where coming up in recover wouldn't result in an update
294 - Add some more chatty messages when we start a recovery update and when it's
297 - Fix a possible problem where some state might have been left around
298 after the peer lost contact and regained contact about how many updates
301 - Don't nix a lease update because of a lease conflict. This test has
302 never (as far as I know) prevented a mistake, and it appears to cause
303 problems with failover.
305 - Add support in rc history code for keeping a selective history, rather
306 than a history of all references and dereferences. This code is only used
307 when extensive additional debugging is enabled.
311 - Make allocators for hash tables. As a side effect, this fixes a memory
312 smash in the subclass allocation code.
314 - Fix a small bug in omshell where if you try to close an object when
315 no object is open, it dumps core.
317 - Fix an obscure coredump that could occur on shutdown.
319 - Fix a bug in the recording of host declaration rubouts in the lease file.
321 - Fix two potential spins in the host deletion code.
323 - Fix a core dump that would happen if an application tried to update
324 a host object attribute with a null value.
326 Changes since 3.0 Release Candidate 12
328 - Fix a memory leak in the evaluation code.
330 - Fix an obscure core dump.
332 - Print a couple of new warnings when parsing the configuration file
333 when crucial information is left out.
335 - Log "no free leases" as an error.
337 - Documentation updates.
339 Changes since 3.0 Release Candidate 11
341 - Always return a subnet selection option if one is sent.
343 - Fix a warning that was being printed because an automatic data
344 structure wasn't zeroed.
346 - Fix some failover state transitions that were being handled
349 - When supersede_lease is called on a lease whose end time has already
350 expired, but for which a state transition has not yet been done, do
351 a state transition. This fixes the case where if the secondary
352 allocated a lease to a client and the lease "expired" while the
353 secondary was in partner-down, no expiry event would actually
354 happen, so the lease would remain active until the primary was
357 Changes since 3.0 Release Candidate 10
359 - Fix a bug that was preventing released leases from changing state
360 in failover-enabled pools.
362 - Fix a core dump in the client identifier finder code (for host
365 - Finish fixing a bug where bogus data would sometimes get logged to
366 the dhclient.leases file because it was opened as descriptor 2.
368 - Fix the Linux dhclient-script according to suggestions made by
369 several people on the dhcp-client mailing list.
371 - Log successful DNS updates at LOG_INFO, not LOG_ERROR.
373 - Print an error message and refuse to run if a failover peer is
374 defined but not referenced by any pools.
376 - Correct a confusing error message in failover.
378 Changes since 3.0 Release Candidate 9
380 - Fix a bug in lease allocation for Dynamic BOOTP clients.
382 Changes since 3.0 Release Candidate 8 Patchlevel 2
384 - Fix a bug that prevented update-static-leases from working.
386 - Document failover-state OMAPI object.
388 - Fix a compilation error on SunOS 4.
390 Changes since 3.0 Release Candidate 8 Patchlevel 1
392 - Fix a parsing bug that broke dns updates (both interim and ad-hoc).
393 This was introduced in rc8pl1 as an unintended result of the memory
394 leakage fixes that were in pl1.
396 - Fix a long-standing bug where the server would record that an update
397 had been done for a client with no name, even though no update had
398 been done, and then when the client's lease expired the deletion of
399 that nonexistant record would time out because the name was the null
402 - Clean up the omshell, dhcpctl and omapi man pages a bit.
404 Changes since 3.0 Release Candidate 8
406 - Fix a bug that could cause the DHCP server to spin if
407 one-lease-per-client was enabled.
409 - Fix a bug that was causing core dumps on BSD/os in the presence of
412 - In partner-down state, don't restrict lease lengths to MCLT.
414 - On the failover secondary, record the MCLT received from the primary
415 so that if we come up without a connection to the primary we don't
416 wind up giving out zero-length leases.
418 - Fix some compilation problems on BSD/os.
420 - Fix a bunch of memory leaks.
422 - Fix a couple of bugs in the option printer.
424 - Fix an obscure error reporting bug in the dns update code, and also
425 make the message clearer when a key algorithm isn't supported.
427 - Fix a bug in the tracing code that prevented trace runs that used
428 tcp connections from being played back.
430 - Add some additional debugging capability for catching memory leaks
433 - Make the client release the lease correctly on shutdown.
435 - Add some configurability to the build system.
437 - Install omshell manual page in man1, not man8.
439 - Craig Gwydir sent in a patch that fixes a long-standing bug in the
440 DHCP client that could cause core dumps, but that for some reason
441 hadn't been noticed until now.
443 Changes since 3.0 Release Candidate 7
445 - Fix a bug in failover where we weren't sending updates after a
446 transition from communications-interrupted to normal.
448 - Handle expired/released/reset -> free transition according to the
449 protocol specification (this works - the other way not only wasn't
450 conformant, but also didn't work).
452 - Add a control object in both client and server that allows either
453 daemon to be shut down cleanly.
455 - When writing a lease, if we run out of disk space, shut down the
456 output file and insist on writing a new one before proceeding.
458 - In the server, if the OMAPI listener port is occupied, keep trying
459 to get it, rather than simply giving up and exiting.
461 - Support fetching variables from leases and also updating and adding
462 variables to leases via OMAPI.
464 - If two failover peers have wildly different clocks, refuse to start
467 - Fix a bug in the DNS update code that could cause core dumps when
468 running on alpha processors.
470 - Fixed a bug in ddns updates for static lease entries, thanks to a
471 patch from Andrey M Linkevitch.
473 - Add support for Darwin/MacOS X
475 - Install omshell (including new documentation).
477 - Support DNS updates in the client (this is a very obscure feature
478 that most DHCP client users probably will not be able to use).
480 - Somewhat cleaner status logging in the client.
482 - Make OMAPI key naming syntax compatible with the way keys are
483 actually named (key names are domain names).
485 - Fix a bug in the lease file writer.
487 - Install DHCP ISC headers in a different place than BIND 9 ISC
488 headers, to avoid causing trouble in BIND 9 builds.
490 - Don't send updates for attributes on an object when the attributes
491 haven't changed. Support deleting attributes on remote objects.
493 - Fix a number of bugs in omshell, and add the unset and refresh
496 - Handle disconnects in OMAPI a little bit more intelligently (so that
497 the caller gets ECONNRESET instead of EINVAL).
499 - Fix a bunch of bugs in the handling of clients that have existing
500 leases when the try to renew their leases while failover is
503 Changes since 3.0 Release Candidate 6
505 - Fix a core dump that could happen when processing a DHCPREQUEST from
506 a client that had a host declaration that contained both a
507 fixed-address declaration and a dhcp-client-identifier option
508 declaration, if the client identifier was longer than nine bytes.
510 - Fix a memory leak that could happen in certain obscure cases when
511 using omapi to manipulate leases.
513 - Fix some bugs and omissions in omshell.
516 Changes since 3.0 Release Candidate 5
518 - Fix a bug in omapi_object_dereference that prevented objects in
519 chains from having their reference counts decreased on dereference.
521 - Fix a bug in omapi_object_dereference that would prevent object
522 chains from being freed upon removal of the last reference external
525 - Fix a number of other memory leaks in the OMAPI protocol subsystem.
527 - Add code in the OMAPI protocol handler to trace memory leakage.
529 - Clean up the memory allocation/reference history printer.
531 - Support input of dotted quads and colon-separated hex lists as
532 attribute values in omshell.
534 - Fix a typo in the Linux interface discovery code.
536 - Conditionalize a piece of trace code that wasn't conditional.
538 Changes since 3.0 Release Candidate 4
540 - Fix a bug that would prevent leases from being abandoned properly on
543 - Fix failover peer OMAPI support.
545 - In failover, correctly handle expiration of leases. Previously,
546 leases would never be reclaimed because they couldn't make the
547 transition from EXPIRED to FREE.
549 - Fix some broken failover state transitions.
551 - Documentation fixes.
553 - Take out an unnecessary check in DHCP relay agent information option
554 stashing code that was preventing REBINDING clients from rebinding.
556 - Prevent failover peers from allocating leases in DHCPREQUEST
557 processing if the lease belongs to the other server.
559 - Record server version in lease file introductory comment.
561 - Correctly report connection errors in OMAPI and failover.
563 - Make authentication signature algorithm name comparisons in OMAPI
566 - Fix compile problem on SunOS 4.x
568 - If a signature algorithm is not terminated with '.', terminate it so
569 that comparisons between fully-qualified names will work
572 - Different SIOCGIFCONF probe code, may "fix" problem on some Linux
573 systems with the probe not working correctly.
575 - Don't allow user to type omapi key on command line of omshell.
577 Changes since 3.0 Release Candidate 3
579 - Do lease billing on startup in a way that I *think* will finally do
580 the billing correctly - the previous method could overbill as a
581 result of duplicate leases.
583 - Document OMAPI server objects.
585 Changes since 3.0 Release Candidate 2 Patchlevel 1
587 - Fix some problems in the DDNS update code. Thanks to Albert
588 Herranz for figuring out the main problem.
590 - Fix some reference counting errors on host entries that were causing
593 - Fix a byte-swap bug in the token ring code, thanks to Jochen
596 - Fix a bug in lease billing, thanks to Jonas Bulow.
598 Changes since 3.0 Release Candidate 2
600 - Change the conditions under which a DHCPRELEASE is actually
601 committed to be consistent with lease binding states rather than
602 using the lease end time. This may fix some problems with the
605 - Fix a bug where lease updates would fail on Digital Unix (and maybe
606 others) because malloc was called with a size of zero.
608 - Fix a core dump that happens when the DHCP server can't create its
611 Changes since 3.0 Release Candidate 1 Patchlevel 1
613 - Fix the dhcp_failover_put_message to not attempt to allocate a
614 zero-length buffer. Some versions of malloc() fail if you try to
615 allocate a zero-length buffer, and this was causing problems on,
618 - Fix a case where the failover code was printing an error message
619 when no error had occurred.
621 - Fix a problem where when a server went down and back up again, the
622 peer would not see a state transition and so would stay in the
623 non-communicating state.
625 - Be smart about going into recover_wait.
627 - Fix a problem in the failover implementation where peers would fail
628 to come into sync if interrupted in the RECOVER state. This could
629 have been the cause of some problems people have reported recently.
631 - Fix a problem with billing classes where they would not be unbilled
632 when the client lease expired.
634 - If select fails, figure out which descriptor is bad, and cut it out
635 of the I/O loop. This prevents a potentially nasty spin. I
636 haven't heard any report it in a while, but it came up consistently
639 - Fix a bug in the relay agent where if you specified interfaces on
640 the command line, it would fail.
642 - Fix a couple of small bugs in the omapi connection object (no known
645 - Add the missing 3.0 Beta 1 lease conversion script.
647 - Read dhcp client script hooks if they exist, rather than only if
650 Changes since 3.0 Release Candidate 1
652 - Fix a memory smash that happens when fixed-address leases are used.
653 ANY SITE AT WHICH FIXED-ADDRESS STATEMENTS ARE BEING USED SHOULD
654 UPGRADE IMMEDIATELY. This has been a long-standing bug - thanks to
655 Alvise Nobile for discovering it and helping me to find it!
657 - Fix a small bug in binary-to-ascii, thanks to H. Peter Anvin of
660 - There is a known problem with the DHCP server doing failover on
661 Compaq Alpha systems. This patchlevel is not a release candidate
662 because of this bug. The bug should be straightforward to fix, so
663 a new release candidate is expected shortly.
665 - There is a known problem in the DDNS update code that is probably a
666 bug, and is not, as far as we know, fixed in this patchlevel.
668 Changes since 3.0 Beta 2 Patchlevel 24
670 - Went over problematic failover state transitions and made them all
671 work, so that failover should now much less fragile.
673 - Add some dhcpctl and omapi documentation
675 - Fix compile errors when compiling with unusual predefines.
677 - Make Token Ring work on Linux 2.4
679 - Fix the Digital Unix BPF_WORDALIGN bug.
681 - Fix some dhcp client documentation errors.
683 - Update some parts of the README file.
685 - Support GCC on SCO.
687 Changes since 3.0 Beta 2 Patchlevel 23
689 - Fix a bug in the DNS update code where a status code was not being
690 checked. This may have been causing core dumps.
692 - When parsing the lease file, if a lease declaration includes a
693 billing class statement, and the lease already has a billing class,
694 unbill the old class.
696 - When processing failover transactions, where acks will be deferred,
697 process the state transition immediately.
699 - Don't try to use the new SIOCGIFCONF buffer size detection code on
700 Linux 2.0, which doesn't provide this functionality.
702 - Apply a patch suggested by Tuan Uong for a problem in dlpi.c.
704 - Fix a problem in using the which command in the configure script.
706 - Fix a parse error in the client when setting up an omapi listener.
708 - Document the -n and -g flags to the client.
710 - Make sure there is always a stdin and stdout on startup. This
711 prevents shell scripts from accidentally writing error messages into
712 configuration files that happen to be opened as stderr.
714 - If an interface is removed, the client will now notice that it is
715 gone rather than spinning. This has only been tested on NetBSD.
717 - The client will attempt to get an address even if it can't create a
720 - Don't overwrite tracefiles.
722 - Fix some memory allocation bugs in failover.
724 Changes since 3.0 Beta 2 Patchlevel 22
726 - Apply some patches suggested by Cyrille Lefevre, who is maintaining
727 the FreeBSD ISC DHCP Distribution port.
729 - Fix a core dump in DHCPRELEASE.
731 Changes since 3.0 Beta 2 Patchlevel 21
733 - This time for sure: fix the spin described in the changes for pl20.
735 Changes since 3.0 Beta 2 Patchlevel 20
737 - Fix a problem with Linux detecting large numbers of interfaces (Ben)
739 - Fix a memory smash in the quotify code, which was introduced in
742 - Actually fix the spin described in the changes for pl20. The
743 previous fix only partially fixed the problem - enough to get it
744 past the regression test.
746 Changes since 3.0 Beta 2 Patchlevel 19
748 - Fix a bug that could cause the server to abort if compiled with
749 POINTER_DEBUG enabled.
751 - Fix a bug that could cause the server to spin when responding to a
754 - Apply Joost Mulders' suggested patches for DLPI on x86.
756 - Support NUL characters in quoted strings.
758 - Install unformatted man pages on SunOS.
760 Changes since 3.0 Beta 2 Patchlevel 18
762 - Allow the server to be placed in partner-down state using OMAPI.
765 - Implement omshell, which can be used to do arbitrary things to the
766 server (in theory). (Damien Neil)
768 - Fix a case where if a client had two different leases the server could
769 actually dereference the second one when it hadn't been referenced,
770 leading to memory corruption and a core dump. (James Brister)
772 - Fix a case where a client could request the address of another client's
773 lease, but find_lease wouldn't detect that the other client had it, and
774 would attempt to allocate it to the client, resulting in a lease conflict
777 - Fix a case where a client with more than one client identifier could be
778 given a lease where the hardware address was correct but the client
779 identifier was not, resulting in a lease conflict message.
781 - Fix a problem where the server could write out a colon-separated
782 hex list as a value for a variable, which would then not parse.
783 The fix is to always write strings as quoted strings, with any
784 non-printable characters quoted as octal escape sequences. So
785 a file written the old way still won't work, but new files written
788 - Fix documentation for sending non-standard options.
790 - Use unparsable names for unknown options. WARNING: this will
791 break any configuration files that use the option-nnn convention.
792 If you want to continue to use this convention for some options,
793 please be sure to write a definition, like this:
795 option option-nnn code nnn = string;
797 You can use a descriptive name instead of option-nnn if you like.
799 - Fix a problem where we would see a DHCPDISCOVER/DHCPOFFER/
800 DHCPREQUEST/DHCPACK/DHCPREQUEST/DHCPNAK sequence. This was the
801 result of a deceptively silly bug in supersede_lease.
803 - Fix client script exit status check, according to a fix supplied by
806 - Fix an endianness bug in the tracefile support, regarding ICMP
809 - Fix a bug in the client where the medium would not work correctly if
810 it contained quoted strings.
812 ** there was no pl17 **
814 Changes since 3.0 Beta 2 Patchlevel 16
816 - Add support for transaction tracing. This allows the state of the
817 DHCP server on startup, and all the subsequent transactions, to be
818 recorded in a file which can then be played back to reproduce the
819 behaviour of the DHCP server. This can be used to quickly
820 reproduce bugs that cause core dumps or corruption, and also for
821 tracking down memory leaks.
823 - Incorporate some bug fixes provided by Joost Mulders for the DLPI
824 package which should clear up problems people have been seeing on
827 - Fix bugs in the handling of options stored as linked lists (agent
828 options, fqdn options and nwip options) that could cause memory
829 corruption and core dumps.
831 - Fix a bug in DHCPREQUEST handling that resulted in DHCPNAK messages
832 not being send in some cases when they were needed.
834 - Make the lease structure somewhat more compact.
836 - Make initial failover startup *much* faster. This was researched
837 and implemented by Damien Neil.
839 - Add a --version flag to all executables, which prints the program
840 name and version to standard output.
842 - Don't rewrite the lease file every thousand leases.
844 - A bug in nit.c for older SunOS machines was fixed by a patch sent in
847 - Fix a memory corruption bug in the DHCP client.
849 - Lots of documentation updates.
851 - Add a feature allowing environment variables to be passed to the
852 DHCP client script on the DHCP client command line.
854 - Fix client medium support, which had been broken for some time.
856 - Fix a bug in the DHCP client initial startup backoff interval, which
857 would cause two DHCPDISCOVERS to be sent back-to-back on startup.
860 Changes since 3.0 Beta 2 Patchlevel 15
862 - Some documentation tweaks.
864 - Maybe fix a problem in the DLPI code.
866 - Fix some error code space inconsistencies in ddns update code.
868 - Support relay agents that intercept unicast DHCP messages to stuff
869 agent options into them.
871 - Fix a small memory leak in the relay agent option support code.
873 - Fix a core dump that would occur if a packet was sent with no
876 Changes since 3.0 Beta 2 Patchlevel 14
878 - Finish fixing a long-standing bug in the agent options code. This
879 was causing core dumps and failing to operate correctly - in
880 particular, agent option stashing wasn't working. Agent option
881 stashing should now be working, meaning that agent options can be
882 used in class statements to control address allocation.
884 - Fix up documentation.
886 - Fix a couple of small memory leaks that would have added up
887 significantly in a high-demand situation.
889 - Add a log-facility configuration parameter.
891 - Fix a compile error on some older operating systems.
893 - Add the ability in the client to execute certain statements before
894 transmitting packets to the server. Handy for debugging; not much
895 practical use otherwise.
897 - Don't send faked-out giaddr when renewing or bound - again, useful
900 Changes since 3.0 Beta 2 Patchlevel 13
902 - Fixed a problem where the fqdn decoder would sometimes try to store
903 an option with an (unsigned) negative length, resulting in a core
904 dump on some systems.
906 - Work around the Win98 DHCP client, which NUL-terminates the FQDN
909 - Work around Win98 and Win2k clients that will claim they want to do
910 the update even when they don't have any way to do it.
912 - Fix some log messages that can be printed when failover is operating
913 that were not printing enough information.
915 - It was possible for a DHCPDISCOVER to get an allocation even when
916 the state machine said the server shouldn't be responding.
918 - Don't load balance DHCPREQUESTs from clients in RENEWING and
919 REBINDING, since in RENEWING, if we heard it, it's for us, and in
920 REBINDING, the client wouldn't have got to REBINDING if its primary
923 - When we get a bogus state lease binding state transition, don't do
927 Changes since 3.0 Beta 2 Patchlevel 12
929 - Fixed a couple of silly compile errors.
931 Changes since 3.0 Beta 2 Patchlevel 11
933 - Albert Herranz tracked down and fixed a subtle bug in the base64
934 decoder that would prevent any key with an 'x' in its base64
935 representation from working correctly.
937 - Thanks to Chris Cheney and Michael Sanders, we have a fix for the
938 hang that they both spotted in the DHCP server - when
939 one-lease-per-client was set, the code to release the "other" lease
942 - Fix a problem with alignment of the input buffer in bpf in cases
943 where two packets arrive in the same bpf read.
945 - Fix a problem where the relay agent would crash if you specified an
946 interface name on the command line.
948 - Add the ability to conditionalize client behaviour based on the
951 - Add support for the FQDN option, and added support for a new way of
952 doing ddns updates (ddns update style interim) that allows more than
953 one DHCP server to update the DNS for the same network(s). This
954 was implemented by Damien Neil with some additional functionality
957 - Damien added a "log" statement, so that the configuration file can
958 be made to log debugging information and other information.
960 - Fixed a bug that caused option buffers not to be terminated with an
963 - Fixed a long-standing bug in the support for option spaces where the
964 options are stored as an ordered list rather than in a hash table,
965 which could theoretically result in memory pool corruption.
967 - Prevent hardware declarations with no actual hardware address from
968 being written as something unparsable, and behave correctly in the
969 face of a null hardware address on input.
971 - Allow key names to be FQDNs, and qualify the algorithm name if it is
972 specified unqualified.
974 - Modify the DDNS update code so that it never prints the "resolver
975 failed" message, but instead says *why* the resolver failed.
977 - Officially support the subnet selection option, which now has an
980 - Fix a build bug on MacOS X.
982 - Allow administrator to disable ping checking.
984 - Clean up dhcpd.conf documentation and add more information about how
987 Changes since 3.0 Beta 2 Patchlevel 10
989 - Fix a bug introduced during debugging (!) and accidentally committed
992 Changes since 3.0 Beta 2 Patchlevel 9
994 - Fix DHCP client handling of vendor encapsulated options.
996 - Fix a bug in the handling of relay agent information options introduced
999 - Stash agent options on client leases by default, and use the stashed
1000 options at renewal time.
1002 - Add the ability to test the client's binding state in the client
1003 configuration language.
1005 - Fix a core dump in the DNS update code.
1007 - Fix some expression evaluation bugs that were causing updates to be
1008 done when no client hostname was received.
1010 - Fix expression evaluation debugging printfs.
1012 - Teach pretty_print_option to print options in option spaces other than
1013 the DHCP option space.
1015 - Add a warning message if the RHS of a not is not boolean.
1017 - Never select for more than a day, because some implementations of
1018 select will just fail if the timeout is too long (!).
1020 - Fix a case where a DHCPDISCOVER from an unknown network would be
1023 - Fix a bug where if a client requested an IP address for which a different
1024 client had the lease, the DHCP server would reallocate it anyway.
1026 - Fix the DNS update code so that if the client changes its name, the DNS
1027 will be correctly updated.
1029 Changes since 3.0 Beta 2 Patchlevel 8
1031 - Oops, there was another subtle math error in the header-length
1034 Changes since 3.0 Beta 2 Patchlevel 7
1036 - Oops, forgot to byte-swap udp header length before bounds-checking it.
1038 Changes since 3.0 Beta 2 Patchlevel 6
1040 - Fix a possible DoS attack where a client could cause the checksummer
1041 to dump core. This was a read, not a write, so it shouldn't be
1042 possible to exploit it any further than that.
1044 - Implement client- and server-side support for using the Client FQDN
1047 - Support for other option spaces in the client has been added. This
1048 means that it is now possible to define a vendor option space on the
1049 client, request options in that space from the server (which must
1050 define the same option space), and then use those options in the
1051 client. This also allows NWIP and Client FQDN options to be used
1054 - Add object initializer support. This means that objects can now be
1055 initialized to something other than all-zeros when allocated, which
1056 makes, e.g., the interface object support code a little more robust.
1058 - Fix an off-by-one bug in the host stuffer. This was causing host
1059 deletes not the work, and may also have been causing OMAPI
1060 connections to get dropped. Thanks to James Brister for tracking
1063 - Fixed a core dump in the interface discovery code that is triggered
1064 when there is no subnet declaration for an interface, but the server
1065 decides to continue running. Thanks to Shane Kerr for tracking
1066 down and fixing this problem.
1068 Changes since 3.0 Beta 2 Patchlevel 5
1070 - Fix a bug in the recent enhancement to the interface discovery code
1071 to support arbitrary-length interface lists.
1073 - Support NUL-terminated DHCP options when initializing client-script
1076 - Fix suffix operator.
1078 - Fix NetWare/IP option parsing.
1080 - Better error/status checking in dhcpctl initialization and omapi
1083 - Fix a potential memory smash in dhcpctl code.
1085 - Fix SunOS4 and (maybe) Ultrix builds.
1087 - Fix a bug where a certain sort of incoming packet could cause a core
1088 dump on Solaris (and probably elsewhere).
1090 - Add some more safety checks in error logging code.
1092 - Add support for ISC_R_INCOMPLETE in OMAPI protocol connection code.
1094 - Fix relay agent so that if an interface is specified on the command
1095 line, the relay agent does not dump core.
1097 - Fix class matching so that match if can be combined with match or
1100 - Do not allow spurious leases in the lease database to introduce
1101 potentially bogus leases into the in-memory database.
1103 - Fix a byte-order problem in the client hardware address type code
1106 - Be slightly less picky about what sort of hardware addresses OMAPI
1107 can install in host declarations.
1109 Changes since 3.0 Beta 2 Patchlevel 4
1111 - Incorporated Peter Marschall's proposed change to array/record
1112 parsing, which allows things like the slp-agent option to be encoded
1113 correctly. Thanks very much to Peter for taking the initiative to
1114 do this, and for doing such a careful job of it (e.g., updating the
1117 - Added an encoding for the slp-agent option. :')
1119 - Fixed SunOS 4 build. Thanks to Robert Elz for responding to my
1120 request for help on this with patches!
1122 - Incorporated a change that should fix a problem reported by Philippe
1123 Jumelle where when the network connection between two servers is
1124 lost, they never reconnect.
1126 - Fix client script files other than that for NetBSD to actually use
1127 make_resolv_conf as documented in the manual page.
1129 - Fix a bug in the packet handling code that could result in a core
1132 - Fix a bug in the bootp code where responses on the local net would
1133 be sent to the wrong MAC address. Thanks to Jerry Schave for
1136 Changes since 3.0 Beta 2 Patchlevel 3
1138 - In the DHCP client, execute client statements prior to using the values
1139 of options, so that the client configuration can overried, e.g., the
1142 - Fix a reference counting error that would result in very reproducible
1143 failures in updates, as well as occasional core dumps, if a zone was
1144 declared without a key.
1146 - Fix some Linux 2.0 compilation problems.
1148 - Fix a bug in scope evaluation during execution of "on" statements that
1149 caused values not to be recorded on leases.
1151 - If the dhcp-max-message-size option is specified in scope, and the
1152 client didn't send this option, use the one specified in scope to
1153 determine the maximum size of the response.
1155 Changes since 3.0 Beta 2 Patchlevel 2
1157 - Fix a case where spawning subclasses were being allocated
1158 incorrectly, resulting in a core dump.
1160 - Fix a case where the DHCP server might inappropriately NAK a
1163 - Fix a place dhcprequest() where static leases could leak.
1165 - Include memory.h in omapip_p.h so that we don't get warnings about
1168 Changes since 3.0 Beta 2 Patchlevel 1
1170 - Notice when SIOCFIGCONF returns more data than fit in the buffer -
1171 allocate a larger buffer, and retry. Thanks to Greg Fausak for
1174 - In the server, if no interfaces were configured, report an error and
1177 - Don't ever record a state of 'startup'.
1179 - Don't try to evaluate the local failover binding address if none was
1180 specified. Thanks to Joseph Breu for finding this.