3d1552cfe02075c872fa709ab7f9ed644c604bcc
[dragonfly.git] / contrib / isc-dhcp / RELNOTES
1             Internet Software Consortium DHCP Distribution
2                              Version 3.0.1
3                          Release Candidate 10
4                                June, 2002
5
6                              Release Notes
7
8                              NEW FEATURES
9
10 Version 3 of the ISC DHCP Distribution includes the following features
11 that are new since version 2.0:
12
13      - DHCP Failover Protocol support
14      - OMAPI, an API for accessing and modifying the DHCP server and
15        client state.
16      - Conditional behaviour
17      - Storing arbitrary information on leases
18      - Address pools with access control
19      - Client classing
20      - Address allocation restriction by class
21      - Relay agent information option support 
22      - Dynamic DNS updates
23      - Many bug fixes, performance enhancements, and minor new DHCP
24        protocol features. 
25
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.
31
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.
36
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
39 the README file.
40
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.
48
49                         Changes since 3.0.1rc10
50
51 - Potential buffer overflows in minires repaired.
52
53 - A change to the linux client script to use /bin/bash, since /bin/sh may
54   not be bash.
55
56 - Some missing va_end cleanups thanks to a patch from Thomas Klausner.
57
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.
61
62 - Some search-and-replace errors that caused some options to change their
63   names was repaired.
64
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
67   configuration file.
68
69 - Applied the remainder of the dhcpctl memory leak patch provided by Bill
70   Squier at ReefEdge, Inc.  (groo@reefedge.com).
71
72 - Missing non-optional failover peer configurations will now result in a soft
73   error rather than a null dereference.
74
75                         Changes since 3.0.1rc9
76
77 - A format string was corrected to fix compiler warnings.
78
79 - A number of spelling corrections were made in the man pages.
80
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.
83
84 - A FreeBSD-specific bug in the interface removal handling was fixed.
85
86 - A Linux-specific Token Ring detection problem was fixed.
87
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.
91
92 - dhclient will use the proper port numbers now when using the -g option.
93
94 - A order-of-operations bug with 2 match clauses in 1 class statement is
95   fixed thanks to a patch from Andrew Matheson.
96
97 - Compilation problems on Solaris were fixed.
98
99 - Compilation problems when built with DEBUG or DEBUG_PACKET were repaired.
100
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
103   Ling Gou.
104
105 - A few memory leaks were repaired thanks to patches from Bill Squier at
106   ReefEdge, Inc.  (groo@reefedge.com).
107
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.
111
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.
114
115                         Changes since 3.0.1rc8
116
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).
119
120 - Add additional support for NetBSD/sparc64.
121
122 - Fix a bug in the command-line parsing of the client.  Also, resolve
123   a memory leak.
124
125 - Add better support for shells other than bash in the Linux client
126   script.
127
128 - Various build fixes for modern versions of FreeBSD and Linux.
129
130 - Fix a bad bounds check when printing binding state names.
131
132 - Clarify documentation about fixed-address and multiple addresses.
133
134 - Fix a typo in the authoritative error message.
135
136 - Make a log entry when we can't write a billing class.
137
138 - Use conversion targets that are the right size on all architectures.
139
140 - Increment the hop count when relaying.
141
142 - Log a message when lease state is changed through OMAPI.
143
144 - Don't rerun the shared_network when evaluating the pool.
145
146 - Fix a reversed test in the parser.
147
148 - Change the type of rbuf_max.
149
150 - Make FTS_LAST a manifest constant to quiet warnings.
151
152                         Changes since 3.0.1rc7
153
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.
157
158                         Changes since 3.0.1rc6
159
160 - Don't allow a lease that's in the EXPIRED, RELEASED or RESET state
161   to be renewed.
162
163 - Implement lease stealing for cases where the primary has fewer leases
164   than the secondary, as called for by the standard.
165
166 - Add a fudge factor to the lease expiry acceptance code, (suggested
167   by Kevin Miller of CMU).
168
169 - Fix a bug in permit_list_match that made it much too willing to say
170   that two permit lists matched.
171
172 - Unless DEBUG_DNS_UPDATES is defined, print more user-friendly (and
173   also more compact) messages about DNS updates.
174
175 - Fix a bug in generating wire-format domain names for the FQDN option.
176
177 - Fix a bug where the FQDN option would not be returned if the client
178   requested it, contrary to the standard.
179
180 - On Darwin, use the FreeBSD DHCP client script.
181
182 - On NetBSD/sparc, don't check for casting warnings.
183
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.
187
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
191   DNS server.
192
193 - Fix an uninitialized memory bug in the DHCP client.
194
195 - Apply some FreeBSD-specific bug fixes suggested by Murray Stokely.
196
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
199   NetBSD project).
200
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).
203
204 - Fix a bug where if an option universe contained no options, the
205   DHCP server could dump core (Walter Steiner).
206
207 - Fix a bug in the handling of encapsulated options.
208
209 - Fix a bug that prevented NWIP suboptions from being processed.
210
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.
214
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.
218
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
222   do so.
223
224 - Make it possible to disable optimization of PTR record updates.
225
226                         Changes since 3.0.1rc5
227
228 - Include some new documentation and changes provided by Karl Auer.
229
230 - Add a workaround for some Lexmark printers that send a double-NUL-
231   terminated host-name option, which would break DNS updates.
232
233 - Fix an off-by-one error in the MAC-address checking code for
234   DHCPRELEASE that was added in 3.0.1rc5.
235
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.
239
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.
243
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
246   fix this bug.
247
248                         Changes since 3.0.1rc4
249
250 - Fix a bug that would cause the DHCP server to spin if asked to parse
251   a certain kind of incorrect statement.
252
253 - Fix a related bug that would prevent an error from being reported in
254   the same case.
255
256 - Additional documentation.
257
258 - Make sure that the hardware address matches the lease when
259   processing a DHCPRELEASE message.
260
261                         Changes since 3.0.1rc3
262
263 - A minor bug fix in the arguments to a logging function call.
264 - Documentation update for dhcpd.conf.
265
266                         Changes since 3.0.1rc2
267
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.
273
274                         Changes since 3.0.1rc1
275
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.
280
281 - Install defaults for failover maximum outstanding updates and maximum
282   silent time.   This prevents problems that might occur if these values
283   were not configured.
284
285 - Don't do DDNS deletes if ddns-update-style is none.
286
287 - Return relay agent information options in DHCPNAK.   This prevents DHCPNAK
288   messages from being dropped when the relay agent information option contains
289   routing information.
290
291 - Fix a problem where coming up in recover wouldn't result in an update
292   request being sent.
293
294 - Add some more chatty messages when we start a recovery update and when it's
295   done.
296
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
299   were pending.
300
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.
304
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.
308
309                            Changes since 3.0
310
311 - Make allocators for hash tables.   As a side effect, this fixes a memory
312   smash in the subclass allocation code.
313
314 - Fix a small bug in omshell where if you try to close an object when
315   no object is open, it dumps core.
316
317 - Fix an obscure coredump that could occur on shutdown.
318
319 - Fix a bug in the recording of host declaration rubouts in the lease file.
320
321 - Fix two potential spins in the host deletion code.
322
323 - Fix a core dump that would happen if an application tried to update
324   a host object attribute with a null value.
325
326                 Changes since 3.0 Release Candidate 12
327
328 - Fix a memory leak in the evaluation code.
329
330 - Fix an obscure core dump.
331
332 - Print a couple of new warnings when parsing the configuration file
333   when crucial information is left out.
334
335 - Log "no free leases" as an error.
336
337 - Documentation updates.
338
339                 Changes since 3.0 Release Candidate 11
340
341 - Always return a subnet selection option if one is sent.
342
343 - Fix a warning that was being printed because an automatic data
344   structure wasn't zeroed.
345
346 - Fix some failover state transitions that were being handled
347   incorrectly.
348
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
355   restarted.
356
357                 Changes since 3.0 Release Candidate 10
358
359 - Fix a bug that was preventing released leases from changing state
360   in failover-enabled pools.
361
362 - Fix a core dump in the client identifier finder code (for host
363   declarations).
364
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.
367
368 - Fix the Linux dhclient-script according to suggestions made by
369   several people on the dhcp-client mailing list.
370
371 - Log successful DNS updates at LOG_INFO, not LOG_ERROR.
372
373 - Print an error message and refuse to run if a failover peer is
374   defined but not referenced by any pools.
375
376 - Correct a confusing error message in failover.
377
378                 Changes since 3.0 Release Candidate 9
379
380 - Fix a bug in lease allocation for Dynamic BOOTP clients.
381
382           Changes since 3.0 Release Candidate 8 Patchlevel 2
383
384 - Fix a bug that prevented update-static-leases from working.
385
386 - Document failover-state OMAPI object.
387
388 - Fix a compilation error on SunOS 4.
389
390           Changes since 3.0 Release Candidate 8 Patchlevel 1
391
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.
395
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
400   string. 
401
402 - Clean up the omshell, dhcpctl and omapi man pages a bit.
403
404                 Changes since 3.0 Release Candidate 8
405
406 - Fix a bug that could cause the DHCP server to spin if
407   one-lease-per-client was enabled.
408
409 - Fix a bug that was causing core dumps on BSD/os in the presence of
410   malformed packets.
411
412 - In partner-down state, don't restrict lease lengths to MCLT.
413
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.
417
418 - Fix some compilation problems on BSD/os.
419
420 - Fix a bunch of memory leaks.
421
422 - Fix a couple of bugs in the option printer.
423
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.
426
427 - Fix a bug in the tracing code that prevented trace runs that used
428   tcp connections from being played back.
429
430 - Add some additional debugging capability for catching memory leaks
431   on exit.
432
433 - Make the client release the lease correctly on shutdown.
434
435 - Add some configurability to the build system.
436
437 - Install omshell manual page in man1, not man8.
438
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.
442
443                 Changes since 3.0 Release Candidate 7
444
445 - Fix a bug in failover where we weren't sending updates after a
446   transition from communications-interrupted to normal.
447
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).
451
452 - Add a control object in both client and server that allows either
453   daemon to be shut down cleanly.
454
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.
457
458 - In the server, if the OMAPI listener port is occupied, keep trying
459   to get it, rather than simply giving up and exiting.
460
461 - Support fetching variables from leases and also updating and adding
462   variables to leases via OMAPI.
463
464 - If two failover peers have wildly different clocks, refuse to start
465   doing failover.
466
467 - Fix a bug in the DNS update code that could cause core dumps when
468   running on alpha processors.
469
470 - Fixed a bug in ddns updates for static lease entries, thanks to a
471   patch from Andrey M Linkevitch.
472
473 - Add support for Darwin/MacOS X
474
475 - Install omshell (including new documentation).
476
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).
479
480 - Somewhat cleaner status logging in the client.
481
482 - Make OMAPI key naming syntax compatible with the way keys are
483   actually named (key names are domain names).
484
485 - Fix a bug in the lease file writer.
486
487 - Install DHCP ISC headers in a different place than BIND 9 ISC
488   headers, to avoid causing trouble in BIND 9 builds.
489
490 - Don't send updates for attributes on an object when the attributes
491   haven't changed.   Support deleting attributes on remote objects.
492
493 - Fix a number of bugs in omshell, and add the unset and refresh
494   statements.
495
496 - Handle disconnects in OMAPI a little bit more intelligently (so that
497   the caller gets ECONNRESET instead of EINVAL).
498
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
501   operating.
502
503                 Changes since 3.0 Release Candidate 6
504
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.
509
510 - Fix a memory leak that could happen in certain obscure cases when
511   using omapi to manipulate leases.
512
513 - Fix some bugs and omissions in omshell.
514
515
516                 Changes since 3.0 Release Candidate 5
517
518 - Fix a bug in omapi_object_dereference that prevented objects in
519   chains from having their reference counts decreased on dereference.
520
521 - Fix a bug in omapi_object_dereference that would prevent object
522   chains from being freed upon removal of the last reference external
523   to the chain.
524
525 - Fix a number of other memory leaks in the OMAPI protocol subsystem.
526
527 - Add code in the OMAPI protocol handler to trace memory leakage.
528
529 - Clean up the memory allocation/reference history printer.
530
531 - Support input of dotted quads and colon-separated hex lists as
532   attribute values in omshell.
533
534 - Fix a typo in the Linux interface discovery code.
535
536 - Conditionalize a piece of trace code that wasn't conditional.
537
538                 Changes since 3.0 Release Candidate 4
539
540 - Fix a bug that would prevent leases from being abandoned properly on
541   DHCPDECLINE.
542
543 - Fix failover peer OMAPI support.
544
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.
548
549 - Fix some broken failover state transitions.
550
551 - Documentation fixes.
552
553 - Take out an unnecessary check in DHCP relay agent information option
554   stashing code that was preventing REBINDING clients from rebinding.
555
556 - Prevent failover peers from allocating leases in DHCPREQUEST
557   processing if the lease belongs to the other server.
558
559 - Record server version in lease file introductory comment.
560
561 - Correctly report connection errors in OMAPI and failover.
562
563 - Make authentication signature algorithm name comparisons in OMAPI
564   case-insensitive.
565
566 - Fix compile problem on SunOS 4.x
567
568 - If a signature algorithm is not terminated with '.', terminate it so
569   that comparisons between fully-qualified names will work
570   consistently.
571
572 - Different SIOCGIFCONF probe code, may "fix" problem on some Linux
573   systems with the probe not working correctly.
574
575 - Don't allow user to type omapi key on command line of omshell.
576
577                 Changes since 3.0 Release Candidate 3
578
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.
582
583 - Document OMAPI server objects.
584
585           Changes since 3.0 Release Candidate 2 Patchlevel 1
586
587 - Fix some problems in the DDNS update code.   Thanks to Albert
588   Herranz for figuring out the main problem.
589
590 - Fix some reference counting errors on host entries that were causing
591   core dumps.
592
593 - Fix a byte-swap bug in the token ring code, thanks to Jochen
594   Friedrich.
595
596 - Fix a bug in lease billing, thanks to Jonas Bulow.
597
598                 Changes since 3.0 Release Candidate 2
599
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
603   billing class code.
604
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.
607
608 - Fix a core dump that happens when the DHCP server can't create its
609   trace file.
610
611           Changes since 3.0 Release Candidate 1 Patchlevel 1
612
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,
616   e.g., Digital Unix.
617
618 - Fix a case where the failover code was printing an error message
619   when no error had occurred.
620
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.
624
625 - Be smart about going into recover_wait.
626
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.
630
631 - Fix a problem with billing classes where they would not be unbilled
632   when the client lease expired.
633
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
637   in testing.
638
639 - Fix a bug in the relay agent where if you specified interfaces on
640   the command line, it would fail.
641
642 - Fix a couple of small bugs in the omapi connection object (no known
643   user impact).
644
645 - Add the missing 3.0 Beta 1 lease conversion script.
646
647 - Read dhcp client script hooks if they exist, rather than only if
648   they're executable.
649
650                 Changes since 3.0 Release Candidate 1
651
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!
656
657 - Fix a small bug in binary-to-ascii, thanks to H. Peter Anvin of
658   Transmeta.
659
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.
664
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.
667
668                 Changes since 3.0 Beta 2 Patchlevel 24
669
670 - Went over problematic failover state transitions and made them all
671   work, so that failover should now much less fragile.
672
673 - Add some dhcpctl and omapi documentation
674
675 - Fix compile errors when compiling with unusual predefines.
676
677 - Make Token Ring work on Linux 2.4
678
679 - Fix the Digital Unix BPF_WORDALIGN bug.
680
681 - Fix some dhcp client documentation errors.
682
683 - Update some parts of the README file.
684
685 - Support GCC on SCO.
686
687                 Changes since 3.0 Beta 2 Patchlevel 23
688
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.
691
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.
695
696 - When processing failover transactions, where acks will be deferred,
697   process the state transition immediately.
698
699 -  Don't try to use the new SIOCGIFCONF buffer size detection code on
700    Linux 2.0, which doesn't provide this functionality.
701
702 - Apply a patch suggested by Tuan Uong for a problem in dlpi.c.
703
704 - Fix a problem in using the which command in the configure script.
705
706 - Fix a parse error in the client when setting up an omapi listener.
707
708 - Document the -n and -g flags to the client.
709
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.
713
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.
716
717 - The client will attempt to get an address even if it can't create a
718   lease file.
719
720 - Don't overwrite tracefiles.
721
722 - Fix some memory allocation bugs in failover.
723
724                 Changes since 3.0 Beta 2 Patchlevel 22
725
726 - Apply some patches suggested by Cyrille Lefevre, who is maintaining
727   the FreeBSD ISC DHCP Distribution port.
728
729 - Fix a core dump in DHCPRELEASE.
730
731                 Changes since 3.0 Beta 2 Patchlevel 21
732
733 - This time for sure: fix the spin described in the changes for pl20.
734
735                 Changes since 3.0 Beta 2 Patchlevel 20
736
737 - Fix a problem with Linux detecting large numbers of interfaces (Ben)
738
739 - Fix a memory smash in the quotify code, which was introduced in
740   pl19.
741
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.
745
746                 Changes since 3.0 Beta 2 Patchlevel 19
747
748 - Fix a bug that could cause the server to abort if compiled with
749   POINTER_DEBUG enabled.
750
751 - Fix a bug that could cause the server to spin when responding to a
752   DHCPREQUEST.
753
754 - Apply Joost Mulders' suggested patches for DLPI on x86.
755
756 - Support NUL characters in quoted strings.
757
758 - Install unformatted man pages on SunOS.
759
760                 Changes since 3.0 Beta 2 Patchlevel 18
761
762 - Allow the server to be placed in partner-down state using OMAPI.
763   (Damien Neil)
764
765 - Implement omshell, which can be used to do arbitrary things to the
766   server (in theory). (Damien Neil)
767
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)
771
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
775   message.
776
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.
780
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
786   this way will work.
787
788 - Fix documentation for sending non-standard options.
789
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:
794
795   option option-nnn code nnn = string;
796
797   You can use a descriptive name instead of option-nnn if you like.
798
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.
802
803 - Fix client script exit status check, according to a fix supplied by
804   Hermann Lauer.
805
806 - Fix an endianness bug in the tracefile support, regarding ICMP
807   messages.
808
809 - Fix a bug in the client where the medium would not work correctly if
810   it contained quoted strings.
811
812                        ** there was no pl17 **
813
814                 Changes since 3.0 Beta 2 Patchlevel 16
815
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.
822
823 - Incorporate some bug fixes provided by Joost Mulders for the DLPI
824   package which should clear up problems people have been seeing on
825   Solaris.
826
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.
830
831 - Fix a bug in DHCPREQUEST handling that resulted in DHCPNAK messages
832   not being send in some cases when they were needed.
833
834 - Make the lease structure somewhat more compact.
835
836 - Make initial failover startup *much* faster.   This was researched
837   and implemented by Damien Neil.
838
839 - Add a --version flag to all executables, which prints the program
840   name and version to standard output.
841
842 - Don't rewrite the lease file every thousand leases.
843
844 - A bug in nit.c for older SunOS machines was fixed by a patch sent in
845   by Takeshi Hagiwara.
846
847 - Fix a memory corruption bug in the DHCP client.
848
849 - Lots of documentation updates.
850
851 - Add a feature allowing environment variables to be passed to the
852   DHCP client script on the DHCP client command line.
853
854 - Fix client medium support, which had been broken for some time.
855
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.
858
859
860                 Changes since 3.0 Beta 2 Patchlevel 15
861
862 - Some documentation tweaks.
863
864 - Maybe fix a problem in the DLPI code.
865
866 - Fix some error code space inconsistencies in ddns update code.
867
868 - Support relay agents that intercept unicast DHCP messages to stuff
869   agent options into them.
870
871 - Fix a small memory leak in the relay agent option support code.
872
873 - Fix a core dump that would occur if a packet was sent with no
874   options.
875
876                 Changes since 3.0 Beta 2 Patchlevel 14
877
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.
883
884 - Fix up documentation.
885
886 - Fix a couple of small memory leaks that would have added up
887   significantly in a high-demand situation.
888
889 - Add a log-facility configuration parameter.
890
891 - Fix a compile error on some older operating systems.
892
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.
896
897 - Don't send faked-out giaddr when renewing or bound - again, useful
898   for debugging.
899
900                 Changes since 3.0 Beta 2 Patchlevel 13
901
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.
905
906 - Work around the Win98 DHCP client, which NUL-terminates the FQDN
907   option.
908
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.
911
912 - Fix some log messages that can be printed when failover is operating
913   that were not printing enough information.
914
915 - It was possible for a DHCPDISCOVER to get an allocation even when
916   the state machine said the server shouldn't be responding.
917
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
921   were answering.
922
923 - When we get a bogus state lease binding state transition, don't do
924   the transition.
925   
926
927                 Changes since 3.0 Beta 2 Patchlevel 12
928
929 - Fixed a couple of silly compile errors.
930
931                 Changes since 3.0 Beta 2 Patchlevel 11
932
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.
936
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
940   could spin.
941
942 - Fix a problem with alignment of the input buffer in bpf in cases
943   where two packets arrive in the same bpf read.
944
945 - Fix a problem where the relay agent would crash if you specified an
946   interface name on the command line.
947
948 - Add the ability to conditionalize client behaviour based on the
949   client state.
950
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
955   added by Ted Lemon.
956
957 - Damien added a "log" statement, so that the configuration file can
958   be made to log debugging information and other information.
959
960 - Fixed a bug that caused option buffers not to be terminated with an
961   end option.
962
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.
966
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.
970
971 - Allow key names to be FQDNs, and qualify the algorithm name if it is
972   specified unqualified.
973
974 - Modify the DDNS update code so that it never prints the "resolver
975   failed" message, but instead says *why* the resolver failed.
976
977 - Officially support the subnet selection option, which now has an
978   RFC.
979
980 - Fix a build bug on MacOS X.
981
982 - Allow administrator to disable ping checking.
983
984 - Clean up dhcpd.conf documentation and add more information about how
985   it works.
986
987                 Changes since 3.0 Beta 2 Patchlevel 10
988
989 - Fix a bug introduced during debugging (!) and accidentally committed
990   to CVS.
991
992                 Changes since 3.0 Beta 2 Patchlevel 9
993
994 - Fix DHCP client handling of vendor encapsulated options.
995
996 - Fix a bug in the handling of relay agent information options introduced
997   in patchlevel 9.
998
999 - Stash agent options on client leases by default, and use the stashed
1000   options at renewal time.
1001
1002 - Add the ability to test the client's binding state in the client
1003   configuration language.
1004
1005 - Fix a core dump in the DNS update code.
1006
1007 - Fix some expression evaluation bugs that were causing updates to be
1008   done when no client hostname was received.
1009
1010 - Fix expression evaluation debugging printfs.
1011
1012 - Teach pretty_print_option to print options in option spaces other than
1013   the DHCP option space.
1014
1015 - Add a warning message if the RHS of a not is not boolean.
1016
1017 - Never select for more than a day, because some implementations of
1018   select will just fail if the timeout is too long (!).
1019
1020 - Fix a case where a DHCPDISCOVER from an unknown network would be
1021   silently dropped.
1022
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.
1025
1026 - Fix the DNS update code so that if the client changes its name, the DNS
1027   will be correctly updated.
1028
1029                 Changes since 3.0 Beta 2 Patchlevel 8
1030
1031 - Oops, there was another subtle math error in the header-length
1032   bounds-checking.
1033
1034                 Changes since 3.0 Beta 2 Patchlevel 7
1035
1036 - Oops, forgot to byte-swap udp header length before bounds-checking it.
1037
1038                 Changes since 3.0 Beta 2 Patchlevel 6
1039
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.
1043
1044 - Implement client- and server-side support for using the Client FQDN
1045   option.
1046
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
1052   meaningfully.
1053
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.
1057
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
1061   this one down!
1062
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.
1067
1068                 Changes since 3.0 Beta 2 Patchlevel 5
1069
1070 - Fix a bug in the recent enhancement to the interface discovery code
1071   to support arbitrary-length interface lists.
1072
1073 - Support NUL-terminated DHCP options when initializing client-script
1074   environment.
1075
1076 - Fix suffix operator.
1077
1078 - Fix NetWare/IP option parsing.
1079
1080 - Better error/status checking in dhcpctl initialization and omapi
1081   connection code.
1082
1083 - Fix a potential memory smash in dhcpctl code.
1084
1085 - Fix SunOS4 and (maybe) Ultrix builds.
1086
1087 - Fix a bug where a certain sort of incoming packet could cause a core
1088   dump on Solaris (and probably elsewhere).
1089
1090 - Add some more safety checks in error logging code.
1091
1092 - Add support for ISC_R_INCOMPLETE in OMAPI protocol connection code.
1093
1094 - Fix relay agent so that if an interface is specified on the command
1095   line, the relay agent does not dump core.
1096
1097 - Fix class matching so that match if can be combined with match or
1098   spawn with.
1099
1100 - Do not allow spurious leases in the lease database to introduce
1101   potentially bogus leases into the in-memory database.
1102
1103 - Fix a byte-order problem in the client hardware address type code
1104   for OMAPI.
1105
1106 - Be slightly less picky about what sort of hardware addresses OMAPI
1107   can install in host declarations.
1108
1109                 Changes since 3.0 Beta 2 Patchlevel 4
1110
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
1115   comments)!
1116
1117 - Added an encoding for the slp-agent option.   :')
1118
1119 - Fixed SunOS 4 build.  Thanks to Robert Elz for responding to my
1120   request for help on this with patches!
1121
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.
1125
1126 - Fix client script files other than that for NetBSD to actually use
1127   make_resolv_conf as documented in the manual page.
1128
1129 - Fix a bug in the packet handling code that could result in a core
1130   dump.
1131
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
1134   catching this one.
1135
1136                 Changes since 3.0 Beta 2 Patchlevel 3
1137
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
1140   lease renewal time.
1141
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.
1145
1146 - Fix some Linux 2.0 compilation problems.
1147
1148 - Fix a bug in scope evaluation during execution of "on" statements that
1149   caused values not to be recorded on leases.
1150
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.
1154
1155                 Changes since 3.0 Beta 2 Patchlevel 2
1156
1157 - Fix a case where spawning subclasses were being allocated
1158   incorrectly, resulting in a core dump.
1159
1160 - Fix a case where the DHCP server might inappropriately NAK a
1161   RENEWING client.
1162
1163 - Fix a place dhcprequest() where static leases could leak.
1164
1165 - Include memory.h in omapip_p.h so that we don't get warnings about
1166   using memcmp().
1167
1168                 Changes since 3.0 Beta 2 Patchlevel 1
1169
1170 - Notice when SIOCFIGCONF returns more data than fit in the buffer -
1171   allocate a larger buffer, and retry.   Thanks to Greg Fausak for
1172   pointing this out.
1173
1174 - In the server, if no interfaces were configured, report an error and
1175   exit.
1176
1177 - Don't ever record a state of 'startup'.
1178
1179 - Don't try to evaluate the local failover binding address if none was
1180   specified.   Thanks to Joseph Breu for finding this.