]> git.ipfire.org Git - thirdparty/dhcp.git/blame - RELNOTES
- RFC3942 compliance, site-local option spaces start at 224 now, not 128.
[thirdparty/dhcp.git] / RELNOTES
CommitLineData
98311e4b
DH
1 Internet Systems Consortium DHCP Distribution
2 Version 3.1 - HEAD
3 March 3, 2005
72c7bd79 4
98311e4b 5 Release Notes
72c7bd79 6
da411127 7 NEW FEATURES
16449d9c 8
6d779c72
TL
9Version 3 of the ISC DHCP Distribution includes the following features
10that are new since version 2.0:
29d5553a 11
da411127
TL
12 - DHCP Failover Protocol support
13 - OMAPI, an API for accessing and modifying the DHCP server and
14 client state.
15 - Conditional behaviour
16 - Storing arbitrary information on leases
17 - Address pools with access control
18 - Client classing
19 - Address allocation restriction by class
20 - Relay agent information option support
21 - Dynamic DNS updates
22 - Many bug fixes, performance enhancements, and minor new DHCP
23 protocol features.
72c7bd79 24
98311e4b
DH
25The main bug fixed here is a bug in the subclass allocation code that
26could result in a memory smash. Any users of the ISC DHCP server who
27are using subclasses should seriously consider upgrading to 3.0.1.
6d779c72
TL
28
29If you are running 3.0 beta 1 and are doing dynamic DNS updates, the
30lease file is no longer forward-compatible to 3.0 final. A script
31has been provided to convert 3.0b1 lease files. This is in
32contrib/3.0b1-lease-convert.
4ff4053b 33
ca4606b5
TL
34For information on how to install, configure and run this software,
35as well as how to find documentation and report bugs, please consult
36the README file.
37
da411127
TL
38The Dynamic DNS Update support is a descendent of an implementation
39done by Lans Carstensen and Brian Dols at Rose-Hulman Institute of
de57e64b
TL
40Technology, Jim Watt at Applied Biosystems, Irina Goble at Integrated
41Measurement Systems, Igor Sharfmesser at Kazakh Telecom, and Brian
42Murrell at BC Tel Advanced Communications. I'd like to express my
43thanks to all of these good people here, both for working on the code
44and for prodding me into improving it.
45
98311e4b
DH
46
47 Changes since 3.0 (New Features)
48
49- A workaround for certain STSN servers that send a mangled domain-name
50 option was introduced for dhclient. The client will now accept corrupted
51 server responses, if they contain a valid DHCP_MESSAGE_TYPE (OFFER, ACK,
52 or NAK). The server will continue to not accept corrupt client packets.
53
54- Support for 'reserved' (static) and BOOTP leases via failover was
55 introduced.
56
57- Support for adding, removing, and managing class and subclass statements
58 via OMAPI.
59
60- 'make install' now creates the initial zero-length dhcpd.leases file if
61 one does not already exist on the system.
62
b43c87ad
DH
63- RFC3942 compliance, site-local option spaces start at 224 now, not 128.
64 ||| THIS NEEDS TO BE SPELLED OUT IN THE NEW FEATURES LIST |||
65
c75473d8
DH
66 Changes since 3.0.3b3
67
68- dhclient.conf documentation for interface {} was updated to reflect recent
69 discussion on the dhcp-hackers mailing list.
70
71- In response to reports that the software does not compile on GCC 4.0.0,
72 -Werror was removed from Makefile.conf for all platforms that used it.
73 We will address the true problem in a future release; this is a temporary
74 workaround.
75
76 Changes since 3.0.3b2
77
78- An error in code changes introduced in 3.0.3b2 was corrected, which caused
79 static BOOTP clients to receive random addresses.
80
81 Changes since 3.0.3b1
82
83- A bug was fixed in BOOTPREQUEST handling code wherein stale references to
84 host records would be left behind on leases that were not allocated to the
85 client currently booting (eg in the case where the host was denied booting).
86
87- The dhcpd.conf.5 manpage was updated to be more clear in regards to
88 multiple host declarations (thanks to Vincent McIntyre). 'Interim' style
89 dynamic updates were also retouched.
90
98311e4b
DH
91 Changes since 3.0.2
92
93- A bug was fixed where a server might load balance a DHCP REQUEST to its
94 peer after already choosing not to load balance the preceeding DISCOVER.
95 The peer cannot allocate the originating server's lease.
96
97- In the case where a secondary server lost its stable storage while the
98 primary was still in communications-interrupted, and came back online,
99 the lease databases would not be fully transferred to the secondary.
100 This was due to the secondary errantly sending an extra UPDREQ message
101 when the primary made its state transition to PARTNER-DOWN known.
102
103- The package will now compile cleanly in gcc 3.3 and 3.4. As a side effect,
104 lease structures will be 9 bytes smaller on all platforms. Thanks to
105 Jason Vas Dias at Redhat.
106
107- Interface discovery code in DISCOVER_UNCONFIGURED mode is now
108 properly restricted to only detecting broadcast interfaces. Thanks
109 to a patch from Jason Vas Dias at RedHat.
110
111- decode_udp_ip_header was changed so that the IP address was copied out
112 to a variable, rather than referenced by a pointer. This enforces 4-byte
113 alignment of the 32-bit IP address value. Thanks to a patch from Dr.
114 Peter Poeml.
115
116- An incorrect log message was corrected thanks to a patch from
117 Dr. Peter Poeml.
118
119- A bug in DDNS was repaired, where if the server's first DDNS action was
120 a DDNS removal rather than a DDNS update, the resolver library's
121 retransmit timer and retry timer was set to the default, implying a
122 15 second timeout interval. Which is a little excessive in a synchronous,
123 single-threaded system. In all cases, ISC DHCP should now hold fast to
124 a 1-second timeout, trying only once.
125
126- The siaddr field was being improperly set to the server-identifier when
127 responding to DHCP messages. RFC2131 clarified the siaddr field as
128 meaning the 'next server in the bootstrap process', eg a tftp server.
129 The siaddr field is now left zeroed unless next-server is configured.
130
131- mockup_lease() could have returned in an error condition (or in the
132 condition where no fixed-address was found matching the shared
133 network) with stale references to a host record. This is probably not
134 a memory leak since host records generally never die anyway.
135
136- A bug was repaired where failover servers would let stale client identifiers
137 persist on leases that were reallocated to new clients not sending an id.
138
139- Binding scopes ("set var = value;") are now removed from leases allocated
140 by failover peers if the lease had expired. This should help reduce the
141 number of stale binding scopes on leases.
142
143- A small memory leak was closed involving client identifiers larger than
144 7 bytes, and failover.
145
146- Configuring a subnet in dhcpd.conf with a subnet mask of 32 bits might
147 cause an internal function to overflow heap. Thanks to Jason Vas Dias
148 at Redhat.
149
150- Some inconsistencies in treating numbers that the lexer parsed as 'NUMBER'
151 or 'NUMBER_OR_NAME' was repaired. Hexadecimal parsing is affected, and
152 should work better.
153
154- In several cases, parse warnings were being issued before the lexical
155 token had been advanced to the token whose value was causing an error...
156 causing parse warnings to claim the problem is on the wrong token.
157
158- Host declarations matching on client identifier for dynamic leases will
159 no longer match fixed-address host declarations (this is now identical
160 to behaviour for host records matching on hardware address).
161
162 Changes since 3.0.2rc3
163
164- A previously undocumented configuration directive, 'local-address',
165 was documented in the dhcpd.conf manpage.
166
167 Changes since 3.0.2rc2
168
169- Two varaibles introduced in 3.0.2b1 were used without being initialized
170 in the case where neither the FILE nor SNAME fields were available for
171 overloading. This was repaired.
172
173- A heretofore believed to be impossible corner case of the option
174 overloading implementation turned out to be possible ("Unable to sort
175 overloaded options after 10 tries."). The implementation was reworked
176 to consider the case of an option so large it would require more than
177 three chunks to fit.
178
179- Many other instances of variables being used without being initialized
180 were repaired.
181
182- An uninitialized variable in omapi_io_destroy() led to the discovery
183 that this function may result in orphaned pointers (and hence, a memory
184 leak).
185
186 Changes since 3.0.2rc1
187
188- allocate_lease() was rewritten to repair a bug in which the server would
189 try to allocate an ABANDONED lease when FREE leases were available.
190
191 Changes since 3.0.2b1
192
193- Some dhcp-eval.5 manpage formatting was repaired.
194
195 Changes since 3.0.1
196
197- A bug was fixed in the server's 'option overloading' implementation,
198 where options loaded into the 'file' and 'sname' packet fields were
199 not aligned precisely as rfc2131 dictates.
200
201- The FreeBSD client script was changed to support the case where a domain
202 name was not provided by the server.
203
204- A memory leak in 'omshell' per each command line parsed was
205 repaired, thanks to a patch from Jarkko Torppa.
206
207- Log functions writing to stderr were adjusted to use the STDERR_FILENO
208 system definition rather than '2'. This is a no-op for 90% of platforms.
209
210- One call to trace_write_packet_iov() counted the number of io vectors
211 incorrectly, causing inconsistent tracefiles. This was fixed.
212
213- Some expression parse failure memory leaks were closed.
214
215- A host byte order problem in tracefiles was repaired.
216
217- Pools configured in DHCPD for failover possessing permission lists that
218 previously were assumed to not include dyanmic bootp clients are now
219 a little more pessimistic. The result is, dhcpd will nag you about just
220 about most pools that possess a 'allow' statement with no 'deny' that
221 would definitely match a dynamic bootp client.
222
223- The 'ddns-update-style' configuration warning bit now insists that
224 the configuration be globally scoped.
225
226- Two memory leaks in dhclient were closed thanks to a patch from Felix
227 Farkas.
228
229- Some minor but excellently pedantic documentation errors were fixed
230 thanks to a patch from Thomas Klausner.
231
232- Bugs in operator precedence in executable statements have been repaired
233 once again. More legal syntaxes should be parsed legally.
234
235- Failing to initialize a tracefile for any reason if a tracefile was
236 specified is now a fatal error. Thanks to a patch from Albert Herranz.
237
238- Corrected a bug in which the number of leases transferred as calculated
239 by the failover primary and sent to peers in POOLRESP responses may be
240 incorrect. This value is not believed to be used by other failover
241 implementations, excepting perhaps as logged information.
242
243- Corrected a bug in which 'dhcp_failover_send_poolresp()' was in fact
244 sending POOLREQ messages instead of POOLRESP mesasges. This message
245 was essentially ignored since failover secondaries effectively do not
246 respond to POOLREQ messages.
247
248- Type definitions for various bitwidths of integers in the sunos5-5
249 build of ISC DHCP have been fixed. It should compile and run more
250 easily when built in 64-bit for this platform.
251
252- "allow known-clients;" is now a legal syntax, to avoid confusion.
253
254- If one dhcp server chooses to 'load balance' a request to its failover
255 peer, it first checks to see if it believes said peer has a free
256 lease to allocate before ignoring the DISCOVER.
257
258- log() was logging a work buffer, rather than the value returned by
259 executing the statements configured by the user. In some cases,
260 the work buffer and the intended results were the same. In some other
261 cases, they were not. This was fixed thanks to a patch from Gunnar
262 Fjone and directconnect.no.
263
264- Compiler warnings for some string type conversions was fixed, thanks
265 to Andreas Gustafsson.
266
267- The netbsd build environments were simplified to one, in which
268 -Wconversion is not used, thanks to Andreas Gustafsson.
269
270- How randomness in the backoff-cutoff dhclient configuration variable
271 is implemented was better documented in the manpage, and the behaviour
272 of dhclient in REQUEST timeout handling was changed to match that of
273 DISCOVER timeout handling.
274
275- Omapi was hardened against clients that pass in null values, thanks
276 to a patch from Mark Jason Dominus.
277
278- A bug was fixed in dhclient that kept it from doing client-side
279 ddns updates. Thanks to a patch from Andreas Gustafsson, which
280 underwent some modification after review by Jason Vas Dias.
281
282- Failover implementations disconnected due to the network between
283 them (rather than one of the two shutting down) will now try to
284 re-establish the failover connection every 5 seconds, rather than
285 to simply try once and give up until one of them is restarted.
286 Thanks to a patch from Ulf Ekberg from Infoblox, and field testing
287 by Greger V. Teigre which led to an enhancement to it.
288
289- A problem that kept DHCP Failover secondaries from tearing down
290 ddns records was repaired. Thanks to a patch from Ulf Ekberg from
291 Infoblox.
292
293- 64bit pointer sizes are detected properly on FreeBSD now.
294
295- A bug was repaired where the DHCP server would leave stale references
296 to host records on leases it once thought about offering to certain
297 clients. The result would be to apply host and 'known' scopes to the
298 wrong clients (possibly denying booting). NOTE: The 'mis-host' patch
299 that was being circulated as a workaround is not the way this bug was
300 fixed. If you were a victim of this bug in 3.0.1, you are cautioned
301 to proceed carefully and see if it fixes your problem.
302
303- A bug was repaired in the server's DHCPINFORM handling, where it
304 tried to divine the client's address from the source packet and
305 would get it wrong. Thanks to Anshuman Singh Rawat.
306
307- A log message was introduced to help illuminate the case where the
308 server was unable to find a lease to assign to any BOOTP client.
309 Thanks to Daniel Baker.
310
311- A minor dhcpd.conf.5 manpage error was fixed.
312
313 Changes since 3.0.1rc14
314
315- The global variable 'cur_time' was centralized and is now uniformly of a
316 type #defined in system-dependent headers. It had previously been defined
317 in one of many places as a 32-bit value, and this causes mayhem on 64-bit
318 big endian systems. It probably wasn't too healthy on little endian
319 systems either.
320
321- A printf format string error introduced in rc14 was repaired.
322
323- AIX system-dependent header file was altered to only define NO_SNPRINTF
324 if the condition used to #ifdef in vsnprintf in AIX' header files
325 is false.
326
327- The Alpha/OSF system-dependent header file was altered to define
328 NO_SNPRINTF on OS revisions older than 4.0G.
329
330- omapip/test.c had string.h added to its includes.
331
332 Changes since 3.0.1rc13
333
334! CAN-2004-0460 - CERT VU#317350: Five stack overflow exploits were closed
335 in logging messages with excessively long hostnames provided by the
336 clients. It is highly probable that these could have been used by
337 attackers to gain arbitrary root access on systems using ISC DHCP 3.0.1
338 release candidates 12 or 13. Special thanks to Gregory Duchemin for
339 both finding and solving the problem.
340
341! CAN-2004-0461 - CERT VU#654390: Once the above was closed, an opening
342 in log_*() functions was evidented, on some specific platforms where
343 vsnprintf() was not believed to be available and calls were wrapped to
344 sprintf() instead. Again, credit goes to Gregory Duchemin for finding
345 the problem. Calls to snprintf() are now linked to a distribution-local
346 snprintf implementation, only in those cases where the architecture is
347 not known to provide one (see includes/cf/[arch].h). If you experience
348 linking problems with snprintf/vsnprintf or 'isc_print_' functions, this
349 is where to look. This vulnerability did not exist in any previously
350 published version of ISC DHCP.
351
352- Compilation on hpux 11.11 was repaired.
353
354- 'The cross-compile bug fix' was backed out.
355
356 Changes since 3.0.1rc12
357
358- Fixed a bug in omapi lease lookup function, to form the hardware
359 address for the hash lookup correctly, thanks to a patch from
360 Richard Hirst.
361
362- Fixed a bug where dhcrelay was sending relayed responses back to the
363 broadcast address, but with the source's unicast mac address. Should
364 now conform to rfc2131 section 4.1.
365
366- Cross-compile bug fix; use $(AR) instead of ar. Thanks to Morten Brorup.
367
368- Fixed a crash bug in dhclient where dhcpd servers that do not provide
369 renewal times results in an FPE. As a side effect, dhclient can now
370 properly handle 0xFFFFFFFF (-1) expiry times supplied by servers. Thanks
371 to a patch from Burt Silverman.
372
373- The 'ping timeout' debugs from rc12 were removed to -DDEBUG only,
374 and reformatted to correct a compilation error on solaris platforms.
375
376- A patch was applied which fixes a case where leases read from the
377 leases database do not properly over-ride previously read leases.
378
379- dhcpctl.3 manpage was tweaked.
380
381 Changes since 3.0.1rc11
382
383- A patch from Steve Campbell was applied with minor modifications to
384 permit reverse dns PTR record updates with values containing spaces.
385
386- A patch from Florian Lohoff was applied with some modifications to
387 dhcrelay. It now discards packets whose hop count exceeds 10 by default,
388 and a command-line option (-c) can be used to set this threshold.
389
390- A failover bug relating to identifying peers by name length instead of
391 by name was fixed.
392
393- Delcaring failover configs within shared-network statements should no
394 longer result in error.
395
396- The -nw command line option to dhclient now works.
397
398- Thanks to a patch from Michael Richardson:
399 - Some problems with long option processing have been fixed.
400 - Some fixes to minires so that updates of KEY records will work.
401
402- contrib/ms2isc was updated by Shu-Min Chang of the Intel Corporation.
403 see contrib/ms2isc/readme.txt for revision notes.
404
405- Dhclient no longer uses shell commands to kill another instance of
406 itself, it sends the signal directly. Thanks to a patch from Martin
407 Blapp.
408
409- The FreeBSD dhclient-script was changed so that a failure to write to
410 /etc/resolv.conf does not prematurely end the script. This keeps dhclient
411 from looping infinitely when this is the case. Thanks to a patch from
412 Martin Blapp.
413
414- A patch from Bill Stephens was applied which resolves a problem with lease
415 expiry times in failover configurations.
416
417- A memory leak in configuration parsing was closed thanks to a patch from
418 Steve G.
419
420- The function which discovers interfaces will now skip non-broadcast or
421 point-to-point interfaces, thanks to a patch from David Brownlee.
422
423- Options not yet known by the dhcpd or dhclient have had their names
424 changed such that they do not contain # symbols, in case they should ever
425 appear in a lease file. An option that might have been named "#144" is
426 now "unknown-144".
427
428- Another patch from Bill Stephens which allows the ping-check timeout to
429 be configured as 'ping-timeout'. Defaults to 1.
430
431 Changes since 3.0.1rc10
432
433- Potential buffer overflows in minires repaired.
434
435- A change to the linux client script to use /bin/bash, since /bin/sh may
436 not be bash.
437
438- Some missing va_end cleanups thanks to a patch from Thomas Klausner.
439
440- A correction of boolean parsing syntax validation - some illegal syntaxes
441 that worked before are now detected and produce errs, some legal syntaxes
442 that errored before will now work properly.
443
444- Some search-and-replace errors that caused some options to change their
445 names was repaired.
446
447- Shu-min Chang of the Intel corporation has contributed a perl script and
448 module that converts the MS NT4 DHCP configuration to a ISC DHCP3
449 configuration file.
450
451- Applied the remainder of the dhcpctl memory leak patch provided by Bill
452 Squier at ReefEdge, Inc. (groo@reefedge.com).
453
454- Missing non-optional failover peer configurations will now result in a soft
455 error rather than a null dereference.
456
457 Changes since 3.0.1rc9
458
459- A format string was corrected to fix compiler warnings.
460
461- A number of spelling corrections were made in the man pages.
462
463- The dhclient.conf.5 man page was changed to refer to do-forward-updates
464 rather than a configuration option that doesn't exist.
465
466- A FreeBSD-specific bug in the interface removal handling was fixed.
467
468- A Linux-specific Token Ring detection problem was fixed.
469
470- Hashes removed from as-yet-unknown agent options, having those options
471 appear in reality before we know about them will no longer produce
472 self-corrupting lease databases.
473
474- dhclient will use the proper port numbers now when using the -g option.
475
476- A order-of-operations bug with 2 match clauses in 1 class statement is
477 fixed thanks to a patch from Andrew Matheson.
478
479- Compilation problems on Solaris were fixed.
480
481- Compilation problems when built with DEBUG or DEBUG_PACKET were repaired.
482
483- A fix to the dhcp ack process which makes certain group options will be
484 included in the first DHCPOFFER message was made thanks to a patch from
485 Ling Gou.
486
487- A few memory leaks were repaired thanks to patches from Bill Squier at
488 ReefEdge, Inc. (groo@reefedge.com).
489
490- A fix for shared-networks that sometimes give clients options for the
491 wrong subnets (in particular, 'option routers') was applied, thanks to
492 Ted Lemon for the patch.
493
494- Omshell's handling of dotted octets as values was changed such that dots
495 one after the other produce zero values in the integer string.
496
497 Changes since 3.0.1rc8
498
499- Fix a format string vulnerability in the server that could lead to a
500 remote root compromise (discovered by NGSEC Research Team, www.ngsec.com).
501
502- Add additional support for NetBSD/sparc64.
503
504- Fix a bug in the command-line parsing of the client. Also, resolve
505 a memory leak.
506
507- Add better support for shells other than bash in the Linux client
508 script.
509
510- Various build fixes for modern versions of FreeBSD and Linux.
511
512- Fix a bad bounds check when printing binding state names.
513
514- Clarify documentation about fixed-address and multiple addresses.
515
516- Fix a typo in the authoritative error message.
517
518- Make a log entry when we can't write a billing class.
519
520- Use conversion targets that are the right size on all architectures.
521
522- Increment the hop count when relaying.
523
524- Log a message when lease state is changed through OMAPI.
525
526- Don't rerun the shared_network when evaluating the pool.
527
528- Fix a reversed test in the parser.
529
530- Change the type of rbuf_max.
531
532- Make FTS_LAST a manifest constant to quiet warnings.
533
534 Changes since 3.0.1rc7
535
536- Fix two compiler warnings that are generated when compiling on Solaris
537 with gcc. These stop the build, even though they weren't actually
538 errors, because we prefer that our builds generate no warnings.
539
540 Changes since 3.0.1rc6
541
542- Don't allow a lease that's in the EXPIRED, RELEASED or RESET state
543 to be renewed.
544
545- Implement lease stealing for cases where the primary has fewer leases
546 than the secondary, as called for by the standard.
547
548- Add a fudge factor to the lease expiry acceptance code, (suggested
549 by Kevin Miller of CMU).
550
551- Fix a bug in permit_list_match that made it much too willing to say
552 that two permit lists matched.
553
554- Unless DEBUG_DNS_UPDATES is defined, print more user-friendly (and
555 also more compact) messages about DNS updates.
556
557- Fix a bug in generating wire-format domain names for the FQDN option.
558
559- Fix a bug where the FQDN option would not be returned if the client
560 requested it, contrary to the standard.
561
562- On Darwin, use the FreeBSD DHCP client script.
563
564- On NetBSD/sparc, don't check for casting warnings.
565
566- Add a flag in the DHCP client to disable updating the client's A
567 record when sending an FQDN option indicating that the client is
568 going to update its A record.
569
570- In the client, don't attempt a DNS update until one second after
571 configuring the new IP address, and if the update times out, keep
572 trying until a response, positive or negative, is received from the
573 DNS server.
574
575- Fix an uninitialized memory bug in the DHCP client.
576
577- Apply some FreeBSD-specific bug fixes suggested by Murray Stokely.
578
579- Fix a bug in ns_parserr(), where it was returning the wrong sort
580 of result code in some cases (suggested by Ben Harris of the
581 NetBSD project).
582
583- Fix a bug in is_identifier(), where it was checking against EOF
584 instead of the END_OF_FILE token (also suggested by Ben Harris).
585
586- Fix a bug where if an option universe contained no options, the
587 DHCP server could dump core (Walter Steiner).
588
589- Fix a bug in the handling of encapsulated options.
590
591- Fix a bug that prevented NWIP suboptions from being processed.
592
593- Delete the FTS_BOOTP and FTS_RESERVED states and implement them
594 as modifier flags to the FTS_ACTIVE state, as called for in the
595 failover protocol standard.
596
597- Fix bugs in the pool merging code that resulted in references and
598 dereferences of null pointers. This bug had no impact unless the
599 POINTER_DEBUG flag was defined.
600
601- In the server, added a do-forward-updates flag that can be used to
602 disable forward updates in all cases, so that sites that want the
603 clients to take sole responsibility for updating their A record can
604 do so.
605
606- Make it possible to disable optimization of PTR record updates.
607
608 Changes since 3.0.1rc5
609
610- Include some new documentation and changes provided by Karl Auer.
611
612- Add a workaround for some Lexmark printers that send a double-NUL-
613 terminated host-name option, which would break DNS updates.
614
615- Fix an off-by-one error in the MAC-address checking code for
616 DHCPRELEASE that was added in 3.0.1rc5.
617
618- Fix a bug where client-specific information was not being discarded
619 from the lease when it expired or was released, resulting in
620 problems if the lease was reallocated to a different client.
621
622- If more than one allocation pool is specified that has the same set
623 of constraints as another allocation pool on the same shared
624 network, merge the two pools.
625
626- Don't print an error in fallback_discard, since this just causes
627 confusion and does not appear to be helping to encourage anyone to
628 fix this bug.
629
630 Changes since 3.0.1rc4
631
632- Fix a bug that would cause the DHCP server to spin if asked to parse
633 a certain kind of incorrect statement.
634
635- Fix a related bug that would prevent an error from being reported in
636 the same case.
637
638- Additional documentation.
639
640- Make sure that the hardware address matches the lease when
641 processing a DHCPRELEASE message.
642
643 Changes since 3.0.1rc3
644
645- A minor bug fix in the arguments to a logging function call.
646- Documentation update for dhcpd.conf.
647
648 Changes since 3.0.1rc2
649
650- Allow the primary to send a POOLREQ message. This isn't what the current
651 failover draft says to do, so we may have to back it out if I can't get the
652 authors to relent, but the scheme for balancing that's specified in the
653 current draft seems needlessly hairy, so I'm floating a trial balloon.
654 The rc1 code did not implement the method described in the draft either.
655
656 Changes since 3.0.1rc1
657
658- Treat NXDOMAIN and NXRRSET as success when we are trying to delete a
659 domain or RRSET. This allows the DHCP server to forget about a name
660 it added to the DNS once it's been removed, even if the DHCP server
661 wasn't the one that removed it.
662
663- Install defaults for failover maximum outstanding updates and maximum
664 silent time. This prevents problems that might occur if these values
665 were not configured.
666
667- Don't do DDNS deletes if ddns-update-style is none.
668
669- Return relay agent information options in DHCPNAK. This prevents DHCPNAK
670 messages from being dropped when the relay agent information option contains
671 routing information.
672
673- Fix a problem where coming up in recover wouldn't result in an update
674 request being sent.
675
676- Add some more chatty messages when we start a recovery update and when it's
677 done.
678
679- Fix a possible problem where some state might have been left around
680 after the peer lost contact and regained contact about how many updates
681 were pending.
682
683- Don't nix a lease update because of a lease conflict. This test has
684 never (as far as I know) prevented a mistake, and it appears to cause
685 problems with failover.
686
687- Add support in rc history code for keeping a selective history, rather
688 than a history of all references and dereferences. This code is only used
689 when extensive additional debugging is enabled.
690
691 Changes since 3.0
692
693- Make allocators for hash tables. As a side effect, this fixes a memory
694 smash in the subclass allocation code.
695
696- Fix a small bug in omshell where if you try to close an object when
697 no object is open, it dumps core.
698
699- Fix an obscure coredump that could occur on shutdown.
700
701- Fix a bug in the recording of host declaration rubouts in the lease file.
702
703- Fix two potential spins in the host deletion code.
704
705- Fix a core dump that would happen if an application tried to update
706 a host object attribute with a null value.
707
708 Changes since 3.0 Release Candidate 12
709
710- Fix a memory leak in the evaluation code.
711
712- Fix an obscure core dump.
713
714- Print a couple of new warnings when parsing the configuration file
715 when crucial information is left out.
716
717- Log "no free leases" as an error.
718
719- Documentation updates.
720
721 Changes since 3.0 Release Candidate 11
722
723- Always return a subnet selection option if one is sent.
724
725- Fix a warning that was being printed because an automatic data
726 structure wasn't zeroed.
727
728- Fix some failover state transitions that were being handled
729 incorrectly.
730
731- When supersede_lease is called on a lease whose end time has already
732 expired, but for which a state transition has not yet been done, do
733 a state transition. This fixes the case where if the secondary
734 allocated a lease to a client and the lease "expired" while the
735 secondary was in partner-down, no expiry event would actually
736 happen, so the lease would remain active until the primary was
737 restarted.
738
739 Changes since 3.0 Release Candidate 10
740
741- Fix a bug that was preventing released leases from changing state
742 in failover-enabled pools.
743
744- Fix a core dump in the client identifier finder code (for host
745 declarations).
746
747- Finish fixing a bug where bogus data would sometimes get logged to
748 the dhclient.leases file because it was opened as descriptor 2.
749
750- Fix the Linux dhclient-script according to suggestions made by
751 several people on the dhcp-client mailing list.
752
753- Log successful DNS updates at LOG_INFO, not LOG_ERROR.
754
755- Print an error message and refuse to run if a failover peer is
756 defined but not referenced by any pools.
757
758- Correct a confusing error message in failover.
759
eaf0b302
TL
760 Changes since 3.0 Release Candidate 9
761
762- Fix a bug in lease allocation for Dynamic BOOTP clients.
763
0db87765
TL
764 Changes since 3.0 Release Candidate 8 Patchlevel 2
765
766- Fix a bug that prevented update-static-leases from working.
767
768- Document failover-state OMAPI object.
769
770- Fix a compilation error on SunOS 4.
771
d758ad8c
TL
772 Changes since 3.0 Release Candidate 8 Patchlevel 1
773
774- Fix a parsing bug that broke dns updates (both interim and ad-hoc).
775 This was introduced in rc8pl1 as an unintended result of the memory
776 leakage fixes that were in pl1.
777
778- Fix a long-standing bug where the server would record that an update
779 had been done for a client with no name, even though no update had
780 been done, and then when the client's lease expired the deletion of
781 that nonexistant record would time out because the name was the null
782 string.
783
784- Clean up the omshell, dhcpctl and omapi man pages a bit.
785
d758ad8c
TL
786 Changes since 3.0 Release Candidate 8
787
788- Fix a bug that could cause the DHCP server to spin if
789 one-lease-per-client was enabled.
790
791- Fix a bug that was causing core dumps on BSD/os in the presence of
792 malformed packets.
793
794- In partner-down state, don't restrict lease lengths to MCLT.
795
796- On the failover secondary, record the MCLT received from the primary
797 so that if we come up without a connection to the primary we don't
798 wind up giving out zero-length leases.
799
800- Fix some compilation problems on BSD/os.
801
802- Fix a bunch of memory leaks.
803
804- Fix a couple of bugs in the option printer.
805
806- Fix an obscure error reporting bug in the dns update code, and also
807 make the message clearer when a key algorithm isn't supported.
808
809- Fix a bug in the tracing code that prevented trace runs that used
810 tcp connections from being played back.
811
812- Add some additional debugging capability for catching memory leaks
813 on exit.
814
815- Make the client release the lease correctly on shutdown.
816
817- Add some configurability to the build system.
818
819- Install omshell manual page in man1, not man8.
820
821- Craig Gwydir sent in a patch that fixes a long-standing bug in the
822 DHCP client that could cause core dumps, but that for some reason
823 hadn't been noticed until now.
824
825 Changes since 3.0 Release Candidate 7
826
827- Fix a bug in failover where we weren't sending updates after a
828 transition from communications-interrupted to normal.
829
830- Handle expired/released/reset -> free transition according to the
831 protocol specification (this works - the other way not only wasn't
832 conformant, but also didn't work).
833
834- Add a control object in both client and server that allows either
835 daemon to be shut down cleanly.
836
837- When writing a lease, if we run out of disk space, shut down the
838 output file and insist on writing a new one before proceeding.
839
840- In the server, if the OMAPI listener port is occupied, keep trying
841 to get it, rather than simply giving up and exiting.
842
843- Support fetching variables from leases and also updating and adding
844 variables to leases via OMAPI.
845
846- If two failover peers have wildly different clocks, refuse to start
847 doing failover.
848
849- Fix a bug in the DNS update code that could cause core dumps when
850 running on alpha processors.
851
852- Fixed a bug in ddns updates for static lease entries, thanks to a
853 patch from Andrey M Linkevitch.
854
855- Add support for Darwin/MacOS X
856
857- Install omshell (including new documentation).
858
859- Support DNS updates in the client (this is a very obscure feature
860 that most DHCP client users probably will not be able to use).
861
862- Somewhat cleaner status logging in the client.
863
864- Make OMAPI key naming syntax compatible with the way keys are
865 actually named (key names are domain names).
866
867- Fix a bug in the lease file writer.
868
869- Install DHCP ISC headers in a different place than BIND 9 ISC
870 headers, to avoid causing trouble in BIND 9 builds.
871
872- Don't send updates for attributes on an object when the attributes
873 haven't changed. Support deleting attributes on remote objects.
874
875- Fix a number of bugs in omshell, and add the unset and refresh
876 statements.
877
878- Handle disconnects in OMAPI a little bit more intelligently (so that
879 the caller gets ECONNRESET instead of EINVAL).
880
881- Fix a bunch of bugs in the handling of clients that have existing
882 leases when the try to renew their leases while failover is
883 operating.
884
eaf0b302
TL
885 Changes since 3.0 Release Candidate 6
886
887- Fix a core dump that could happen when processing a DHCPREQUEST from
888 a client that had a host declaration that contained both a
889 fixed-address declaration and a dhcp-client-identifier option
890 declaration, if the client identifier was longer than nine bytes.
891
892- Fix a memory leak that could happen in certain obscure cases when
893 using omapi to manipulate leases.
894
895- Fix some bugs and omissions in omshell.
896
897
898 Changes since 3.0 Release Candidate 5
899
900- Fix a bug in omapi_object_dereference that prevented objects in
901 chains from having their reference counts decreased on dereference.
902
903- Fix a bug in omapi_object_dereference that would prevent object
904 chains from being freed upon removal of the last reference external
905 to the chain.
906
907- Fix a number of other memory leaks in the OMAPI protocol subsystem.
908
909- Add code in the OMAPI protocol handler to trace memory leakage.
910
911- Clean up the memory allocation/reference history printer.
912
98311e4b 913- Support input of dotted quads and colon-separated hex lists as
eaf0b302
TL
914 attribute values in omshell.
915
98311e4b 916- Fix a typo in the Linux interface discovery code.
eaf0b302
TL
917
918- Conditionalize a piece of trace code that wasn't conditional.
919
920 Changes since 3.0 Release Candidate 4
921
922- Fix a bug that would prevent leases from being abandoned properly on
923 DHCPDECLINE.
924
925- Fix failover peer OMAPI support.
926
927- In failover, correctly handle expiration of leases. Previously,
928 leases would never be reclaimed because they couldn't make the
929 transition from EXPIRED to FREE.
930
931- Fix some broken failover state transitions.
932
933- Documentation fixes.
934
935- Take out an unnecessary check in DHCP relay agent information option
936 stashing code that was preventing REBINDING clients from rebinding.
937
938- Prevent failover peers from allocating leases in DHCPREQUEST
939 processing if the lease belongs to the other server.
940
941- Record server version in lease file introductory comment.
942
943- Correctly report connection errors in OMAPI and failover.
944
945- Make authentication signature algorithm name comparisons in OMAPI
946 case-insensitive.
947
948- Fix compile problem on SunOS 4.x
949
98311e4b 950- If a signature algorithm is not terminated with '.', terminate it so
eaf0b302
TL
951 that comparisons between fully-qualified names will work
952 consistently.
953
954- Different SIOCGIFCONF probe code, may "fix" problem on some Linux
955 systems with the probe not working correctly.
956
957- Don't allow user to type omapi key on command line of omshell.
958
0596b051
TL
959 Changes since 3.0 Release Candidate 3
960
961- Do lease billing on startup in a way that I *think* will finally do
962 the billing correctly - the previous method could overbill as a
963 result of duplicate leases.
964
965- Document OMAPI server objects.
966
892fe689
TL
967 Changes since 3.0 Release Candidate 2 Patchlevel 1
968
969- Fix some problems in the DDNS update code. Thanks to Albert
970 Herranz for figuring out the main problem.
971
972- Fix some reference counting errors on host entries that were causing
973 core dumps.
974
975- Fix a byte-swap bug in the token ring code, thanks to Jochen
976 Friedrich.
977
978- Fix a bug in lease billing, thanks to Jonas Bulow.
979
980 Changes since 3.0 Release Candidate 2
981
982- Change the conditions under which a DHCPRELEASE is actually
983 committed to be consistent with lease binding states rather than
98311e4b 984 using the lease end time. This may fix some problems with the
892fe689
TL
985 billing class code.
986
987- Fix a bug where lease updates would fail on Digital Unix (and maybe
988 others) because malloc was called with a size of zero.
989
990- Fix a core dump that happens when the DHCP server can't create its
991 trace file.
992
79ea3de8 993 Changes since 3.0 Release Candidate 1 Patchlevel 1
87784777 994
79ea3de8
TL
995- Fix the dhcp_failover_put_message to not attempt to allocate a
996 zero-length buffer. Some versions of malloc() fail if you try to
997 allocate a zero-length buffer, and this was causing problems on,
998 e.g., Digital Unix.
999
1000- Fix a case where the failover code was printing an error message
1001 when no error had occurred.
1002
1003- Fix a problem where when a server went down and back up again, the
1004 peer would not see a state transition and so would stay in the
1005 non-communicating state.
1006
1007- Be smart about going into recover_wait.
1008
1009- Fix a problem in the failover implementation where peers would fail
1010 to come into sync if interrupted in the RECOVER state. This could
1011 have been the cause of some problems people have reported recently.
1012
1013- Fix a problem with billing classes where they would not be unbilled
1014 when the client lease expired.
1015
1016- If select fails, figure out which descriptor is bad, and cut it out
1017 of the I/O loop. This prevents a potentially nasty spin. I
1018 haven't heard any report it in a while, but it came up consistently
1019 in testing.
1020
1021- Fix a bug in the relay agent where if you specified interfaces on
1022 the command line, it would fail.
1023
1024- Fix a couple of small bugs in the omapi connection object (no known
1025 user impact).
1026
1027- Add the missing 3.0 Beta 1 lease conversion script.
1028
1029- Read dhcp client script hooks if they exist, rather than only if
1030 they're executable.
1031
1032 Changes since 3.0 Release Candidate 1
87784777
TL
1033
1034- Fix a memory smash that happens when fixed-address leases are used.
1035 ANY SITE AT WHICH FIXED-ADDRESS STATEMENTS ARE BEING USED SHOULD
1036 UPGRADE IMMEDIATELY. This has been a long-standing bug - thanks to
1037 Alvise Nobile for discovering it and helping me to find it!
1038
79ea3de8
TL
1039- Fix a small bug in binary-to-ascii, thanks to H. Peter Anvin of
1040 Transmeta.
1041
87784777
TL
1042- There is a known problem with the DHCP server doing failover on
1043 Compaq Alpha systems. This patchlevel is not a release candidate
1044 because of this bug. The bug should be straightforward to fix, so
1045 a new release candidate is expected shortly.
1046
1047- There is a known problem in the DDNS update code that is probably a
1048 bug, and is not, as far as we know, fixed in this patchlevel.
1049
6d779c72
TL
1050 Changes since 3.0 Beta 2 Patchlevel 24
1051
1052- Went over problematic failover state transitions and made them all
1053 work, so that failover should now much less fragile.
1054
1055- Add some dhcpctl and omapi documentation
1056
1057- Fix compile errors when compiling with unusual predefines.
1058
1059- Make Token Ring work on Linux 2.4
1060
1061- Fix the Digital Unix BPF_WORDALIGN bug.
1062
1063- Fix some dhcp client documentation errors.
1064
1065- Update some parts of the README file.
1066
1067- Support GCC on SCO.
1068
de57e64b
TL
1069 Changes since 3.0 Beta 2 Patchlevel 23
1070
1071- Fix a bug in the DNS update code where a status code was not being
1072 checked. This may have been causing core dumps.
1073
1074- When parsing the lease file, if a lease declaration includes a
1075 billing class statement, and the lease already has a billing class,
1076 unbill the old class.
1077
1078- When processing failover transactions, where acks will be deferred,
1079 process the state transition immediately.
1080
1081- Don't try to use the new SIOCGIFCONF buffer size detection code on
1082 Linux 2.0, which doesn't provide this functionality.
1083
1084- Apply a patch suggested by Tuan Uong for a problem in dlpi.c.
1085
1086- Fix a problem in using the which command in the configure script.
1087
1088- Fix a parse error in the client when setting up an omapi listener.
1089
1090- Document the -n and -g flags to the client.
1091
1092- Make sure there is always a stdin and stdout on startup. This
1093 prevents shell scripts from accidentally writing error messages into
1094 configuration files that happen to be opened as stderr.
1095
1096- If an interface is removed, the client will now notice that it is
1097 gone rather than spinning. This has only been tested on NetBSD.
1098
1099- The client will attempt to get an address even if it can't create a
1100 lease file.
1101
1102- Don't overwrite tracefiles.
1103
1104- Fix some memory allocation bugs in failover.
2aa36519 1105
140158d3
TL
1106 Changes since 3.0 Beta 2 Patchlevel 22
1107
1108- Apply some patches suggested by Cyrille Lefevre, who is maintaining
1109 the FreeBSD ISC DHCP Distribution port.
1110
1111- Fix a core dump in DHCPRELEASE.
1112
3a395e60
TL
1113 Changes since 3.0 Beta 2 Patchlevel 21
1114
1115- This time for sure: fix the spin described in the changes for pl20.
1116
fc74dd0c
TL
1117 Changes since 3.0 Beta 2 Patchlevel 20
1118
1119- Fix a problem with Linux detecting large numbers of interfaces (Ben)
1120
1121- Fix a memory smash in the quotify code, which was introduced in
1122 pl19.
1123
1124- Actually fix the spin described in the changes for pl20. The
1125 previous fix only partially fixed the problem - enough to get it
1126 past the regression test.
1127
ed5ee591
TL
1128 Changes since 3.0 Beta 2 Patchlevel 19
1129
1130- Fix a bug that could cause the server to abort if compiled with
1131 POINTER_DEBUG enabled.
1132
1133- Fix a bug that could cause the server to spin when responding to a
1134 DHCPREQUEST.
1135
1136- Apply Joost Mulders' suggested patches for DLPI on x86.
1137
1138- Support NUL characters in quoted strings.
1139
1140- Install unformatted man pages on SunOS.
1141
b3fad8ac
TL
1142 Changes since 3.0 Beta 2 Patchlevel 18
1143
3350f5b7
TL
1144- Allow the server to be placed in partner-down state using OMAPI.
1145 (Damien Neil)
1146
1147- Implement omshell, which can be used to do arbitrary things to the
1148 server (in theory). (Damien Neil)
1149
1150- Fix a case where if a client had two different leases the server could
1151 actually dereference the second one when it hadn't been referenced,
1152 leading to memory corruption and a core dump. (James Brister)
1153
1154- Fix a case where a client could request the address of another client's
1155 lease, but find_lease wouldn't detect that the other client had it, and
1156 would attempt to allocate it to the client, resulting in a lease conflict
1157 message.
1158
1159- Fix a case where a client with more than one client identifier could be
1160 given a lease where the hardware address was correct but the client
1161 identifier was not, resulting in a lease conflict message.
1162
98311e4b 1163- Fix a problem where the server could write out a colon-separated
3350f5b7
TL
1164 hex list as a value for a variable, which would then not parse.
1165 The fix is to always write strings as quoted strings, with any
1166 non-printable characters quoted as octal escape sequences. So
1167 a file written the old way still won't work, but new files written
1168 this way will work.
1169
b3fad8ac
TL
1170- Fix documentation for sending non-standard options.
1171
1172- Use unparsable names for unknown options. WARNING: this will
1173 break any configuration files that use the option-nnn convention.
1174 If you want to continue to use this convention for some options,
1175 please be sure to write a definition, like this:
1176
1177 option option-nnn code nnn = string;
1178
1179 You can use a descriptive name instead of option-nnn if you like.
1180
1181- Fix a problem where we would see a DHCPDISCOVER/DHCPOFFER/
1182 DHCPREQUEST/DHCPACK/DHCPREQUEST/DHCPNAK sequence. This was the
1183 result of a deceptively silly bug in supersede_lease.
1184
1185- Fix client script exit status check, according to a fix supplied by
1186 Hermann Lauer.
1187
1188- Fix an endianness bug in the tracefile support, regarding ICMP
1189 messages.
1190
3350f5b7
TL
1191- Fix a bug in the client where the medium would not work correctly if
1192 it contained quoted strings.
1193
b3fad8ac
TL
1194 ** there was no pl17 **
1195
e6d30fd6
TL
1196 Changes since 3.0 Beta 2 Patchlevel 16
1197
6da9db9d
TL
1198- Add support for transaction tracing. This allows the state of the
1199 DHCP server on startup, and all the subsequent transactions, to be
1200 recorded in a file which can then be played back to reproduce the
1201 behaviour of the DHCP server. This can be used to quickly
1202 reproduce bugs that cause core dumps or corruption, and also for
1203 tracking down memory leaks.
1204
1205- Incorporate some bug fixes provided by Joost Mulders for the DLPI
1206 package which should clear up problems people have been seeing on
1207 Solaris.
1208
1209- Fix bugs in the handling of options stored as linked lists (agent
1210 options, fqdn options and nwip options) that could cause memory
1211 corruption and core dumps.
1212
1213- Fix a bug in DHCPREQUEST handling that resulted in DHCPNAK messages
1214 not being send in some cases when they were needed.
1215
1216- Make the lease structure somewhat more compact.
1217
1218- Make initial failover startup *much* faster. This was researched
1219 and implemented by Damien Neil.
1220
1221- Add a --version flag to all executables, which prints the program
1222 name and version to standard output.
1223
1224- Don't rewrite the lease file every thousand leases.
1225
e6d30fd6
TL
1226- A bug in nit.c for older SunOS machines was fixed by a patch sent in
1227 by Takeshi Hagiwara.
1228
6da9db9d
TL
1229- Fix a memory corruption bug in the DHCP client.
1230
1231- Lots of documentation updates.
1232
1233- Add a feature allowing environment variables to be passed to the
1234 DHCP client script on the DHCP client command line.
1235
1236- Fix client medium support, which had been broken for some time.
1237
1238- Fix a bug in the DHCP client initial startup backoff interval, which
1239 would cause two DHCPDISCOVERS to be sent back-to-back on startup.
1240
1241
af49fdff
TL
1242 Changes since 3.0 Beta 2 Patchlevel 15
1243
1244- Some documentation tweaks.
1245
1246- Maybe fix a problem in the DLPI code.
1247
1248- Fix some error code space inconsistencies in ddns update code.
1249
1250- Support relay agents that intercept unicast DHCP messages to stuff
1251 agent options into them.
1252
1253- Fix a small memory leak in the relay agent option support code.
1254
c5b569f8
TL
1255- Fix a core dump that would occur if a packet was sent with no
1256 options.
1257
754ae3e9
TL
1258 Changes since 3.0 Beta 2 Patchlevel 14
1259
1260- Finish fixing a long-standing bug in the agent options code. This
1261 was causing core dumps and failing to operate correctly - in
1262 particular, agent option stashing wasn't working. Agent option
1263 stashing should now be working, meaning that agent options can be
1264 used in class statements to control address allocation.
1265
1266- Fix up documentation.
1267
1268- Fix a couple of small memory leaks that would have added up
1269 significantly in a high-demand situation.
1270
1271- Add a log-facility configuration parameter.
1272
1273- Fix a compile error on some older operating systems.
1274
1275- Add the ability in the client to execute certain statements before
1276 transmitting packets to the server. Handy for debugging; not much
1277 practical use otherwise.
1278
1279- Don't send faked-out giaddr when renewing or bound - again, useful
1280 for debugging.
1281
2f2e7960
TL
1282 Changes since 3.0 Beta 2 Patchlevel 13
1283
1284- Fixed a problem where the fqdn decoder would sometimes try to store
1285 an option with an (unsigned) negative length, resulting in a core
1286 dump on some systems.
1287
1288- Work around the Win98 DHCP client, which NUL-terminates the FQDN
1289 option.
1290
1291- Work around Win98 and Win2k clients that will claim they want to do
1292 the update even when they don't have any way to do it.
1293
1294- Fix some log messages that can be printed when failover is operating
1295 that were not printing enough information.
1296
1297- It was possible for a DHCPDISCOVER to get an allocation even when
1298 the state machine said the server shouldn't be responding.
1299
1300- Don't load balance DHCPREQUESTs from clients in RENEWING and
1301 REBINDING, since in RENEWING, if we heard it, it's for us, and in
1302 REBINDING, the client wouldn't have got to REBINDING if its primary
1303 were answering.
1304
1305- When we get a bogus state lease binding state transition, don't do
1306 the transition.
1307
1308
66e98927
TL
1309 Changes since 3.0 Beta 2 Patchlevel 12
1310
1311- Fixed a couple of silly compile errors.
1312
a1e2e3d6
TL
1313 Changes since 3.0 Beta 2 Patchlevel 11
1314
1315- Albert Herranz tracked down and fixed a subtle bug in the base64
1316 decoder that would prevent any key with an 'x' in its base64
1317 representation from working correctly.
1318
1319- Thanks to Chris Cheney and Michael Sanders, we have a fix for the
1320 hang that they both spotted in the DHCP server - when
1321 one-lease-per-client was set, the code to release the "other" lease
1322 could spin.
1323
1324- Fix a problem with alignment of the input buffer in bpf in cases
1325 where two packets arrive in the same bpf read.
1326
1327- Fix a problem where the relay agent would crash if you specified an
1328 interface name on the command line.
1329
1330- Add the ability to conditionalize client behaviour based on the
1331 client state.
1332
1333- Add support for the FQDN option, and added support for a new way of
1334 doing ddns updates (ddns update style interim) that allows more than
1335 one DHCP server to update the DNS for the same network(s). This
1336 was implemented by Damien Neil with some additional functionality
1337 added by Ted Lemon.
1338
1339- Damien added a "log" statement, so that the configuration file can
1340 be made to log debugging information and other information.
1341
1342- Fixed a bug that caused option buffers not to be terminated with an
1343 end option.
1344
1345- Fixed a long-standing bug in the support for option spaces where the
1346 options are stored as an ordered list rather than in a hash table,
1347 which could theoretically result in memory pool corruption.
1348
1349- Prevent hardware declarations with no actual hardware address from
1350 being written as something unparsable, and behave correctly in the
1351 face of a null hardware address on input.
1352
1353- Allow key names to be FQDNs, and qualify the algorithm name if it is
1354 specified unqualified.
1355
1356- Modify the DDNS update code so that it never prints the "resolver
1357 failed" message, but instead says *why* the resolver failed.
1358
1359- Officially support the subnet selection option, which now has an
1360 RFC.
1361
1362- Fix a build bug on MacOS X.
1363
1364- Allow administrator to disable ping checking.
1365
1366- Clean up dhcpd.conf documentation and add more information about how
1367 it works.
1368
6c68ec36
TL
1369 Changes since 3.0 Beta 2 Patchlevel 10
1370
1371- Fix a bug introduced during debugging (!) and accidentally committed
1372 to CVS.
1373
9fd337e7
TL
1374 Changes since 3.0 Beta 2 Patchlevel 9
1375
1376- Fix DHCP client handling of vendor encapsulated options.
1377
1378- Fix a bug in the handling of relay agent information options introduced
1379 in patchlevel 9.
1380
1381- Stash agent options on client leases by default, and use the stashed
1382 options at renewal time.
1383
1384- Add the ability to test the client's binding state in the client
1385 configuration language.
1386
1387- Fix a core dump in the DNS update code.
1388
1389- Fix some expression evaluation bugs that were causing updates to be
1390 done when no client hostname was received.
1391
1392- Fix expression evaluation debugging printfs.
1393
1394- Teach pretty_print_option to print options in option spaces other than
1395 the DHCP option space.
1396
1397- Add a warning message if the RHS of a not is not boolean.
1398
1399- Never select for more than a day, because some implementations of
1400 select will just fail if the timeout is too long (!).
1401
1402- Fix a case where a DHCPDISCOVER from an unknown network would be
1403 silently dropped.
1404
1405- Fix a bug where if a client requested an IP address for which a different
1406 client had the lease, the DHCP server would reallocate it anyway.
1407
1408- Fix the DNS update code so that if the client changes its name, the DNS
1409 will be correctly updated.
1410
3922772a
TL
1411 Changes since 3.0 Beta 2 Patchlevel 8
1412
1413- Oops, there was another subtle math error in the header-length
1414 bounds-checking.
1415
1416 Changes since 3.0 Beta 2 Patchlevel 7
848c2547
TL
1417
1418- Oops, forgot to byte-swap udp header length before bounds-checking it.
1419
3922772a 1420 Changes since 3.0 Beta 2 Patchlevel 6
0f6045f8 1421
f8572308
TL
1422- Fix a possible DoS attack where a client could cause the checksummer
1423 to dump core. This was a read, not a write, so it shouldn't be
1424 possible to exploit it any further than that.
1425
1426- Implement client- and server-side support for using the Client FQDN
1427 option.
1428
1429- Support for other option spaces in the client has been added. This
1430 means that it is now possible to define a vendor option space on the
1431 client, request options in that space from the server (which must
1432 define the same option space), and then use those options in the
1433 client. This also allows NWIP and Client FQDN options to be used
1434 meaningfully.
1435
1436- Add object initializer support. This means that objects can now be
1437 initialized to something other than all-zeros when allocated, which
1438 makes, e.g., the interface object support code a little more robust.
1439
1440- Fix an off-by-one bug in the host stuffer. This was causing host
1441 deletes not the work, and may also have been causing OMAPI
1442 connections to get dropped. Thanks to James Brister for tracking
1443 this one down!
1444
1445- Fixed a core dump in the interface discovery code that is triggered
1446 when there is no subnet declaration for an interface, but the server
1447 decides to continue running. Thanks to Shane Kerr for tracking
1448 down and fixing this problem.
1449
1450 Changes since 3.0 Beta 2 Patchlevel 5
1451
0f6045f8
TL
1452- Fix a bug in the recent enhancement to the interface discovery code
1453 to support arbitrary-length interface lists.
1454
1455- Support NUL-terminated DHCP options when initializing client-script
1456 environment.
1457
1458- Fix suffix operator.
1459
1460- Fix NetWare/IP option parsing.
1461
1462- Better error/status checking in dhcpctl initialization and omapi
1463 connection code.
1464
1465- Fix a potential memory smash in dhcpctl code.
1466
1467- Fix SunOS4 and (maybe) Ultrix builds.
1468
1469- Fix a bug where a certain sort of incoming packet could cause a core
1470 dump on Solaris (and probably elsewhere).
1471
1472- Add some more safety checks in error logging code.
1473
1474- Add support for ISC_R_INCOMPLETE in OMAPI protocol connection code.
1475
1476- Fix relay agent so that if an interface is specified on the command
1477 line, the relay agent does not dump core.
1478
1479- Fix class matching so that match if can be combined with match or
1480 spawn with.
1481
1482- Do not allow spurious leases in the lease database to introduce
1483 potentially bogus leases into the in-memory database.
1484
1485- Fix a byte-order problem in the client hardware address type code
1486 for OMAPI.
1487
1488- Be slightly less picky about what sort of hardware addresses OMAPI
1489 can install in host declarations.
1490
801de092
TL
1491 Changes since 3.0 Beta 2 Patchlevel 4
1492
1493- Incorporated Peter Marschall's proposed change to array/record
1494 parsing, which allows things like the slp-agent option to be encoded
1495 correctly. Thanks very much to Peter for taking the initiative to
1496 do this, and for doing such a careful job of it (e.g., updating the
1497 comments)!
1498
1499- Added an encoding for the slp-agent option. :')
1500
6ed7a93d
TL
1501- Fixed SunOS 4 build. Thanks to Robert Elz for responding to my
1502 request for help on this with patches!
1503
1504- Incorporated a change that should fix a problem reported by Philippe
1505 Jumelle where when the network connection between two servers is
1506 lost, they never reconnect.
1507
1508- Fix client script files other than that for NetBSD to actually use
1509 make_resolv_conf as documented in the manual page.
1510
1511- Fix a bug in the packet handling code that could result in a core
1512 dump.
1513
1514- Fix a bug in the bootp code where responses on the local net would
1515 be sent to the wrong MAC address. Thanks to Jerry Schave for
1516 catching this one.
1517
490eb5e7
TL
1518 Changes since 3.0 Beta 2 Patchlevel 3
1519
1520- In the DHCP client, execute client statements prior to using the values
1521 of options, so that the client configuration can overried, e.g., the
1522 lease renewal time.
1523
1524- Fix a reference counting error that would result in very reproducible
1525 failures in updates, as well as occasional core dumps, if a zone was
1526 declared without a key.
1527
1528- Fix some Linux 2.0 compilation problems.
1529
1530- Fix a bug in scope evaluation during execution of "on" statements that
1531 caused values not to be recorded on leases.
1532
1533- If the dhcp-max-message-size option is specified in scope, and the
1534 client didn't send this option, use the one specified in scope to
1535 determine the maximum size of the response.
1536
592d8153
TL
1537 Changes since 3.0 Beta 2 Patchlevel 2
1538
359b023e
TL
1539- Fix a case where spawning subclasses were being allocated
1540 incorrectly, resulting in a core dump.
1541
592d8153
TL
1542- Fix a case where the DHCP server might inappropriately NAK a
1543 RENEWING client.
1544
1545- Fix a place dhcprequest() where static leases could leak.
1546
1547- Include memory.h in omapip_p.h so that we don't get warnings about
1548 using memcmp().
1549
2aa36519
TL
1550 Changes since 3.0 Beta 2 Patchlevel 1
1551
1552- Notice when SIOCFIGCONF returns more data than fit in the buffer -
1553 allocate a larger buffer, and retry. Thanks to Greg Fausak for
1554 pointing this out.
1555
1556- In the server, if no interfaces were configured, report an error and
1557 exit.
1558
1559- Don't ever record a state of 'startup'.
1560
1561- Don't try to evaluate the local failover binding address if none was
1562 specified. Thanks to Joseph Breu for finding this.