1
by Andrew Pollock
Import upstream version 4.1.0 |
1 |
Internet Systems Consortium DHCP Distribution |
1.1.2
by Andrew Pollock
Import upstream version 4.1.1-P1 |
2 |
Version 4.1.1-P1 |
3 |
17 May 2010 |
|
1
by Andrew Pollock
Import upstream version 4.1.0 |
4 |
|
5 |
Release Notes |
|
6 |
||
7 |
NEW FEATURES |
|
8 |
||
9 |
ISC DHCP 4.1.x includes several new DHCPv6 features that were not included |
|
10 |
in DHCP 4.0.x. These include: |
|
11 |
||
12 |
- Support for the rapid-commit option on the client side |
|
13 |
||
14 |
- Prefix Delegation support |
|
15 |
||
16 |
- IA_TA address support |
|
17 |
||
18 |
- A basic DHCPv6 relay agent |
|
19 |
||
20 |
- Basic and partial DHCPv6 leasequery support |
|
21 |
||
22 |
There are a number of DHCPv6 limitations and features missing in this |
|
23 |
release, which will be addressed in the future: |
|
24 |
||
25 |
- Only Solaris, Linux, FreeBSD, NetBSD, and OpenBSD are supported. |
|
26 |
||
27 |
- Only a single address is supported per IA. |
|
28 |
||
29 |
- DHCPv6 includes human-readable text in status code messages. These |
|
30 |
should be configurable, and probably localized via gettext() or the |
|
31 |
like. |
|
32 |
||
33 |
- The "host-identifier" option is limited to a simple token. |
|
34 |
||
35 |
- The client and server can only operate DHCPv4 or DHCPv6 at a time, |
|
36 |
not both. To use both protocols simultaneously, two instances of the |
|
37 |
relevant daemon are required, one with the '-6' command line option. |
|
38 |
||
39 |
For information on how to install, configure and run this software, as |
|
40 |
well as how to find documentation and report bugs, please consult the |
|
41 |
README file. |
|
42 |
||
43 |
ISC DHCP uses standard GNU configure for installation. Please review the |
|
44 |
output of "./configure --help" to see what options are available. |
|
45 |
||
46 |
The system has only been tested on Linux, FreeBSD, and Solaris, and may not |
|
47 |
work on other platforms. Please report any problems and suggested fixes to |
|
48 |
<dhcp-users@isc.org>. |
|
49 |
||
1.1.2
by Andrew Pollock
Import upstream version 4.1.1-P1 |
50 |
Changes since 4.1.1 |
51 |
||
52 |
- A bug was fixed that could cause the DHCPv6 server to advertise/assign a |
|
53 |
previously allocated (active) lease to a client that has changed subnets, |
|
54 |
despite being on different shared networks. Dynamic prefixes specifically |
|
55 |
allocated in shared networks also now are not offered if the client has |
|
56 |
moved. [ISC-Bugs #21152] |
|
57 |
||
58 |
! Accept a client id of length 0 while hashing. Previously the server would |
|
59 |
exit if it attempted to hash a zero length client id, providing attackers |
|
60 |
with a simple denial of service attack. [ISC-Bugs #21253] |
|
1.1.1
by Andrew Pollock
Import upstream version 4.1.1 |
61 |
|
62 |
Changes since 4.1.1rc1 |
|
63 |
||
64 |
- When using 'ignore client-updates;', the FQDN returned to the client |
|
65 |
is no longer truncated to one octet. |
|
66 |
||
67 |
Changes since 4.1.1b3 |
|
68 |
||
69 |
- None. |
|
70 |
||
71 |
Changes since 4.1.1b2 |
|
72 |
||
73 |
- Fix test in dhcp_interface_signal_handler to check that the inner handler |
|
74 |
has a signal_handler before calling it. |
|
75 |
||
76 |
- Both host and subnet6 configuration groups are now included whether a |
|
77 |
fixed-address6 (DHCPv6) is in use or not. Host scoped configuration takes |
|
78 |
precedence. This fixes two bugs, one where host scoped configuration |
|
79 |
would not be included from a non-fixed-address6 host record, and the equal |
|
80 |
and opposite bug where subnet6 scoped configuration would not be used when |
|
81 |
over-riding values were not present in a matching fixed-address6 host |
|
82 |
configuration. |
|
83 |
||
84 |
- ./configure now checks to ensure the intX_t and u_intX_t types are defined, |
|
85 |
correcting a compilation failure when using Sun's compiler. |
|
86 |
||
87 |
- Modified the handling of a connection to avoid releasing the omapi io
|
|
88 |
object for the connection while it is still in use. One symptom from
|
|
89 |
this error was a segfault when a failover secondary attempted to connect
|
|
90 |
to the failover primary if their clocks were not synchronized.
|
|
91 |
||
92 |
Changes since 4.1.1b1
|
|
93 |
||
94 |
- Remove infinite loop in token_print_indent_concat().
|
|
95 |
||
96 |
- Memory leak in the load_balance_mine() function is fixed. This would
|
|
97 |
leak ~20-30 octets per DHCPDISCOVER packet while failover was in use
|
|
98 |
and in normal state.
|
|
99 |
||
100 |
- Various compilation fixes have been included for the memory related
|
|
101 |
DEBUG #defines in includes/site.h.
|
|
102 |
||
103 |
- Fixed Linux client script 'unary operator expected' errors with DHCPv6. |
|
104 |
||
105 |
- Fixed setting hostname in Linux hosts that require hostname argument
|
|
106 |
to be double-quoted. Also allow server-provided hostname to
|
|
107 |
override hostnames 'localhost' and '(none)'. |
|
108 |
||
109 |
- Added client support for setting interface MTU and metric, thanks to
|
|
110 |
Roy "UberLord" Marples <roy@marples.name>.
|
|
111 |
||
112 |
- Fixed failover reconnection retry code to continue to retry to reconnect
|
|
113 |
rather than restarting the listener.
|
|
114 |
||
115 |
- Compilation on Solaris with USE_SOCKETS defined in includes/site.h has
|
|
116 |
been repaired. Other USE_ overrides should work better.
|
|
117 |
||
118 |
- A check for the local flavor of IFNAMSIZ had a broken 'else' condition, |
|
119 |
that probably still resulted in the correct behaviour (but wouldn't use |
|
120 |
a larger defined value provided by the host OS). |
|
121 |
||
122 |
- Fixed a bug where an OMAPI socket disconnection message would not result |
|
123 |
in scheduling a failover reconnection, if the link had not negotiated a |
|
124 |
failover connect yet (e.g.: connection refused, asynch socket connect() |
|
125 |
timeouts). |
|
126 |
||
127 |
- A bug was fixed that caused the 'conflict-done' state to fail to be parsed |
|
128 |
in failover state records. |
|
129 |
||
130 |
! A stack overflow vulnerability was fixed in dhclient that could allow |
|
131 |
remote attackers to execute arbitrary commands as root on the system, |
|
132 |
or simply terminate the client, by providing an over-long subnet-mask |
|
133 |
option. CERT VU#410676 - CVE-2009-0692 |
|
134 |
||
135 |
- Versions 3.0.x syntax with multiple name->code option definitions is now |
|
136 |
supported. Note that, similarly to 3.0.x, for by-code lookups only the |
|
137 |
last option definition is used. |
|
138 |
||
139 |
- Fixed a bug where a time difference of greater than 60 seconds between a |
|
140 |
failover pair could cause the primary to crash on contact with the |
|
141 |
secondary. Thanks to a patch from Steinar Haug. |
|
142 |
||
143 |
- Don't look for IPv6 interfaces on Linux when running in DHCPv4 mode. |
|
144 |
Thanks to patches from Matthew Newton and David Cantrell.
|
|
145 |
||
146 |
- Secondary servers in a failover pair will now perform ddns removals if
|
|
147 |
they had performed ddns updates on a lease that is expiring, or was
|
|
148 |
released through the primary. As part of the same fix, stale binding scopes
|
|
149 |
will now be removed if a change in identity of a lease's active client is |
|
150 |
detected, rather than simply if a lease is noticed to have expired (which it |
|
151 |
may have expired without a failover server noticing in some situations). |
|
152 |
||
153 |
- A patch supplied by David Cantrell at RedHat was applied that detects |
|
154 |
invalid calling parameters given to the ns_name_ntop() function. |
|
155 |
Specifically, it detects if the caller passed a pointer and size pair |
|
156 |
that causes the pointer to integer-wrap past zero. |
|
157 |
||
158 |
! Fixed a fenceposting bug when a client had two host records configured, |
|
159 |
one using 'uid' and the other using 'hardware ethernet'. CVE-2009-1892 |
|
160 |
||
161 |
Changes since 4.1.0 |
|
162 |
||
163 |
- Validate the argument to the -p option. |
|
164 |
||
165 |
- The notorious 'option <unknown> ... larger than buffer' log line, |
|
166 |
which is seen in some malformed DHCP client packets, was modified. |
|
167 |
It now logs the universe name, and does not log the length values |
|
168 |
(which are bogus corruption read from the packet anyway). It also |
|
169 |
carries a hopefully more useful explanation. |
|
170 |
||
171 |
- A bug was fixed that caused the server not to answer some valid Solicit |
|
172 |
and Request packets, if the dynamic range covering any requested addresses |
|
173 |
had been deleted from configuration. |
|
174 |
||
175 |
- Suppress spurious warnings from configure about --datarootdir |
|
176 |
||
177 |
- Update the code to deal with GCC 4.3. This included two sets of changes. |
|
178 |
The first is to the configuration files to include the use of |
|
179 |
AC_USE_SYSTEM_EXTENSIONS. The second is to deal with return values that |
|
180 |
were being ignored. |
|
181 |
||
182 |
- The db-time-format option was documented in manpages. |
|
183 |
||
184 |
- Using reserved leases no longer results in 'lease with binding state |
|
185 |
free not on its queue' error messages, thanks to a patch from Frode |
|
186 |
Nordahl. |
|
187 |
||
188 |
- DDNS removal routines were updated so that the DHCID is not removed until |
|
189 |
the client has been deprived of all A and AAAA records (not only the last |
|
190 |
one of either of those). This resolves a bug where dual stack clients |
|
191 |
would not be able to regain their names after either expiration event. |
|
192 |
||
193 |
- Fix a build error in dhcrelay, using older versions of gcc with |
|
194 |
dhcpv6 disabled. |
|
195 |
||
196 |
- Two uninitialized stack structures are now memset to zero, thanks to |
|
197 |
patch from David Cantrell at Red Hat. |
|
198 |
||
199 |
- Fixed a cosmetic bug where pretty-printing valid domain-search options would |
|
200 |
result in an erroneous error log message ('garbage in format string'). |
|
201 |
||
202 |
- A bug in DLPI packet transmission (Solaris, HP/UX) that caused the server |
|
203 |
to stop receiving packets is fixed. The same fix also means that the MAC |
|
204 |
address will no longer appear 'bogus' on DLPI-based systems. |
|
205 |
||
206 |
- A bug in select handling was discovered where the results of one select() |
|
207 |
call were discarded, causing the server to process the next select() call |
|
208 |
and use more system calls than required. This has been repaired - the |
|
209 |
sockets will be handled after the first return from select(), resulting in |
|
210 |
fewer system calls. |
|
211 |
||
212 |
- The update-conflict-detection feature would leave an FQDN updated without |
|
213 |
a DHCID (still currently implemented as a TXT RR). This would cause later |
|
214 |
expiration or release events to fail to remove the domain name. The feature |
|
215 |
now also inserts the client's up to date DHCID record, so records may safely |
|
216 |
be removed at expiration or release time. Thanks to a patch submitted by
|
|
217 |
Christof Chen.
|
|
218 |
||
1
by Andrew Pollock
Import upstream version 4.1.0 |
219 |
Changes since 4.1.0b1
|
220 |
||
221 |
- A missing "else" in dhcrelay.c could have caused an interface not to
|
|
222 |
be recognized.
|
|
223 |
||
224 |
Changes since 4.1.0a2
|
|
225 |
||
226 |
- A cosmetic bug in DHCPDECLINE processing was fixed which caused all
|
|
227 |
successful DHCPDECLINEs to be logged as "not found" rather than
|
|
228 |
"abandoned".
|
|
229 |
||
230 |
- Added configuration file examples for DHCPv6.
|
|
231 |
||
232 |
- Some failover debugging #defines have been better defined and some
|
|
233 |
high frequency messages moved to a deeper debugging symbol.
|
|
234 |
||
235 |
- The CLTT parameter in failover is now only updated by client activity,
|
|
236 |
and not by failover binding updates (taking on the peer's CLTT). |
|
237 |
||
238 |
- Failover BNDUPD messages are now discarded if they conflict with an |
|
239 |
update that has been transmitted, but not acknowledged. |
|
240 |
||
241 |
- A bug cleaning up unknown-xxx temporary option definitions was fixed. |
|
242 |
||
243 |
- Delayed-ack is now a compile-time option, compiled out by default. |
|
244 |
This feature is simply too experimental for right now, and causes |
|
245 |
some problems to some failover installations. We will revisit this |
|
246 |
in future releases. |
|
247 |
||
248 |
- The !inet_pton() call in res_mkupdrec was adjusted to '<= 0' as |
|
249 |
inet_pton returns either 1, 0, or -1. |
|
250 |
||
251 |
- A dhclient-script for MacOS X has been included, which enables |
|
252 |
'dhclient -6' support. |
|
253 |
||
254 |
Changes since 4.1.0a1 |
|
255 |
||
256 |
- Corrected list of failover state values in dhcpd man page. |
|
257 |
||
258 |
- Fixed a bug that caused some request types to be logged incorrectly. |
|
259 |
||
260 |
- Clients that sent a parameter request list containing the |
|
261 |
routers option before the subnet mask option were receiving |
|
262 |
only the latter. Fixed. |
|
263 |
||
264 |
- The server wasn't always sending the FQDN option when it should. |
|
265 |
||
266 |
- A partner-down failover server no longer emits 'peer holds all free leases' |
|
267 |
if it is able to newly-allocate one of the peer's leases. |
|
268 |
||
269 |
- Fixed a coredump when adding a class via OMAPI. |
|
270 |
||
271 |
- Check whether files are zero length before trying to parse them. |
|
272 |
||
273 |
- Ari Edelkind's PARANOIA patch has been included and may be compiled in |
|
274 |
via two ./configure parameters, --enable-paranoia and
|
|
275 |
--enable-early-chroot.
|
|
276 |
||
277 |
- ./configure was extended to cover many optional build features, such
|
|
278 |
as failover, server tracing, debugging, and the execute() command.
|
|
279 |
||
280 |
- There is now a default 1/4 of a second scheduled delay between delayed
|
|
281 |
fsync()'s, it can be configured by the max-ack-delay configuration |
|
282 |
parameter. |
|
283 |
||
284 |
- A bug was fixed where the length of a hostname was miscalculated, so that |
|
285 |
hosts were given odd-looking domain names ("foo.bar.ba.example.com"). |
|
286 |
||
287 |
- Shared network selection should be done from the innermost relay |
|
288 |
valid link-address field, rather than the outermost. |
|
289 |
||
290 |
- Prefix pools are attached to shared network scopes. |
|
291 |
||
292 |
- Merged IA_XX related structures. |
|
293 |
||
294 |
- Add DHCPv6 files in configure. |
|
295 |
||
296 |
- A memory leak when using omapi has been fixed. |
|
297 |
||
298 |
- DHCPv6 vendor-class options (VSIO) are now only sent when they appear |
|
299 |
on the DHCPv6 ORO. This resolves a bug where VSIO options were placed |
|
300 |
in IA_NA encapsulated options fields. |
|
301 |
||
302 |
- Integrated client with stateless, temporary address and prefix delegation |
|
303 |
support. |
|
304 |
||
305 |
- A double-dereference in dhclient transmission of DHCPDECLINEs was |
|
306 |
repaired. |
|
307 |
||
308 |
- Fix handling of format code 'Z'. |
|
309 |
||
310 |
- Support "-1" argument in DHCPv6. |
|
311 |
||
312 |
- Merge DHCPv6-only "dhcrelay6" into general-purpose "dhcrelay" (use |
|
313 |
"-6" option to select DHCPv6 mode). |
|
314 |
||
315 |
- Fix handling of -A and -a flags in dhcrelay; it was failing to expand |
|
316 |
packet size as needed to add relay agent options. |
|
317 |
||
318 |
- A bug in subnet6 parsing where options contained in subnet6 clauses would |
|
319 |
not be applied to clients addressed within that network was repaired. |
|
320 |
||
321 |
- When configuring a "subnet {}" or "subnet6 {}" without an explicit |
|
322 |
shared-network enclosing it, the DHCP software would synthesize a |
|
323 |
shared-network to contain the subnet. However, all configuration |
|
324 |
parameters within the subnet more intuitively belong "to any client |
|
325 |
on that interface", or rather the synthesized shared-network. So, |
|
326 |
when a shared-network is synthesized, it is used to contain the |
|
327 |
configuration present inside the subnet {} clause. This means that |
|
328 |
the configuration will be valid for all clients on that network, not |
|
329 |
just those addressed out of the stated subnet. If you intended the |
|
330 |
opposite, the workaround is to explicitly configure an empty |
|
331 |
shared-network. |
|
332 |
||
333 |
- A bug was fixed where Information-Request processing was not sourcing |
|
334 |
configured option values. |
|
335 |
||
336 |
- A warning was added since the DHCPv6 processing software does not yet |
|
337 |
support class statements. |
|
338 |
||
339 |
- Compliation warnings on GCC 4.3 relating to bootp source address |
|
340 |
selection were repaired. |
|
341 |
||
342 |
- The v6 BSD socket method was updated to use a single UDP BSD socket |
|
343 |
no matter how many interfaces are involved, differentiating the |
|
344 |
interfaces the packets were received on by the interface index supplied |
|
345 |
by the OS. |
|
346 |
||
347 |
- The relay agent no longer listens to the All DHCP Servers Multicast |
|
348 |
address. |
|
349 |
||
350 |
- A bug was fixed in data_string_sprintfa() where va_start was only called |
|
351 |
once for two invocations of vsprintf() variants. |
|
352 |
||
353 |
- ERO (RFC 4994) server support. |
|
354 |
||
355 |
- Basic and partial DHCPv6 leasequery support. |
|
356 |
||
357 |
- Reliable DHCPv6 release (previous behavior, send release and exit, is |
|
358 |
still available with dhclient -6 -1 -r). |
|
359 |
||
360 |
Changes since 4.0.0 (new features) |
|
361 |
||
362 |
- Added DHCPv6 rapid commit support. |
|
363 |
||
364 |
- Added explicit parser support for zero-length DHCP options, such as |
|
365 |
rapid-commit, via format code 'Z'. |
|
366 |
||
367 |
- It's now possible to update the "ends" field of a lease with OMAPI. |
|
368 |
This is useful if you want not only to release a lease, but also make
|
|
369 |
it available for reuse right away. Hat tip to Christof Chen.
|
|
370 |
||
371 |
- Fixed definition of the iaaddr hash functions to use the correct
|
|
372 |
functions when referencing and dereferencing memory.
|
|
373 |
||
374 |
- Some definitions not in phase with the IANA registry were updated.
|
|
375 |
||
376 |
- Allocated interface IDs are better controlled ('u' bit set to zero, |
|
377 |
reserved IDs avoided).
|
|
378 |
||
379 |
- Unicast options are taken into account only for RENEWs.
|
|
380 |
||
381 |
- NoAddrsAvail answers to SOLICITs are always ADVERTISEs even when a SOLICIT
|
|
382 |
carries a rapid-commit option.
|
|
383 |
||
384 |
- Return in place of raise an impossible condition when one tries to release
|
|
385 |
an empty active lease.
|
|
386 |
||
387 |
- Timer granularity is now 1/100s in the DHCPv6 client.
|
|
388 |
||
389 |
- The dhclient-script was updated to create a host route for the default
|
|
390 |
gateway if the supplied subnet mask for an IPv4 address was a /32. This
|
|
391 |
allows the client to work in 'captive' network environments, where the |
|
392 |
operator does not want clients to crosstalk directly.
|
|
393 |
||
394 |
- MINUS tokens should be parseable again.
|
|
395 |
||
396 |
- Multiple (up to "delayed-ack x;" maximum) DHCPv4 packets are now queued and
|
|
397 |
released in bursts after single fsync() events when the upper limit is
|
|
398 |
reached or if the receiving sockets go dry. The practical upshot is
|
|
399 |
that fsync-coupled server performance is now multiplicitively increased.
|
|
400 |
The default delayed ack limit is 28. Thanks entirely to a patch from
|
|
401 |
Christof Chen.
|
|
402 |
||
403 |
Changes since 4.0.0 (bug fixes)
|
|
404 |
||
405 |
- DHCP now builds on AIX.
|
|
406 |
||
407 |
- Exit with warning when DHCPv6-specific statements are used in the
|
|
408 |
config file but -6 is not specified.
|
|
409 |
||
410 |
- Fixed "--version" flag in dhcrelay
|
|
411 |
||
412 |
- The 'min-secs' configuration parameter's log message has been updated to |
|
413 |
be more helpful. |
|
414 |
||
415 |
- The warning logged when an address range doesn't fit in the subnets |
|
416 |
they were declared has been updated to be more helpful and identify the
|
|
417 |
typo in configuration that created the spanning addresses.
|
|
418 |
||
419 |
- A bug in failover pool rebalancing that caused POOLREQ message ping-pongs
|
|
420 |
was repaired.
|
|
421 |
||
422 |
- A flaw in failover pool rebalancing that could cause POOLREQ messages to
|
|
423 |
be sent outside of the min-balance/max-balance scheduled intervals has
|
|
424 |
been repaired.
|
|
425 |
||
426 |
- A cosmetic bug during potential-conflict recovery that caused the peer's |
|
427 |
'conflict-done' state message to be logged as 'unknown-state' has been |
|
428 |
repaired. It is now logged correctly. |
|
429 |
||
430 |
- A bug was fixed where the 'giaddr' may be used to find the client's subnet |
|
431 |
rather than its own 'ciaddr'. |
|
432 |
||
433 |
- A log message was introduced to clarify the situation where a failover
|
|
434 |
'address' parameter (the server's local address) did not resolve to an |
|
435 |
IPv4 address. |
|
436 |
||
437 |
- The minimum site code value was set to 224 in 3.1.0 to track RFC3942. This |
|
438 |
broke a lot of legacy site local configurations. The new code in place will |
|
439 |
track site local space minimum option codes and logs a warning to encourage |
|
440 |
updates and exploration of site local code migration problems. Option |
|
441 |
codes less than 128 in site local spaces remain inaccessible. |
|
442 |
||
443 |
- A possible relay agent option bug was repaired where random server |
|
444 |
initialization state may have been used to signal the relay agent |
|
445 |
information options sub-option code for the 'END' of the option space. |
|
446 |
||
447 |
- Fixes to allow code to compile and run on Solaris 9. |
|
448 |
||
449 |
- Fixes to allow code to compile on Mac OS X Leopard (10.5). |
|
450 |
||
451 |
- When server is configured with options that it overrides, a warning is |
|
452 |
issued when the configuration file is read, rather than at the time the |
|
453 |
option is overridden. This was important, because the warning was given |
|
454 |
every time the option was overridden, which could create a lot of |
|
455 |
unnecessary logging. |
|
456 |
||
457 |
- Fixed a compilation problems on platforms that define a value for FDDI, |
|
458 |
which conflicts with a dhcp configuration syntax token by the same name. |
|
459 |
||
460 |
- When a failover server suspects it has encountered a peer running a |
|
461 |
version 3.0.x failover server, a warning that the failover wire protocol |
|
462 |
is incompatible is printed. |
|
463 |
||
464 |
- The failover server no longer issues a floating point error if it encounters |
|
465 |
a previously undefined option code. |
|
466 |
||
467 |
- Fix startup error messages to report a missing "subnet6 declaration", rather |
|
468 |
than a missing "subnet declaration", when running as a DHCPv6 server. |
|
469 |
||
470 |
- DHCPv6 client timestamp in DUID was based on the year 1970 rather |
|
471 |
than the year 2000. |
|
472 |
||
473 |
- Warn when attempting to use a hardware parameter in DHCPv6. |
|
474 |
||
475 |
- DHCPv6 released resources are now marked as released by the client. |
|
476 |
||
477 |
- 'Soft' bindings have no more side-effects. |
|
478 |
||
479 |
Changes since 4.0.0b3 |
|
480 |
||
481 |
- The reverse dns name for PTR updates on IPv6 addresses has been fixed to |
|
482 |
use ip6.arpa. rather than default to in-addr.arpa and require user |
|
483 |
configuration. |
|
484 |
||
485 |
- dhc6_lease_destroy() and dhc6_ia_destroy() now set lease and IA pointers |
|
486 |
to NULL after freeing, to prevent subsequent accesses to freed memory. |
|
487 |
||
488 |
- The DHCPv6 server would not send the preference option unless the |
|
489 |
client requested it, via the ORO. This has been fixed, so the DHCPv6 |
|
490 |
server will always send the preference value if it is configured. |
|
491 |
||
492 |
- When addresses were passed as hints to the server in an IA, they were |
|
493 |
incorrectly handled, sometimes being treated as an error. Now the |
|
494 |
server will treat these as hints and ignore them if it cannot supply |
|
495 |
a requested address. |
|
496 |
||
497 |
- If the client had multiple addresses, and one expired (was not renewed |
|
498 |
by the server), the client would continue to attempt to renew the same |
|
499 |
old address over and over. Now, the client will omit any expired |
|
500 |
addresses from future Confirm, Renew, or Rebind messages. |
|
501 |
||
502 |
- dhclient -6 will now select renew/rebind timers based upon the longest |
|
503 |
address expiration time rather than the shortest expiration time, in |
|
504 |
order to avoid cascading renewals in the event a server elects not to |
|
505 |
extend one of multiple IAADDR leases. |
|
506 |
||
507 |
- The server now limits clients that request multiple addresses to one |
|
508 |
address per IA by default, which can be adjusted through the |
|
509 |
"limit-addrs-per-ia" configuration option. |
|
510 |
||
511 |
- The DHCPv6 client now issues fresh transaction IDs on Renew and Rebind |
|
512 |
message exchanges, rather than using the most recent ID. |
|
513 |
||
514 |
- The DHCPv6 server now replies to Information-Request messages. |
|
515 |
||
516 |
- A bug was fixed in the dhclient-script for BSDs to correctly carry error |
|
517 |
codes through some conditions. |
|
518 |
||
519 |
- The parsing of some options in the dhclient lease file, in particular |
|
520 |
the success DHCPv6 status-code, was fixed. |
|
521 |
||
522 |
- A bug was fixed that caused the DHCPv6 ORO option to be corrupted with |
|
523 |
seemingly random values. |
|
524 |
||
525 |
- A reference overleak in DHCPv6 shared network processing was repaired. |
|
526 |
||
527 |
- ./configure now autodetects local database locations rather than trying |
|
528 |
to put dhcpd.leases and dhclient.leases in /usr/local/var/db, which no |
|
529 |
one ever has. |
|
530 |
||
531 |
- Regression fix for bug where server advertised a IPv6 address in |
|
532 |
response to a SOLICIT but would not return the address in response |
|
533 |
to a REQUEST. |
|
534 |
||
535 |
- A bug was fixed where the DHCPv6 server puts the NoAddrsAvail status |
|
536 |
code in the IA_NA was fixed. The status code now appears in the root |
|
537 |
level. |
|
538 |
||
539 |
Changes since 4.0.0b2 |
|
540 |
||
541 |
- Clarified error message when lease limit exceeded |
|
542 |
||
543 |
- Relative time may now be used as a qualifier for 'allow' and 'deny' access |
|
544 |
control lists. These directives may be used to assist in re-addressing |
|
545 |
address pools without having to constantly reconfigure the server. Please |
|
546 |
see 'man dhcpd.conf' for more information on allow/deny 'after time' syntax. |
|
547 |
Thanks to a patch from Christof Chen. |
|
548 |
||
549 |
- The server will now include multiple IA_NA's and multiple IAADDRs within |
|
550 |
them, if advertised by the client. It still only seeks to allocate one
|
|
551 |
new address.
|
|
552 |
||
553 |
Changes since 4.0.0b1
|
|
554 |
||
555 |
- Use different paths for PID and lease files when running in DHCPv4
|
|
556 |
or DHCPv6 mode, so that servers for both protcols can be run
|
|
557 |
simultaneously on a single interface.
|
|
558 |
||
559 |
- Fixed a buffer overflow error which could have allowed a denial
|
|
560 |
of service under unusual server configurations
|
|
561 |
||
562 |
- Eliminated a spurious error message from the client
|
|
563 |
||
564 |
- A number of bugs with the internal handling of lease state on the
|
|
565 |
server have been fixed. Some of these could cause server crashes.
|
|
566 |
||
567 |
- The peer_wants_leases() changes pulled up from 3.1.0 were corrected,
|
|
568 |
'never used' leases will no longer consistently shift between servers |
|
569 |
on every pool rebalance run.
|
|
570 |
||
571 |
- sendmsg()/recvmsg() control buffers are now declared in such a way to
|
|
572 |
ensure they are correctly aligned on all (esp. 64-bit) architectures.
|
|
573 |
||
574 |
- The client leasing subsystem was streamlined and corrected to account
|
|
575 |
more closely for changes in client link attachment selection.
|
|
576 |
||
577 |
Changes since 4.0.0a3
|
|
578 |
||
579 |
- The DHCP server no longer requires a "ddns-update-style" statement,
|
|
580 |
and now defaults to "none", which means DNS updates are disabled.
|
|
581 |
||
582 |
- Log messages when failover peer names mismatch have been improved to
|
|
583 |
point out the problem.
|
|
584 |
||
585 |
- Bug where server advertised a IPv6 address in response to a SOLICIT
|
|
586 |
but would not return the address in response to a REQUEST. Thanks to
|
|
587 |
Dennis Kou for finding the bug.
|
|
588 |
||
589 |
- Fixed an error causing the server to lock up on lease expiration,
|
|
590 |
reported independently by Jothilingam Vasu and Dennis Kou.
|
|
591 |
||
592 |
- Fixed a ./configure bug where compile tests were failing due to
|
|
593 |
"-Werror" (unused variable) rather than the actual test failure. Lead
|
|
594 |
to inconsistent and unworkable auto-configurations.
|
|
595 |
||
596 |
- Compilation with DLPI and -Werror has been repaired.
|
|
597 |
||
598 |
- Error in decoding IA_NA option if multiple interfaces are present
|
|
599 |
fixed by Marcus Goller.
|
|
600 |
||
601 |
- DHCPv6 server Confirm message processing has been enhanced - it no
|
|
602 |
longer replies only to clients with host {} records, it now replies
|
|
603 |
as directed in RFC3315 section 18.2.2 - that is, to all clients
|
|
604 |
regardless of the existence of bindings.
|
|
605 |
||
606 |
- A core dump during expired lease cleanup has been repaired.
|
|
607 |
||
608 |
- DDNS updates state information are now stored in 'binding scopes' that |
|
609 |
follow the leases through their lifecycles. This enables DDNS teardowns
|
|
610 |
on leases that are assigned and expired inbetween a server restart (the
|
|
611 |
state is recovered from dhcpd.leases). Arbitrary user-specified binding
|
|
612 |
scopes ('set var = "value";') are not yet supported. |
|
613 |
||
614 |
- Additional compilation problems on HP/UX have been repaired.
|
|
615 |
||
616 |
Changes since 4.0.0a2
|
|
617 |
||
618 |
- Fix for startup where there are no IPv4 addresses on an interface.
|
|
619 |
Thanks to Marcus Goller for reporting the bug.
|
|
620 |
||
621 |
- Fixed file descriptor leak on listen failure. Thanks to Tom Clark.
|
|
622 |
||
623 |
- Bug in server configuration parser caused server to get stuck on
|
|
624 |
startup for certain bad pool declarations. Thanks to Guillaume
|
|
625 |
Knispel for the bug report and fix.
|
|
626 |
||
627 |
- Code cleaned to remove warnings reported by "gcc -Wall".
|
|
628 |
||
629 |
- DHCPv6 is now the default. You can disable DHCPv6 support using the
|
|
630 |
"--disable-dhcpv6" flag when you run the configure script.
|
|
631 |
||
632 |
- An internal database inconsistency bug was repaired where the server
|
|
633 |
would segfault if a client attempted to renew a lease that had been
|
|
634 |
loaded from persistent storage.
|
|
635 |
||
636 |
- 'request' and 'also request' syntaxes have been added to accommodate |
|
637 |
the DHCPv6 client configuration. 'send dhcp6.oro' is no longer |
|
638 |
necessary.
|
|
639 |
||
640 |
- Bug fixed where configuration file parsing did not work with
|
|
641 |
zero-length options; this made it impossible to set the
|
|
642 |
rapid-commit option.
|
|
643 |
||
644 |
- Bogus messages about host records with IPv4 fixed-addresses being of
|
|
645 |
non-128-bits in length were removed.
|
|
646 |
||
647 |
Changes since 4.0.0a1
|
|
648 |
||
649 |
- Bug in octal parsing fixed. Thanks to Bernd Fuhrmann for the report
|
|
650 |
and fix.
|
|
651 |
||
652 |
- Autoconf now supplies proper flags for Solaris DHCPv6 builds.
|
|
653 |
||
654 |
- Fix for parsing error on some IPv6 addresses.
|
|
655 |
||
656 |
- Invalid CIDR representation for IPv6 subnets or ranges now checked
|
|
657 |
for when loading configuration.
|
|
658 |
||
659 |
- Compilation on HP/UX has been repaired. The changes should generally
|
|
660 |
apply to any architecture that supplies SIOCGLIFCONF but does not
|
|
661 |
use 'struct lifconf' structures to pass values. |
|
662 |
||
663 |
- Two new operators, ~= and ~~, have been integrated to implement
|
|
664 |
boolean matches by regular expression (such as may be used in
|
|
665 |
class matching statements). Thanks to a patch by Alexandr S.
|
|
666 |
Agranovsky, which underwent slight modification.
|
|
667 |
||
668 |
- Fix for icmp packets on 64-bit systems (bug introduced in 4.0).
|
|
669 |
||
670 |
- A bug was fixed in interface discovery wherein an error identifying
|
|
671 |
a server-configured interface with no IPv4 addresses would SEGV.
|
|
672 |
||
673 |
- Fixed a bug in which write_lease() might report a failure incorrectly
|
|
674 |
||
675 |
- Added support for DHCPv6 Release messages
|
|
676 |
||
677 |
- Added -x option to dhclient, which triggers dhclient processes
|
|
678 |
to exit gracefully without releasing leases first
|
|
679 |
||
680 |
- All binaries (client, server, relay) now change directories
|
|
681 |
to / before going into daemon mode, so as not to hold $CWD open
|
|
682 |
||
683 |
- Fixed a bug parsing DHCPv6 client-id's in host-identifier statements |
|
684 |
||
685 |
- Fixed a bug with the 'ddns-updates' boolean server configuration |
|
686 |
parameter, which caused the server to fail. |
|
687 |
||
688 |
Changes since 4.0.0-20070413 |
|
689 |
||
690 |
- Old (expired) leases are now cleaned. |
|
691 |
||
692 |
- IPv6 subnets now have support for arbitrary allocation ranges via |
|
693 |
a new 'range6' configuration directive. |
|
694 |
||
695 |
- An obviated option code hash lookup to find D6O_CLIENTID was removed. |
|
696 |
||
697 |
- Corrected some situations where variables might be used without being |
|
698 |
initialized. |
|
699 |
||
700 |
- Silenced several other compiler warnings. |
|
701 |
||
702 |
- Include the more standard sys/uio.h rather than rely upon other |
|
703 |
header files to include it (fixes a BSD 4.2 compile failure). |
|
704 |
||
705 |
- Duplicate dhclient-script updates for DHCPv6 to all provided scripts. |
|
706 |
||
707 |
- DHCPv4 I/O methods that failed to sense hardware address were corrected. |
|
708 |
||
709 |
- DHCPv4 is now the default (as documented) rather than DHCPv6. The default |
|
710 |
was set to DHCPv6 to facilitate ease early development, and forgotten. |
|
711 |
||
712 |
- Corrected a segmentation violation in DHCPv4 socket processing. |
|
713 |
||
714 |
- dhclient will now fork() into the background once it binds to an |
|
715 |
IPv6 address, or immediately if the -n flag is supplied. |
|
716 |
||
717 |
- -q is now the default behaviour on dhclient, with -d or -v enabling |
|
718 |
non-quiet (stderr logging) mode. |
|
719 |
||
720 |
- Fix documentation of the domain-search atom (quoted, with commas). |
|
721 |
||
722 |
- Document DHCPv6 options presently in the default table. |
|
723 |
||
724 |
- Replaced ./configure shellscripting with GNU Autoconf. |
|
725 |
||
726 |
Changes since 3.1.0 (NEW FEATURES) |
|
727 |
||
728 |
- DHCPv6 Client and Server protocol support. Use '-6' to run the daemons |
|
729 |
as v6-only. Use '-4' to run the daemons as v4-only (default. There is |
|
730 |
no support currently for both. |
|
731 |
||
732 |
- Server support for multiple IA_NA options, containing at most one |
|
733 |
IAADDR option. |
|
734 |
||
735 |
- Client support for one IA_NA option, containing any number of IAADDR |
|
736 |
options. |
|
737 |
||
738 |
- Server support for the DHCPv6 Information-request message. |
|
739 |
||
740 |
- Inappropriate unicast DHCPv6 messages sent to the server are now |
|
741 |
discarded, and this has rearchitected the IO system slightly. |
|
742 |
||
743 |
- The DHCPv6 server DUID defaults to type 1, is persistently stored in |
|
744 |
the leases database, and can be over-ridden (either completely, or by |
|
745 |
specifying type 1 or type 2). |
|
746 |
||
747 |
- The server only uses Rapid-Commit if it has been configured with the |
|
748 |
Rapid-Commit option and the client requests it. |
|
749 |
||
750 |
- DDNS support. We now update AAAA records in the same place we would |
|
751 |
update A records, if we have an IPv6 address. We also generate IP6.ARPA |
|
752 |
style names for PTR records if we're dealing with an IPv6 address. Both |
|
753 |
A and AAAA updates are done using the same 'fqdn.' virtual option space |
|
754 |
(although the DHCPv4 FQDN and DHCPv6 FQDN options are formatted
|
|
755 |
differently, they both use the same code here).
|
|
756 |
||
757 |
- The Linux dhclient-script attempts to set and remove assigned addresses,
|
|
758 |
and to configure /etc/resolv.conf from nameserver and domain name
|
|
759 |
configurations. It can be extended to configure other parameters.
|
|
760 |
||
761 |
- Initial DHCPv6 lease support.
|
|
762 |
||
763 |
- The IO system now tracks all local IP addresses, so that the DHCP
|
|
764 |
applications (particularly the dhcrelay) can discern between what frames
|
|
765 |
were transmitted to it, and what frames are being carried through it which
|
|
766 |
it should not intercept.
|
|
767 |
||
768 |
Changes since 3.1.0 (Maintenance)
|
|
769 |
||
770 |
- A bug was repaired where MAC Address Affinity for virgin leases always
|
|
771 |
mapped to the primary. Virgin leases now have an interleaved preference
|
|
772 |
between primary and secondary.
|
|
773 |
||
774 |
- A bug was repaired where MAC Address Affinity for clients with no client
|
|
775 |
identifier was sometimes mishashed to the peer. Load balancing during
|
|
776 |
runtime and pool rebalancing were opposing.
|
|
777 |
||
778 |
- An assertion in lease counting relating to reserved leases was repaired.
|
|
779 |
||
780 |
- The subnet-mask option inclusion now conforms with RFC2132 section 3.3;
|
|
781 |
it will only appear prior to the routers option if it is present on the
|
|
782 |
Parameter-Request-List. The subnet-mask option will also only be
|
|
783 |
included by default (if it is not on the PRL) in response to DISCOVER
|
|
784 |
or REQUEST messages.
|
|
785 |
||
786 |
- The FQDN option is only supplied if the client supplied an FQDN option or
|
|
787 |
if the FQDN option was explicitly requested on the PRL.
|
|
788 |
||
789 |
- Dynamic BOOTP leases are now load balanced in failover.
|
|
790 |
||
791 |
Changes since 3.1.0rc1
|
|
792 |
||
793 |
- The parse warning that 'deny dyanmic bootp;' must be configured for |
|
794 |
failover protected subnets was removed.
|
|
795 |
||
796 |
Changes since 3.1.0b2
|
|
797 |
||
798 |
- Failover rebalance events no longer play ping pong with round errors
|
|
799 |
(moving leases between free and back to backup where there are an
|
|
800 |
odd number of leases).
|
|
801 |
||
802 |
- The 'pool' log line has been split into two messages, one before the |
|
803 |
rebalance run, and one after.
|
|
804 |
||
805 |
- Any queued BNDACKs are transmitted before transmitting new BNDUPDs.
|
|
806 |
This enforces the correct sequence of events for the remote server
|
|
807 |
processing these messages.
|
|
808 |
||
809 |
Changes since 3.1.0b1
|
|
810 |
||
811 |
- Fixed a bug that caused OMAPI clients to freeze when opening lease
|
|
812 |
objects.
|
|
813 |
||
814 |
- A new server config option "fqdn-reply" specifies whether the server
|
|
815 |
should send out option 81 (FQDN). Defaults to "on". If set to "off",
|
|
816 |
the FQDN option is not sent, even if the client requested it. This is
|
|
817 |
needed because some clients misbehave otherwise. Thanks to Christof Chen
|
|
818 |
at Allianz.
|
|
819 |
||
820 |
- Allow trace output files (-tf option) to be overwritten, rather than
|
|
821 |
crashing dhcpd if the file already exists
|
|
822 |
||
823 |
- A bug was fixed that caused dhcpd to segfault if a pool was declared
|
|
824 |
outside the scope of a subnet in dhcpd.conf.
|
|
825 |
||
826 |
- Some uninitialized values were repaired in dhcpleasequery.c that
|
|
827 |
caused the server to abort.
|
|
828 |
||
829 |
- A new server config option, 'do-reverse-updates', has been added |
|
830 |
which causes the server to abstain from performing updates on PTR
|
|
831 |
records. Thanks to a patch from Christof Chen at Allianz.
|
|
832 |
||
833 |
- A bug was repaired in subencapsulation support, where spaces separated
|
|
834 |
by empty spaces would not get included.
|
|
835 |
||
836 |
- A bug in dhclient was repaired which caused it to send parameter request
|
|
837 |
lists of 55 bytes in length no matter how long the declared PRL was.
|
|
838 |
||
839 |
- 'dhcp.c(3953): non-null pointer' has been repaired. This fixes a flaw |
|
840 |
wherein the DHCPv4 server may ignore a configured server-identifier.
|
|
841 |
||
842 |
- A flaw in failover startup sequences was repaired that sometimes left
|
|
843 |
the primary DHCP server's pool rebalance schedules unscheduled. |
|
844 |
||
845 |
- Corrected a flaw that broke encapsulated spaces included due to presence |
|
846 |
on the parameter request list. |
|
847 |
||
848 |
Changes since 3.1.0a3 |
|
849 |
||
850 |
- Some spelling fixes. |
|
851 |
||
852 |
Changes since 3.1.0a2 |
|
853 |
||
854 |
- A bug was fixed where attempting to permit leasequeries results in a |
|
855 |
fatal internal error, "Unable to find server option 49". |
|
856 |
||
857 |
- A bug was fixed in dhclient rendering the textual output form of the |
|
858 |
domain-search option syntax. |
|
859 |
||
860 |
Changes since 3.1.0a1 |
|
861 |
||
862 |
- A bug in the FQDN universe that added FQDN codes to the NWIP universe's |
|
863 |
hash table was repaired.
|
|
864 |
||
865 |
- The servers now try harder to transmit pending binding updates when
|
|
866 |
entering normal state.
|
|
867 |
||
868 |
- UPDREQ/UPDREQALL handling was optimized - it no longer dequeues and
|
|
869 |
requeues all pending updates. This should reduce the number of spurious
|
|
870 |
'xid mismatch' log messages. |
|
871 |
||
872 |
- An option definition referencing leak was fixed, which resulted in early
|
|
873 |
termination of dhclient upon the renewal event.
|
|
874 |
||
875 |
- Some default hash table sizes were tweaked, some upwards, some downwards.
|
|
876 |
3.1.0a1's tables resulted in a reduction in default server memory use. |
|
877 |
The new selected values provide more of a zero sum (increasing the size |
|
878 |
of tables likely to be populated, decreasing the size of tables unlikely). |
|
879 |
||
880 |
- Lease structures appear in three separate hashes: by IP address, by UID, |
|
881 |
and by hardware address. One type of table was used for all three, and |
|
882 |
improvements to IP address hashing were applied to all three (so UID and |
|
883 |
hardware addresses were treated like 4-byte integers). There are now two |
|
884 |
types of tables, and the uid/hw hashes use functions more appropriate |
|
885 |
to their needs. |
|
886 |
||
887 |
- The max-lease-misbalance percentage no longer causes scheduled rebalance |
|
888 |
runs to be skipped: it still governs the schedule, but every scheduled |
|
889 |
run will attempt balance. |
|
890 |
||
891 |
- A segfault bug in recursive encapsulation support has been corrected. |
|
892 |
||
893 |
Changes since 3.0 (New Features) |
|
894 |
||
895 |
- A workaround for certain STSN servers that send a mangled domain-name |
|
896 |
option was introduced for dhclient. The client will now accept corrupted |
|
897 |
server responses, if they contain a valid DHCP_MESSAGE_TYPE (OFFER, ACK, |
|
898 |
or NAK). The server will continue to not accept corrupt client packets. |
|
899 |
||
900 |
- Support for 'reserved' (pseudo-static) and BOOTP leases via failover |
|
901 |
was introduced. |
|
902 |
||
903 |
- Support for adding, removing, and managing class and subclass statements |
|
904 |
via OMAPI. |
|
905 |
||
906 |
- The failover implementation was updated to comply with revision 12 of |
|
907 |
the protocol draft. |
|
908 |
||
909 |
- 'make install' now creates the initial zero-length dhcpd.leases file if |
|
910 |
one does not already exist on the system. |
|
911 |
||
912 |
- RFC3942 compliance, site-local option spaces start at 224 now, not 128. |
|
913 |
||
914 |
- The Load Balance Algorithm was misimplemented. The current implementation |
|
915 |
matches RFC 3074. |
|
916 |
||
917 |
- lcase() and ucase() configuration expressions have been added which adjust |
|
918 |
their arguments from upper to lower and lower to upper cases respectively. |
|
919 |
Thanks to a patch from Albert Herranz. |
|
920 |
||
921 |
- The dhclient 'reject ...;' statement, which rejects leases given by named |
|
922 |
server-identifiers, now permits address ranges to be specified in CIDR |
|
923 |
notation. Thanks to a patch from David Boyce. |
|
924 |
||
925 |
- The subnet-mask option is now supplied by default, but at lowest |
|
926 |
priority. This helps a small minority of clients that provide parameter |
|
927 |
request lists, but do not list the subnet-mask option because they were |
|
928 |
designed to interoperate with a server that behaves in this manner. |
|
929 |
||
930 |
- The FQDN option is similarly supplied even if it does not appear on the |
|
931 |
parameter request list, but not to the exclusion of options that do |
|
932 |
appear at the parameter request list. Up until now it had ultimate |
|
933 |
priority over the client's parameter request list. |
|
934 |
||
935 |
- Varying option space code and length bit widths (8/16/32) are now
|
|
936 |
supported. This is a milestone in achieving RFC 3925 "VIVSO" and
|
|
937 |
DHCPv6 support.
|
|
938 |
||
939 |
- A new common (server or client) option, 'db-time-format local;', has |
|
940 |
been added which prints the local time in /var/db/dhcpd.leases rather
|
|
941 |
than UTC. Thanks to a patch from Ken Lalonde.
|
|
942 |
||
943 |
- Some patches to improve DHCP Server startup speed from Andrew Matheson
|
|
944 |
have been incorporated.
|
|
945 |
||
946 |
- Failover pairs now implement 'MAC Affinity' on leases moving from the |
|
947 |
active to free states. Leases that belonged to the failover secondary
|
|
948 |
are moved to BACKUP state rather than FREE upon exiting EXPIRED state.
|
|
949 |
If lease rebalancing must move leases, it tries first to move leases
|
|
950 |
that belong to the peer in need.
|
|
951 |
||
952 |
- The server no longer sends POOLREQ messages unless the pool is severely
|
|
953 |
misbalanced in the peer's favor (see 'man dhcpd.conf' for more details). |
|
954 |
||
955 |
- Pool rebalance events no longer happen upon successfully allocating a |
|
956 |
lease. Instead, they happen on a schedule. See 'man dhcpd.conf' for the |
|
957 |
min-balance and max-balance statements for more information. |
|
958 |
||
959 |
- The DHCP Relay Agent Information Option / Link Selection Sub-Option |
|
960 |
is now supported. (See RFC3527 for details). |
|
961 |
||
962 |
- A new DDNS related server option, update-conflict-detection, has been |
|
963 |
added. If this option is enabled, dhcpd will perform normal DHCID |
|
964 |
conflict resolution (the default). If this option is disabled, it will |
|
965 |
instead trust the assigned name implicitly (removing any other bindings |
|
966 |
on that name). This option has not been made available in dhclient. |
|
967 |
||
968 |
- In those cases where the DHCP software manufactures an IP header (to |
|
969 |
transmit via bpf, lpf, etc), the IP TTL the software selects has been |
|
970 |
increased from 16 to 128. This is intended to match Microsoft Windows |
|
971 |
DHCP Client behaviour, to increase compatibility. |
|
972 |
||
973 |
- 'ignore client-updates;' now has behaviour that is different from |
|
974 |
'deny client-updates;'. The client's request is not truly ignored, |
|
975 |
rather it is encouraged. Should this value be configured, the server
|
|
976 |
updates DNS as though client-updates were set to 'deny'. That is, it |
|
977 |
enters into DNS whatever it is configured to do already, provided it is
|
|
978 |
configured to. Then it sends a response to the client that lets the
|
|
979 |
client believe it is performing client updates (which it will), probably
|
|
980 |
for a different name. In essence, this lets the client do as it will,
|
|
981 |
ignoring this aspect of their request.
|
|
982 |
||
983 |
- Support for compressed 'domain name list' style DHCP option contents, and |
|
984 |
in particular the domain search option (#119) was added.
|
|
985 |
||
986 |
- The DHCP LEASEQUERY protocol as defined in RFC4388 is now implemented.
|
|
987 |
LEASEQUERY lets you query the DHCP server for information about a lease,
|
|
988 |
using either an IP address, MAC address, or client identifier. Thanks
|
|
989 |
to a patch from Justin Haddad.
|
|
990 |
||
991 |
- DHCPD is now RFC2131 section 4.1 compliant (broadcast to all-ones ip and
|
|
992 |
ethernet mac address) on the SCO platform specifically without any strange
|
|
993 |
ifconfig hacks. Many thanks go to the Kroger Co. for donating the
|
|
994 |
hardware and funding the development.
|
|
995 |
||
996 |
- A new common configuration executable statement, execute(), has been
|
|
997 |
added. This permits dhcpd or dhclient to execute a named external
|
|
998 |
program with command line arguments specified from other configuration
|
|
999 |
language. Thanks to a patch written by Mattias Ronnblom, gotten to us
|
|
1000 |
via Robin Breathe.
|
|
1001 |
||
1002 |
- A new dhcp server option 'adaptive-lease-time-threshold' has been added |
|
1003 |
which causes the server to substantially reduce lease-times if there are
|
|
1004 |
few (configured percentage) remaining leases. Thanks to a patch submitted
|
|
1005 |
from Christof Chen.
|
|
1006 |
||
1007 |
- Encapsulated option spaces within encapsulated option spaces is now
|
|
1008 |
formally supported.
|
|
1009 |
||
1010 |
Changes since 3.0.6rc1
|
|
1011 |
||
1012 |
- supersede_lease() now requeues leases in their respective hardware
|
|
1013 |
address hash bucket. This mirrors client identifier behaviour.
|
|
1014 |
||
1015 |
Changes since 3.0.5
|
|
1016 |
||
1017 |
- Assorted fixes for broken network devices: Packet length is now
|
|
1018 |
determined from the IP header length field to finally calculate the
|
|
1019 |
UDP payload length, because some NIC drivers return more data than
|
|
1020 |
they actually received.
|
|
1021 |
||
1022 |
- UDP packets are now stored in aligned data structures.
|
|
1023 |
||
1024 |
- A logic error in omapi interface code was repaired that might result in
|
|
1025 |
incorrectly indicating 'up' state when any flags were set, rather than |
|
1026 |
specifically the INTERFACE_REQUESTED flag. Thanks to a patch from
|
|
1027 |
Jochen Voss which got to us via Andrew Pollock at Debian.
|
|
1028 |
||
1029 |
- A reference leak on binding scopes set by ddns updates was repaired.
|
|
1030 |
||
1031 |
- A memory leak in the minires_nsendsigned() function call was repaired.
|
|
1032 |
Effectively, this leaked ~176 bytes per DDNS update.
|
|
1033 |
||
1034 |
- In the case where an "L2" DHCP Relay Agent (one that does not set giaddr)
|
|
1035 |
was directly attached to the same broadcast domain as the DHCP server,
|
|
1036 |
the RFC3046 relay agent information option was not being returned to the
|
|
1037 |
relay in the server's replies. This was fixed; the dhcp server no longer |
|
1038 |
requires the giaddr to reply with relay agent information. Note that |
|
1039 |
this also improves compatibility with L2 devices that "intercept" DHCP |
|
1040 |
packets and expect relay agent information even in unicast (renewal) |
|
1041 |
replies. Thanks to a patch from Pekka Silvonen. |
|
1042 |
||
1043 |
- A bug was fixed where the BOOTP header 'sname' field had a value, the |
|
1044 |
copy written to persistent storage was actually the contents of the |
|
1045 |
'file' field. |
|
1046 |
||
1047 |
- A bug was fixed where the nwip virtual option space was referencing |
|
1048 |
the fqdn option's virtual option space's option cache. |
|
1049 |
||
1050 |
- Timestamp parsing errors that indicated missing "minutes" fields rather |
|
1051 |
than the actually missing "seconds" fields have been repaired thanks to |
|
1052 |
a patch from Kevin Steves. |
|
1053 |
||
1054 |
- A grammar error in the dhclient.8 manpage was repaired thanks to a patch |
|
1055 |
from Chris Wagner. |
|
1056 |
||
1057 |
- Several spelling typos were repaired, and some cross-references to other |
|
1058 |
relevant documents were included in the manpages, thanks to a patch |
|
1059 |
by Andrew Pollock which got to us via Tomas Pospisek. |
|
1060 |
||
1061 |
- Some bugs were fixed in the 'emergency relay agent options hologram' |
|
1062 |
which is used to retain relay agent option contents from when the |
|
1063 |
client was in INIT or REBIND states. This should solve problems where |
|
1064 |
relay agent options were not echoed from the server, even when giaddr |
|
1065 |
was set. |
|
1066 |
||
1067 |
- dhclient now closes its descriptor to dhclient.leases prior to executing |
|
1068 |
dhclient-script. Thanks to a patch from Tomas Pospisek. |
|
1069 |
||
1070 |
- The server's "by client-id" and "by hardware address" hash table lists |
|
1071 |
are now sorted according to the preference to re-allocate that lease to
|
|
1072 |
returning clients. This should eliminate pool starvation problems
|
|
1073 |
arising when "INIT" clients were given new leases rather than presently
|
|
1074 |
active ones.
|
|
1075 |
||
1076 |
Changes since 3.0.5rc1
|
|
1077 |
||
1078 |
- A bug was repaired in fixes to the dhclient, which sought to run the
|
|
1079 |
dhclient-script with the 'EXPIRE' state should it receive a NAK in |
|
1080 |
response to a REQUEST. The client now iterates the PREINIT state
|
|
1081 |
after the EXPIRE state, so that interfaces that might be configured
|
|
1082 |
'down' can be brought back 'up' and initialized. |
|
1083 |
||
1084 |
- DHCPINFORM handling for clients that properly set ciaddr and come to the
|
|
1085 |
server via a relay aget has been repaired.
|
|
1086 |
||
1087 |
Changes since 3.0.4
|
|
1088 |
||
1089 |
- A warning that host statements declared within subnet or shared-network
|
|
1090 |
scopes are actually global has been added.
|
|
1091 |
||
1092 |
- The default minimum lease time (if min-lease-time was not specified)
|
|
1093 |
was raised from 0 to 300. 0 is not thought to be sensible, and is
|
|
1094 |
known to be damaging.
|
|
1095 |
||
1096 |
- Added additional fatal error sanity checks surrounding lease binding
|
|
1097 |
state count calculations (free/active counts used for failover pool
|
|
1098 |
balancing).
|
|
1099 |
||
1100 |
- Some time value size fixes in 3.0.4 brought on from FreeBSD /usr/ports were
|
|
1101 |
misapplied to server values rather than client values. The server no longer
|
|
1102 |
advertises 8-byte lease-time options when on 64-bit platforms.
|
|
1103 |
||
1104 |
- A bug where leases not in ACTIVE state would get billed to billed classes
|
|
1105 |
(classes with lease limitations) was fixed. Non-active leases OFFERed
|
|
1106 |
to clients are no longer billed (but billing is checked before offering).
|
|
1107 |
||
1108 |
- The dhcpd.conf.5 manpage was updated in regard to the ddns-domainname
|
|
1109 |
configuration option - the default configuration and results should be
|
|
1110 |
more clear now.
|
|
1111 |
||
1112 |
- If the dhclient were to receive a DHCPNAK while it was in the RENEW
|
|
1113 |
state (and consequently, had an active, 'bound' address and related |
|
1114 |
configuration options), it would fail to 'tear down' this information |
|
1115 |
before proceeding into INIT state. dhclient now iterates the dhclient-
|
|
1116 |
script with the 'EXPIRE' action to cause these teardowns prior to entering |
|
1117 |
INIT state. Thanks to a patch from Chris Zimmerman.
|
|
1118 |
||
1119 |
- The omapi.1 manpage had some formatting errors repaired thanks to a patch
|
|
1120 |
from Yoshihiko Sarumaru.
|
|
1121 |
||
1122 |
- A few lines of code that were failover-specific were moved within
|
|
1123 |
#if defined() clauses so that compilation without failover could be
|
|
1124 |
made possible.
|
|
1125 |
||
1126 |
- The log message emitted when the 'leased-address' value was not available |
|
1127 |
in dhcpd.conf "executable statements" has been updated to be more helpful.
|
|
1128 |
Manpage information for this value has also been updated.
|
|
1129 |
||
1130 |
- Abandoned or dissociated (err condition) leases now remove any related
|
|
1131 |
dynamic dns bindings. Thanks to a patch from Patrick Schoo.
|
|
1132 |
||
1133 |
- Attempting to write a new lease file to replace a corrupt (due to
|
|
1134 |
encountering non-retryable errors during writing) lease file should
|
|
1135 |
no longer result in an infinite recursion.
|
|
1136 |
||
1137 |
- Host declaration hardware addresses and client identifiers may only be
|
|
1138 |
configured once. dhcpd will now fail to load config files that specify
|
|
1139 |
multiple identifiers (previous versions would silently over-ride the
|
|
1140 |
value with the later configured value).
|
|
1141 |
||
1142 |
- Several option codes that have been allocated since our last release
|
|
1143 |
have been named and documented.
|
|
1144 |
||
1145 |
- Option names of the form "unknown-123" have been removed from the in-
|
|
1146 |
memory hash tables. In order to support options of these names that
|
|
1147 |
may appear in dhclient.leases or similar in previous versions, the
|
|
1148 |
parser will now find the new option code definition, or mock up a
|
|
1149 |
generic option code definition. This should result in a smooth
|
|
1150 |
transition from one name to the other, as the new name is used to
|
|
1151 |
write new output.
|
|
1152 |
||
1153 |
Changes since 3.0.4rc1
|
|
1154 |
||
1155 |
- The dhcp-options.5 manpage was updated to correct indentation errors
|
|
1156 |
thanks to a patch from Jean Delvare.
|
|
1157 |
||
1158 |
Changes since 3.0.4b3
|
|
1159 |
||
1160 |
- Some manual pages were clarified pursuant to discussion on the dhcp-server
|
|
1161 |
mailing list.
|
|
1162 |
||
1163 |
Changes since 3.0.4b2
|
|
1164 |
||
1165 |
- Null-termination sensing for certain clients that unfortunately require
|
|
1166 |
it in DHCPINFORM processing was repaired.
|
|
1167 |
||
1168 |
- The host-name option and a few others were moved from "X" format to "t"
|
|
1169 |
format to be compatible with new NULL handling functions.
|
|
1170 |
||
1171 |
- DHCPINFORM processing is a little more careful about return addressing
|
|
1172 |
its responses, or if responding via a relay. The INFORM related
|
|
1173 |
messages also log the 'effective client ip address' rather than the |
|
1174 |
client's supplied ciaddr (since some clients produce null ciaddrs). |
|
1175 |
||
1176 |
- The server was inappropriately sending leases to the RESET state in the |
|
1177 |
event that multiple active leases were found to match a singly-identified |
|
1178 |
client. This was changed to RELEASED (by accepting a different, ACTIVE |
|
1179 |
binding, the client is implicitly releasing its lease). This repairs a |
|
1180 |
bug wherein secondary servers in failover pairs detecting this condition |
|
1181 |
move leases to RESET, and primaries refuse to accept that state |
|
1182 |
transition (properly). |
|
1183 |
||
1184 |
- The memset-after-dmalloc() changes made in 3.0.4b1 have been backed out. |
|
1185 |
||
1186 |
Changes since 3.0.4b1 |
|
1187 |
||
1188 |
- Command line parsing in omshell was repaired - it no longer closes |
|
1189 |
STDIN after reading one line. |
|
1190 |
||
1191 |
- The resolver library no longer closes the /etc/resolv.conf file |
|
1192 |
descriptor it opened twice. |
|
1193 |
||
1194 |
- Changes to trailing NULL removal in 't' option-atoms has been rethought, |
|
1195 |
it now includes 'd' (domain name) types, and tries hard not to rewind an |
|
1196 |
option beyond the start of the text field it is un-terminating. |
|
1197 |
||
1198 |
Changes since 3.0.3 |
|
1199 |
||
1200 |
- A DDNS update handling function was misusing the DNS error codes, rather |
|
1201 |
than the internal generic result enumeration. The result is a confusing |
|
1202 |
syslog line, logging the wrong condition. |
|
1203 |
||
1204 |
- The DHCP Server was not checking pool balance in the case where it brought |
|
1205 |
a non-ACTIVE lease out of storage for a client that was returning to use |
|
1206 |
a lease it once had long ago, and had since expired. |
|
1207 |
||
1208 |
- Failover peers no longer bother to look for free leases to allocate when |
|
1209 |
they already found the client's ACTIVE lease. DISCOVERs are load balanced |
|
1210 |
whether freely-allocated or not, unless the server doubts the peer has
|
|
1211 |
leases to allocate.
|
|
1212 |
||
1213 |
- Fixed a bug in dhcrelay agent addition code that suppressed trailing
|
|
1214 |
PAD options - it was suppressing only one trailing PAD option, rather
|
|
1215 |
than the entire block of them.
|
|
1216 |
||
1217 |
! Fixed some unlikely overlapping-region memcpy() bugs in dhcrelay agent
|
|
1218 |
option addition and stripping code. Added a few sanity checks. Although
|
|
1219 |
highly improbable, due to requiring the reception of a DHCP datagram well
|
|
1220 |
in excess of all known to be used physical MTU limitations, it is possible
|
|
1221 |
this may have been used in a stack overflow security vulnerability. Thanks
|
|
1222 |
to a patch from infamous42md.
|
|
1223 |
||
1224 |
! Added some sanity checks to OMAPI connection/authentication code.
|
|
1225 |
Although highly improbable, due to having to deliver in excess of 2^32
|
|
1226 |
bytes of data via the OMAPI channel, not to mention requiring dhcpd to
|
|
1227 |
be able to malloc() a memory region 2^32 bytes in size, it was possible
|
|
1228 |
this might have resulted in a heap overflow security vulnerability.
|
|
1229 |
Thanks to a patch from infamous42md.
|
|
1230 |
||
1231 |
- dmalloc() memset()'s the non-debug (data) portion of the allocated |
|
1232 |
memory to zero. Code that memset()'s the result returned by dmalloc() to |
|
1233 |
zero is redundant. These redundancies were removed.
|
|
1234 |
||
1235 |
- Some type declaration corrections to u_int16_t were made in common/tr.c
|
|
1.1.1
by Andrew Pollock
Import upstream version 4.1.1 |
1236 |
(Token Ring support) thanks to a patch from Jason Vas Dias at Red Hat.
|
1
by Andrew Pollock
Import upstream version 4.1.0 |
1237 |
|
1238 |
- A failover bug that was allowing leases that EXPIRED or were RELEASED
|
|
1239 |
where tsfp and tstp are identical timestamps to languish in these
|
|
1240 |
transitional states has been repaired. As a side effect, lease
|
|
1241 |
databases should be kept more consistent overall, not just for these
|
|
1242 |
transitional states.
|
|
1243 |
||
1244 |
- If the lease db is deleted out from under the daemon, and it moves to rewrite
|
|
1245 |
the db, it will go ahead with the operation and move the new db into place
|
|
1246 |
once it detects the old db does not exist.
|
|
1247 |
||
1248 |
- dhclient now ignores IRDA, SIT, and IEEE1394 network interfaces, as it
|
|
1249 |
is either nonsensical or (in the case of IEEE1394) is not known to support
|
|
1250 |
these interfaces. Thanks to Marius Gedminas and Andrew Pollock of Debian.
|
|
1251 |
||
1252 |
- Some previously undocumented reasons for dhclient-script invoking has
|
|
1253 |
been documented in the dhclient-script.8 manpage.
|
|
1254 |
||
1255 |
- Failover potential expiry calculations (TSTP) have been corrected. Results
|
|
1256 |
should be substantially more consistent, and proper given the constraints.
|
|
1257 |
||
1258 |
- Adjusted lease state validation checks in potential-conflict, to
|
|
1259 |
account for possible clock skew similarly to normal state, and several
|
|
1260 |
previously illegal transitions were made legal (ex: active->released).
|
|
1261 |
||
1262 |
- An impossible sanity check was removed from omapi/buffer.c, thanks to a
|
|
1263 |
patch from 'infamous42md'. |
|
1264 |
||
1265 |
- An OMAPI host/network byte order problem in lease time values has been
|
|
1266 |
repaired.
|
|
1267 |
||
1268 |
- Several minor bugs, largely relating to treating 8-byte time values as
|
|
1269 |
4-byte entities, have been repaired after careful review of the FreeBSD
|
|
1270 |
ports collection's patch set. Thanks to the nameless entities who have |
|
1271 |
contributed to the FreeBSD ports. |
|
1272 |
||
1273 |
- When writing a trace file, the file is now created with permissions 0600, |
|
1274 |
to help administrators avoid accidentally publicising sensitive config |
|
1275 |
data. |
|
1276 |
||
1277 |
- The calculation of the maximum size of DHCP packets no longer includes |
|
1278 |
Ethernet framing overhead. The result is that the 'Maximum Message |
|
1279 |
Size' option advertised by clients, or the default value 576, is no |
|
1280 |
longer reduced by 14 bytes, and instead directly reflects the IP level |
|
1281 |
MTU (and the default, minimum allowed IP MTU of 576). |
|
1282 |
||
1283 |
- The special status of RELEASED/EXPIRED/RESET leases when a server |
|
1284 |
is operating in partner-down was fixed. It no longer requires a |
|
1285 |
lease be twice the MCLT beyond STOS to 'reallocate', and the expiry |
|
1286 |
event to turn these into FREE leases without peer acknowledgement |
|
1287 |
(after STOS+MCLT) has been repaired. |
|
1288 |
||
1289 |
- Compilation on older Solaris systems (lacking /usr/include/sys/int_types.h) |
|
1290 |
has been repaired. |
|
1291 |
||
1292 |
- "append"ing a string onto the end of a "t" type option (such as the |
|
1293 |
domain-name field) that had been improperly NULL-terminated by the |
|
1294 |
DHCP server will no longer result in a truncated string containing |
|
1295 |
only the option from the server, and not the expected appended value. |
|
1.1.1
by Andrew Pollock
Import upstream version 4.1.1 |
1296 |
Thanks to a patch from Jason Vas Dias at Red Hat. |
1
by Andrew Pollock
Import upstream version 4.1.0 |
1297 |
|
1298 |
- File handlers on configuration state (config files and lease dbs) should |
|
1299 |
be treated consistently, regardless of whether TRACING is defined or not. |
|
1300 |
||
1301 |
- The Linux build environment has had some minor improvements - better |
|
1302 |
sensing of 64-bit pointer sizes (only used for establishing an icmp_id), |
|
1303 |
and corrections to #if operators regarding LINUX_MAJOR should it ever |
|
1304 |
move to 3.[01].x. |
|
1305 |
||
1306 |
- The server now tries harder to survive the condition where it is unable |
|
1307 |
to open a new lease file to rewrite the lease state database. |
|
1308 |
||
1309 |
Changes since 3.0.3b3 |
|
1310 |
||
1311 |
- dhclient.conf documentation for interface {} was updated to reflect recent |
|
1312 |
discussion on the dhcp-hackers mailing list. |
|
1313 |
||
1314 |
- In response to reports that the software does not compile on GCC 4.0.0, |
|
1315 |
-Werror was removed from Makefile.conf for all platforms that used it. |
|
1316 |
We will address the true problem in a future release; this is a temporary |
|
1317 |
workaround. |
|
1318 |
||
1319 |
Changes since 3.0.3b2 |
|
1320 |
||
1321 |
- An error in code changes introduced in 3.0.3b2 was corrected, which caused |
|
1322 |
static BOOTP clients to receive random addresses. |
|
1323 |
||
1324 |
Changes since 3.0.3b1 |
|
1325 |
||
1326 |
- A bug was fixed in BOOTPREQUEST handling code wherein stale references to |
|
1327 |
host records would be left behind on leases that were not allocated to the |
|
1328 |
client currently booting (eg in the case where the host was denied booting). |
|
1329 |
||
1330 |
- The dhcpd.conf.5 manpage was updated to be more clear in regards to |
|
1331 |
multiple host declarations (thanks to Vincent McIntyre). 'Interim' style |
|
1332 |
dynamic updates were also retouched. |
|
1333 |
||
1334 |
Changes since 3.0.2 |
|
1335 |
||
1336 |
- A bug was fixed where a server might load balance a DHCP REQUEST to its |
|
1337 |
peer after already choosing not to load balance the preceding DISCOVER. |
|
1338 |
The peer cannot allocate the originating server's lease. |
|
1339 |
||
1340 |
- In the case where a secondary server lost its stable storage while the
|
|
1341 |
primary was still in communications-interrupted, and came back online,
|
|
1342 |
the lease databases would not be fully transferred to the secondary.
|
|
1343 |
This was due to the secondary errantly sending an extra UPDREQ message
|
|
1344 |
when the primary made its state transition to PARTNER-DOWN known.
|
|
1345 |
||
1346 |
- The package will now compile cleanly in gcc 3.3 and 3.4. As a side effect,
|
|
1347 |
lease structures will be 9 bytes smaller on all platforms. Thanks to
|
|
1.1.1
by Andrew Pollock
Import upstream version 4.1.1 |
1348 |
Jason Vas Dias at Red Hat.
|
1
by Andrew Pollock
Import upstream version 4.1.0 |
1349 |
|
1350 |
- Interface discovery code in DISCOVER_UNCONFIGURED mode is now
|
|
1351 |
properly restricted to only detecting broadcast interfaces. Thanks
|
|
1.1.1
by Andrew Pollock
Import upstream version 4.1.1 |
1352 |
to a patch from Jason Vas Dias at Red Hat.
|
1
by Andrew Pollock
Import upstream version 4.1.0 |
1353 |
|
1354 |
- decode_udp_ip_header was changed so that the IP address was copied out
|
|
1355 |
to a variable, rather than referenced by a pointer. This enforces 4-byte
|
|
1356 |
alignment of the 32-bit IP address value. Thanks to a patch from Dr.
|
|
1357 |
Peter Poeml.
|
|
1358 |
||
1359 |
- An incorrect log message was corrected thanks to a patch from
|
|
1360 |
Dr. Peter Poeml.
|
|
1361 |
||
1362 |
- A bug in DDNS was repaired, where if the server's first DDNS action was |
|
1363 |
a DDNS removal rather than a DDNS update, the resolver library's |
|
1364 |
retransmit timer and retry timer was set to the default, implying a
|
|
1365 |
15 second timeout interval. Which is a little excessive in a synchronous,
|
|
1366 |
single-threaded system. In all cases, ISC DHCP should now hold fast to
|
|
1367 |
a 1-second timeout, trying only once.
|
|
1368 |
||
1369 |
- The siaddr field was being improperly set to the server-identifier when
|
|
1370 |
responding to DHCP messages. RFC2131 clarified the siaddr field as
|
|
1371 |
meaning the 'next server in the bootstrap process', eg a tftp server. |
|
1372 |
The siaddr field is now left zeroed unless next-server is configured.
|
|
1373 |
||
1374 |
- mockup_lease() could have returned in an error condition (or in the
|
|
1375 |
condition where no fixed-address was found matching the shared
|
|
1376 |
network) with stale references to a host record. This is probably not
|
|
1377 |
a memory leak since host records generally never die anyway.
|
|
1378 |
||
1379 |
- A bug was repaired where failover servers would let stale client identifiers
|
|
1380 |
persist on leases that were reallocated to new clients not sending an id.
|
|
1381 |
||
1382 |
- Binding scopes ("set var = value;") are now removed from leases allocated
|
|
1383 |
by failover peers if the lease had expired. This should help reduce the
|
|
1384 |
number of stale binding scopes on leases.
|
|
1385 |
||
1386 |
- A small memory leak was closed involving client identifiers larger than
|
|
1387 |
7 bytes, and failover.
|
|
1388 |
||
1389 |
- Configuring a subnet in dhcpd.conf with a subnet mask of 32 bits might
|
|
1390 |
cause an internal function to overflow heap. Thanks to Jason Vas Dias
|
|
1.1.1
by Andrew Pollock
Import upstream version 4.1.1 |
1391 |
at Red Hat.
|
1
by Andrew Pollock
Import upstream version 4.1.0 |
1392 |
|
1393 |
- Some inconsistencies in treating numbers that the lexer parsed as 'NUMBER' |
|
1394 |
or 'NUMBER_OR_NAME' was repaired. Hexadecimal parsing is affected, and |
|
1395 |
should work better.
|
|
1396 |
||
1397 |
- In several cases, parse warnings were being issued before the lexical
|
|
1398 |
token had been advanced to the token whose value was causing an error...
|
|
1399 |
causing parse warnings to claim the problem is on the wrong token.
|
|
1400 |
||
1401 |
- Host declarations matching on client identifier for dynamic leases will
|
|
1402 |
no longer match fixed-address host declarations (this is now identical
|
|
1403 |
to behaviour for host records matching on hardware address).
|
|
1404 |
||
1405 |
Changes since 3.0.2rc3
|
|
1406 |
||
1407 |
- A previously undocumented configuration directive, 'local-address', |
|
1408 |
was documented in the dhcpd.conf manpage.
|
|
1409 |
||
1410 |
Changes since 3.0.2rc2
|
|
1411 |
||
1412 |
- Two variables introduced in 3.0.2b1 were used without being initialized
|
|
1413 |
in the case where neither the FILE nor SNAME fields were available for
|
|
1414 |
overloading. This was repaired.
|
|
1415 |
||
1416 |
- A heretofore believed to be impossible corner case of the option
|
|
1417 |
overloading implementation turned out to be possible ("Unable to sort
|
|
1418 |
overloaded options after 10 tries."). The implementation was reworked
|
|
1419 |
to consider the case of an option so large it would require more than
|
|
1420 |
three chunks to fit.
|
|
1421 |
||
1422 |
- Many other instances of variables being used without being initialized
|
|
1423 |
were repaired.
|
|
1424 |
||
1425 |
- An uninitialized variable in omapi_io_destroy() led to the discovery
|
|
1426 |
that this function may result in orphaned pointers (and hence, a memory
|
|
1427 |
leak).
|
|
1428 |
||
1429 |
Changes since 3.0.2rc1
|
|
1430 |
||
1431 |
- allocate_lease() was rewritten to repair a bug in which the server would
|
|
1432 |
try to allocate an ABANDONED lease when FREE leases were available.
|
|
1433 |
||
1434 |
Changes since 3.0.2b1
|
|
1435 |
||
1436 |
- Some dhcp-eval.5 manpage formatting was repaired.
|
|
1437 |
||
1438 |
Changes since 3.0.1
|
|
1439 |
||
1440 |
- A bug was fixed in the server's 'option overloading' implementation, |
|
1441 |
where options loaded into the 'file' and 'sname' packet fields were |
|
1442 |
not aligned precisely as rfc2131 dictates. |
|
1443 |
||
1444 |
- The FreeBSD client script was changed to support the case where a domain |
|
1445 |
name was not provided by the server. |
|
1446 |
||
1447 |
- A memory leak in 'omshell' per each command line parsed was |
|
1448 |
repaired, thanks to a patch from Jarkko Torppa. |
|
1449 |
||
1450 |
- Log functions writing to stderr were adjusted to use the STDERR_FILENO |
|
1451 |
system definition rather than '2'. This is a no-op for 90% of platforms. |
|
1452 |
||
1453 |
- One call to trace_write_packet_iov() counted the number of io vectors |
|
1454 |
incorrectly, causing inconsistent tracefiles. This was fixed. |
|
1455 |
||
1456 |
- Some expression parse failure memory leaks were closed. |
|
1457 |
||
1458 |
- A host byte order problem in tracefiles was repaired. |
|
1459 |
||
1460 |
- Pools configured in DHCPD for failover possessing permission lists that |
|
1461 |
previously were assumed to not include dyanmic bootp clients are now |
|
1462 |
a little more pessimistic. The result is, dhcpd will nag you about just |
|
1463 |
about most pools that possess a 'allow' statement with no 'deny' that |
|
1464 |
would definitely match a dynamic bootp client. |
|
1465 |
||
1466 |
- The 'ddns-update-style' configuration warning bit now insists that |
|
1467 |
the configuration be globally scoped. |
|
1468 |
||
1469 |
- Two memory leaks in dhclient were closed thanks to a patch from Felix |
|
1470 |
Farkas. |
|
1471 |
||
1472 |
- Some minor but excellently pedantic documentation errors were fixed |
|
1473 |
thanks to a patch from Thomas Klausner. |
|
1474 |
||
1475 |
- Bugs in operator precedence in executable statements have been repaired |
|
1476 |
once again. More legal syntaxes should be parsed legally. |
|
1477 |
||
1478 |
- Failing to initialize a tracefile for any reason if a tracefile was |
|
1479 |
specified is now a fatal error. Thanks to a patch from Albert Herranz. |
|
1480 |
||
1481 |
- Corrected a bug in which the number of leases transferred as calculated |
|
1482 |
by the failover primary and sent to peers in POOLRESP responses may be |
|
1483 |
incorrect. This value is not believed to be used by other failover |
|
1484 |
implementations, excepting perhaps as logged information. |
|
1485 |
||
1486 |
- Corrected a bug in which 'dhcp_failover_send_poolresp()' was in fact |
|
1487 |
sending POOLREQ messages instead of POOLRESP mesasges. This message |
|
1488 |
was essentially ignored since failover secondaries effectively do not |
|
1489 |
respond to POOLREQ messages. |
|
1490 |
||
1491 |
- Type definitions for various bitwidths of integers in the sunos5-5 |
|
1492 |
build of ISC DHCP have been fixed. It should compile and run more |
|
1493 |
easily when built in 64-bit for this platform. |
|
1494 |
||
1495 |
- "allow known-clients;" is now a legal syntax, to avoid confusion. |
|
1496 |
||
1497 |
- If one dhcp server chooses to 'load balance' a request to its failover |
|
1498 |
peer, it first checks to see if it believes said peer has a free |
|
1499 |
lease to allocate before ignoring the DISCOVER. |
|
1500 |
||
1501 |
- log() was logging a work buffer, rather than the value returned by |
|
1502 |
executing the statements configured by the user. In some cases, |
|
1503 |
the work buffer and the intended results were the same. In some other |
|
1504 |
cases, they were not. This was fixed thanks to a patch from Gunnar |
|
1505 |
Fjone and directconnect.no. |
|
1506 |
||
1507 |
- Compiler warnings for some string type conversions was fixed, thanks |
|
1508 |
to Andreas Gustafsson. |
|
1509 |
||
1510 |
- The netbsd build environments were simplified to one, in which |
|
1511 |
-Wconversion is not used, thanks to Andreas Gustafsson. |
|
1512 |
||
1513 |
- How randomness in the backoff-cutoff dhclient configuration variable |
|
1514 |
is implemented was better documented in the manpage, and the behaviour |
|
1515 |
of dhclient in REQUEST timeout handling was changed to match that of |
|
1516 |
DISCOVER timeout handling. |
|
1517 |
||
1518 |
- Omapi was hardened against clients that pass in null values, thanks |
|
1519 |
to a patch from Mark Jason Dominus. |
|
1520 |
||
1521 |
- A bug was fixed in dhclient that kept it from doing client-side |
|
1522 |
ddns updates. Thanks to a patch from Andreas Gustafsson, which |
|
1523 |
underwent some modification after review by Jason Vas Dias. |
|
1524 |
||
1525 |
- Failover implementations disconnected due to the network between |
|
1526 |
them (rather than one of the two shutting down) will now try to |
|
1527 |
re-establish the failover connection every 5 seconds, rather than |
|
1528 |
to simply try once and give up until one of them is restarted. |
|
1529 |
Thanks to a patch from Ulf Ekberg from Infoblox, and field testing |
|
1530 |
by Greger V. Teigre which led to an enhancement to it. |
|
1531 |
||
1532 |
- A problem that kept DHCP Failover secondaries from tearing down |
|
1533 |
ddns records was repaired. Thanks to a patch from Ulf Ekberg from |
|
1534 |
Infoblox. |
|
1535 |
||
1536 |
- 64bit pointer sizes are detected properly on FreeBSD now. |
|
1537 |
||
1538 |
- A bug was repaired where the DHCP server would leave stale references |
|
1539 |
to host records on leases it once thought about offering to certain |
|
1540 |
clients. The result would be to apply host and 'known' scopes to the |
|
1541 |
wrong clients (possibly denying booting). NOTE: The 'mis-host' patch |
|
1542 |
that was being circulated as a workaround is not the way this bug was |
|
1543 |
fixed. If you were a victim of this bug in 3.0.1, you are cautioned |
|
1544 |
to proceed carefully and see if it fixes your problem. |
|
1545 |
||
1546 |
- A bug was repaired in the server's DHCPINFORM handling, where it |
|
1547 |
tried to divine the client's address from the source packet and |
|
1548 |
would get it wrong. Thanks to Anshuman Singh Rawat. |
|
1549 |
||
1550 |
- A log message was introduced to help illuminate the case where the |
|
1551 |
server was unable to find a lease to assign to any BOOTP client. |
|
1552 |
Thanks to Daniel Baker. |
|
1553 |
||
1554 |
- A minor dhcpd.conf.5 manpage error was fixed. |
|
1555 |
||
1556 |
Changes since 3.0.1rc14 |
|
1557 |
||
1558 |
- The global variable 'cur_time' was centralized and is now uniformly of a |
|
1559 |
type #defined in system-dependent headers. It had previously been defined |
|
1560 |
in one of many places as a 32-bit value, and this causes mayhem on 64-bit |
|
1561 |
big endian systems. It probably wasn't too healthy on little endian |
|
1562 |
systems either.
|
|
1563 |
||
1564 |
- A printf format string error introduced in rc14 was repaired.
|
|
1565 |
||
1566 |
- AIX system-dependent header file was altered to only define NO_SNPRINTF
|
|
1567 |
if the condition used to #ifdef in vsnprintf in AIX' header files |
|
1568 |
is false. |
|
1569 |
||
1570 |
- The Alpha/OSF system-dependent header file was altered to define |
|
1571 |
NO_SNPRINTF on OS revisions older than 4.0G. |
|
1572 |
||
1573 |
- omapip/test.c had string.h added to its includes. |
|
1574 |
||
1575 |
Changes since 3.0.1rc13 |
|
1576 |
||
1577 |
! CAN-2004-0460 - CERT VU#317350: Five stack overflow exploits were closed |
|
1578 |
in logging messages with excessively long hostnames provided by the |
|
1579 |
clients. It is highly probable that these could have been used by |
|
1580 |
attackers to gain arbitrary root access on systems using ISC DHCP 3.0.1 |
|
1581 |
release candidates 12 or 13. Special thanks to Gregory Duchemin for |
|
1582 |
both finding and solving the problem. |
|
1583 |
||
1584 |
! CAN-2004-0461 - CERT VU#654390: Once the above was closed, an opening |
|
1585 |
in log_*() functions was evidenced, on some specific platforms where |
|
1586 |
vsnprintf() was not believed to be available and calls were wrapped to |
|
1587 |
sprintf() instead. Again, credit goes to Gregory Duchemin for finding |
|
1588 |
the problem. Calls to snprintf() are now linked to a distribution-local |
|
1589 |
snprintf implementation, only in those cases where the architecture is |
|
1590 |
not known to provide one (see includes/cf/[arch].h). If you experience |
|
1591 |
linking problems with snprintf/vsnprintf or 'isc_print_' functions, this |
|
1592 |
is where to look. This vulnerability did not exist in any previously |
|
1593 |
published version of ISC DHCP. |
|
1594 |
||
1595 |
- Compilation on hpux 11.11 was repaired. |
|
1596 |
||
1597 |
- 'The cross-compile bug fix' was backed out. |
|
1598 |
||
1599 |
Changes since 3.0.1rc12 |
|
1600 |
||
1601 |
- Fixed a bug in omapi lease lookup function, to form the hardware |
|
1602 |
address for the hash lookup correctly, thanks to a patch from |
|
1603 |
Richard Hirst. |
|
1604 |
||
1605 |
- Fixed a bug where dhcrelay was sending relayed responses back to the |
|
1606 |
broadcast address, but with the source's unicast mac address. Should |
|
1607 |
now conform to rfc2131 section 4.1.
|
|
1608 |
||
1609 |
- Cross-compile bug fix; use $(AR) instead of ar. Thanks to Morten Brorup.
|
|
1610 |
||
1611 |
- Fixed a crash bug in dhclient where dhcpd servers that do not provide
|
|
1612 |
renewal times results in an FPE. As a side effect, dhclient can now
|
|
1613 |
properly handle 0xFFFFFFFF (-1) expiry times supplied by servers. Thanks
|
|
1614 |
to a patch from Burt Silverman.
|
|
1615 |
||
1616 |
- The 'ping timeout' debugs from rc12 were removed to -DDEBUG only, |
|
1617 |
and reformatted to correct a compilation error on Solaris platforms.
|
|
1618 |
||
1619 |
- A patch was applied which fixes a case where leases read from the
|
|
1620 |
leases database do not properly over-ride previously read leases.
|
|
1621 |
||
1622 |
- dhcpctl.3 manpage was tweaked.
|
|
1623 |
||
1624 |
Changes since 3.0.1rc11
|
|
1625 |
||
1626 |
- A patch from Steve Campbell was applied with minor modifications to
|
|
1627 |
permit reverse dns PTR record updates with values containing spaces.
|
|
1628 |
||
1629 |
- A patch from Florian Lohoff was applied with some modifications to
|
|
1630 |
dhcrelay. It now discards packets whose hop count exceeds 10 by default,
|
|
1631 |
and a command-line option (-c) can be used to set this threshold.
|
|
1632 |
||
1633 |
- A failover bug relating to identifying peers by name length instead of
|
|
1634 |
by name was fixed.
|
|
1635 |
||
1636 |
- Declaring failover configs within shared-network statements should no
|
|
1637 |
longer result in error.
|
|
1638 |
||
1639 |
- The -nw command line option to dhclient now works.
|
|
1640 |
||
1641 |
- Thanks to a patch from Michael Richardson:
|
|
1642 |
- Some problems with long option processing have been fixed.
|
|
1643 |
- Some fixes to minires so that updates of KEY records will work.
|
|
1644 |
||
1645 |
- contrib/ms2isc was updated by Shu-Min Chang of the Intel Corporation.
|
|
1646 |
see contrib/ms2isc/readme.txt for revision notes.
|
|
1647 |
||
1648 |
- Dhclient no longer uses shell commands to kill another instance of
|
|
1649 |
itself, it sends the signal directly. Thanks to a patch from Martin
|
|
1650 |
Blapp.
|
|
1651 |
||
1652 |
- The FreeBSD dhclient-script was changed so that a failure to write to
|
|
1653 |
/etc/resolv.conf does not prematurely end the script. This keeps dhclient
|
|
1654 |
from looping infinitely when this is the case. Thanks to a patch from
|
|
1655 |
Martin Blapp.
|
|
1656 |
||
1657 |
- A patch from Bill Stephens was applied which resolves a problem with lease
|
|
1658 |
expiry times in failover configurations.
|
|
1659 |
||
1660 |
- A memory leak in configuration parsing was closed thanks to a patch from
|
|
1661 |
Steve G.
|
|
1662 |
||
1663 |
- The function which discovers interfaces will now skip non-broadcast or
|
|
1664 |
point-to-point interfaces, thanks to a patch from David Brownlee.
|
|
1665 |
||
1666 |
- Options not yet known by the dhcpd or dhclient have had their names
|
|
1667 |
changed such that they do not contain # symbols, in case they should ever
|
|
1668 |
appear in a lease file. An option that might have been named "#144" is
|
|
1669 |
now "unknown-144".
|
|
1670 |
||
1671 |
- Another patch from Bill Stephens which allows the ping-check timeout to
|
|
1672 |
be configured as 'ping-timeout'. Defaults to 1. |
|
1673 |
||
1674 |
Changes since 3.0.1rc10
|
|
1675 |
||
1676 |
- Potential buffer overflows in minires repaired.
|
|
1677 |
||
1678 |
- A change to the linux client script to use /bin/bash, since /bin/sh may
|
|
1679 |
not be bash.
|
|
1680 |
||
1681 |
- Some missing va_end cleanups thanks to a patch from Thomas Klausner.
|
|
1682 |
||
1683 |
- A correction of boolean parsing syntax validation - some illegal syntaxes
|
|
1684 |
that worked before are now detected and produce errs, some legal syntaxes
|
|
1685 |
that errored before will now work properly.
|
|
1686 |
||
1687 |
- Some search-and-replace errors that caused some options to change their
|
|
1688 |
names was repaired.
|
|
1689 |
||
1690 |
- Shu-min Chang of the Intel corporation has contributed a perl script and
|
|
1691 |
module that converts the MS NT4 DHCP configuration to a ISC DHCP3
|
|
1692 |
configuration file.
|
|
1693 |
||
1694 |
- Applied the remainder of the dhcpctl memory leak patch provided by Bill
|
|
1695 |
Squier at ReefEdge, Inc. (groo@reefedge.com).
|
|
1696 |
||
1697 |
- Missing non-optional failover peer configurations will now result in a soft
|
|
1698 |
error rather than a null dereference.
|
|
1699 |
||
1700 |
Changes since 3.0.1rc9
|
|
1701 |
||
1702 |
- A format string was corrected to fix compiler warnings.
|
|
1703 |
||
1704 |
- A number of spelling corrections were made in the man pages.
|
|
1705 |
||
1706 |
- The dhclient.conf.5 man page was changed to refer to do-forward-updates
|
|
1707 |
rather than a configuration option that doesn't exist. |
|
1708 |
||
1709 |
- A FreeBSD-specific bug in the interface removal handling was fixed. |
|
1710 |
||
1711 |
- A Linux-specific Token Ring detection problem was fixed. |
|
1712 |
||
1713 |
- Hashes removed from as-yet-unknown agent options, having those options |
|
1714 |
appear in reality before we know about them will no longer produce |
|
1715 |
self-corrupting lease databases. |
|
1716 |
||
1717 |
- dhclient will use the proper port numbers now when using the -g option. |
|
1718 |
||
1719 |
- A order-of-operations bug with 2 match clauses in 1 class statement is |
|
1720 |
fixed thanks to a patch from Andrew Matheson. |
|
1721 |
||
1722 |
- Compilation problems on Solaris were fixed. |
|
1723 |
||
1724 |
- Compilation problems when built with DEBUG or DEBUG_PACKET were repaired. |
|
1725 |
||
1726 |
- A fix to the dhcp ack process which makes certain group options will be |
|
1727 |
included in the first DHCPOFFER message was made thanks to a patch from |
|
1728 |
Ling Gou. |
|
1729 |
||
1730 |
- A few memory leaks were repaired thanks to patches from Bill Squier at |
|
1731 |
ReefEdge, Inc. (groo@reefedge.com). |
|
1732 |
||
1733 |
- A fix for shared-networks that sometimes give clients options for the |
|
1734 |
wrong subnets (in particular, 'option routers') was applied, thanks to |
|
1735 |
Ted Lemon for the patch. |
|
1736 |
||
1737 |
- Omshell's handling of dotted octets as values was changed such that dots |
|
1738 |
one after the other produce zero values in the integer string.
|
|
1739 |
||
1740 |
Changes since 3.0.1rc8
|
|
1741 |
||
1742 |
- Fix a format string vulnerability in the server that could lead to a
|
|
1743 |
remote root compromise (discovered by NGSEC Research Team, www.ngsec.com).
|
|
1744 |
||
1745 |
- Add additional support for NetBSD/sparc64.
|
|
1746 |
||
1747 |
- Fix a bug in the command-line parsing of the client. Also, resolve
|
|
1748 |
a memory leak.
|
|
1749 |
||
1750 |
- Add better support for shells other than bash in the Linux client
|
|
1751 |
script.
|
|
1752 |
||
1753 |
- Various build fixes for modern versions of FreeBSD and Linux.
|
|
1754 |
||
1755 |
- Fix a bad bounds check when printing binding state names.
|
|
1756 |
||
1757 |
- Clarify documentation about fixed-address and multiple addresses.
|
|
1758 |
||
1759 |
- Fix a typo in the authoritative error message.
|
|
1760 |
||
1761 |
- Make a log entry when we can't write a billing class. |
|
1762 |
||
1763 |
- Use conversion targets that are the right size on all architectures. |
|
1764 |
||
1765 |
- Increment the hop count when relaying. |
|
1766 |
||
1767 |
- Log a message when lease state is changed through OMAPI. |
|
1768 |
||
1769 |
- Don't rerun the shared_network when evaluating the pool. |
|
1770 |
||
1771 |
- Fix a reversed test in the parser.
|
|
1772 |
||
1773 |
- Change the type of rbuf_max.
|
|
1774 |
||
1775 |
- Make FTS_LAST a manifest constant to quiet warnings.
|
|
1776 |
||
1777 |
Changes since 3.0.1rc7
|
|
1778 |
||
1779 |
- Fix two compiler warnings that are generated when compiling on Solaris
|
|
1780 |
with gcc. These stop the build, even though they weren't actually |
|
1781 |
errors, because we prefer that our builds generate no warnings. |
|
1782 |
||
1783 |
Changes since 3.0.1rc6 |
|
1784 |
||
1785 |
- Don't allow a lease that's in the EXPIRED, RELEASED or RESET state |
|
1786 |
to be renewed. |
|
1787 |
||
1788 |
- Implement lease stealing for cases where the primary has fewer leases |
|
1789 |
than the secondary, as called for by the standard. |
|
1790 |
||
1791 |
- Add a fudge factor to the lease expiry acceptance code, (suggested |
|
1792 |
by Kevin Miller of CMU). |
|
1793 |
||
1794 |
- Fix a bug in permit_list_match that made it much too willing to say |
|
1795 |
that two permit lists matched. |
|
1796 |
||
1797 |
- Unless DEBUG_DNS_UPDATES is defined, print more user-friendly (and |
|
1798 |
also more compact) messages about DNS updates. |
|
1799 |
||
1800 |
- Fix a bug in generating wire-format domain names for the FQDN option. |
|
1801 |
||
1802 |
- Fix a bug where the FQDN option would not be returned if the client |
|
1803 |
requested it, contrary to the standard. |
|
1804 |
||
1805 |
- On Darwin, use the FreeBSD DHCP client script. |
|
1806 |
||
1807 |
- On NetBSD/sparc, don't check for casting warnings. |
|
1808 |
||
1809 |
- Add a flag in the DHCP client to disable updating the client's A |
|
1810 |
record when sending an FQDN option indicating that the client is |
|
1811 |
going to update its A record. |
|
1812 |
||
1813 |
- In the client, don't attempt a DNS update until one second after |
|
1814 |
configuring the new IP address, and if the update times out, keep
|
|
1815 |
trying until a response, positive or negative, is received from the
|
|
1816 |
DNS server.
|
|
1817 |
||
1818 |
- Fix an uninitialized memory bug in the DHCP client.
|
|
1819 |
||
1820 |
- Apply some FreeBSD-specific bug fixes suggested by Murray Stokely.
|
|
1821 |
||
1822 |
- Fix a bug in ns_parserr(), where it was returning the wrong sort
|
|
1823 |
of result code in some cases (suggested by Ben Harris of the
|
|
1824 |
NetBSD project).
|
|
1825 |
||
1826 |
- Fix a bug in is_identifier(), where it was checking against EOF
|
|
1827 |
instead of the END_OF_FILE token (also suggested by Ben Harris).
|
|
1828 |
||
1829 |
- Fix a bug where if an option universe contained no options, the
|
|
1830 |
DHCP server could dump core (Walter Steiner).
|
|
1831 |
||
1832 |
- Fix a bug in the handling of encapsulated options.
|
|
1833 |
||
1834 |
- Fix a bug that prevented NWIP suboptions from being processed.
|
|
1835 |
||
1836 |
- Delete the FTS_BOOTP and FTS_RESERVED states and implement them
|
|
1837 |
as modifier flags to the FTS_ACTIVE state, as called for in the
|
|
1838 |
failover protocol standard.
|
|
1839 |
||
1840 |
- Fix bugs in the pool merging code that resulted in references and
|
|
1841 |
dereferences of null pointers. This bug had no impact unless the
|
|
1842 |
POINTER_DEBUG flag was defined.
|
|
1843 |
||
1844 |
- In the server, added a do-forward-updates flag that can be used to
|
|
1845 |
disable forward updates in all cases, so that sites that want the
|
|
1846 |
clients to take sole responsibility for updating their A record can
|
|
1847 |
do so.
|
|
1848 |
||
1849 |
- Make it possible to disable optimization of PTR record updates.
|
|
1850 |
||
1851 |
Changes since 3.0.1rc5
|
|
1852 |
||
1853 |
- Include some new documentation and changes provided by Karl Auer.
|
|
1854 |
||
1855 |
- Add a workaround for some Lexmark printers that send a double-NUL-
|
|
1856 |
terminated host-name option, which would break DNS updates.
|
|
1857 |
||
1858 |
- Fix an off-by-one error in the MAC-address checking code for
|
|
1859 |
DHCPRELEASE that was added in 3.0.1rc5.
|
|
1860 |
||
1861 |
- Fix a bug where client-specific information was not being discarded
|
|
1862 |
from the lease when it expired or was released, resulting in
|
|
1863 |
problems if the lease was reallocated to a different client.
|
|
1864 |
||
1865 |
- If more than one allocation pool is specified that has the same set
|
|
1866 |
of constraints as another allocation pool on the same shared
|
|
1867 |
network, merge the two pools.
|
|
1868 |
||
1869 |
- Don't print an error in fallback_discard, since this just causes |
|
1870 |
confusion and does not appear to be helping to encourage anyone to |
|
1871 |
fix this bug. |
|
1872 |
||
1873 |
Changes since 3.0.1rc4 |
|
1874 |
||
1875 |
- Fix a bug that would cause the DHCP server to spin if asked to parse |
|
1876 |
a certain kind of incorrect statement. |
|
1877 |
||
1878 |
- Fix a related bug that would prevent an error from being reported in |
|
1879 |
the same case. |
|
1880 |
||
1881 |
- Additional documentation. |
|
1882 |
||
1883 |
- Make sure that the hardware address matches the lease when |
|
1884 |
processing a DHCPRELEASE message. |
|
1885 |
||
1886 |
Changes since 3.0.1rc3 |
|
1887 |
||
1888 |
- A minor bug fix in the arguments to a logging function call. |
|
1889 |
- Documentation update for dhcpd.conf. |
|
1890 |
||
1891 |
Changes since 3.0.1rc2 |
|
1892 |
||
1893 |
- Allow the primary to send a POOLREQ message. This isn't what the current |
|
1894 |
failover draft says to do, so we may have to back it out if I can't get the |
|
1895 |
authors to relent, but the scheme for balancing that's specified in the |
|
1896 |
current draft seems needlessly hairy, so I'm floating a trial balloon. |
|
1897 |
The rc1 code did not implement the method described in the draft either. |
|
1898 |
||
1899 |
Changes since 3.0.1rc1 |
|
1900 |
||
1901 |
- Treat NXDOMAIN and NXRRSET as success when we are trying to delete a |
|
1902 |
domain or RRSET. This allows the DHCP server to forget about a name |
|
1903 |
it added to the DNS once it's been removed, even if the DHCP server |
|
1904 |
wasn't the one that removed it. |
|
1905 |
||
1906 |
- Install defaults for failover maximum outstanding updates and maximum |
|
1907 |
silent time. This prevents problems that might occur if these values |
|
1908 |
were not configured. |
|
1909 |
||
1910 |
- Don't do DDNS deletes if ddns-update-style is none. |
|
1911 |
||
1912 |
- Return relay agent information options in DHCPNAK. This prevents DHCPNAK
|
|
1913 |
messages from being dropped when the relay agent information option contains
|
|
1914 |
routing information.
|
|
1915 |
||
1916 |
- Fix a problem where coming up in recover wouldn't result in an update |
|
1917 |
request being sent. |
|
1918 |
||
1919 |
- Add some more chatty messages when we start a recovery update and when it's |
|
1920 |
done.
|
|
1921 |
||
1922 |
- Fix a possible problem where some state might have been left around
|
|
1923 |
after the peer lost contact and regained contact about how many updates
|
|
1924 |
were pending.
|
|
1925 |
||
1926 |
- Don't nix a lease update because of a lease conflict. This test has |
|
1927 |
never (as far as I know) prevented a mistake, and it appears to cause |
|
1928 |
problems with failover. |
|
1929 |
||
1930 |
- Add support in rc history code for keeping a selective history, rather |
|
1931 |
than a history of all references and dereferences. This code is only used |
|
1932 |
when extensive additional debugging is enabled. |
|
1933 |
||
1934 |
Changes since 3.0 |
|
1935 |
||
1936 |
- Make allocators for hash tables. As a side effect, this fixes a memory |
|
1937 |
smash in the subclass allocation code. |
|
1938 |
||
1939 |
- Fix a small bug in omshell where if you try to close an object when |
|
1940 |
no object is open, it dumps core. |
|
1941 |
||
1942 |
- Fix an obscure coredump that could occur on shutdown. |
|
1943 |
||
1944 |
- Fix a bug in the recording of host declaration rubouts in the lease file. |
|
1945 |
||
1946 |
- Fix two potential spins in the host deletion code. |
|
1947 |
||
1948 |
- Fix a core dump that would happen if an application tried to update |
|
1949 |
a host object attribute with a null value. |
|
1950 |
||
1951 |
Changes since 3.0 Release Candidate 12 |
|
1952 |
||
1953 |
- Fix a memory leak in the evaluation code. |
|
1954 |
||
1955 |
- Fix an obscure core dump. |
|
1956 |
||
1957 |
- Print a couple of new warnings when parsing the configuration file |
|
1958 |
when crucial information is left out. |
|
1959 |
||
1960 |
- Log "no free leases" as an error. |
|
1961 |
||
1962 |
- Documentation updates. |
|
1963 |
||
1964 |
Changes since 3.0 Release Candidate 11 |
|
1965 |
||
1966 |
- Always return a subnet selection option if one is sent. |
|
1967 |
||
1968 |
- Fix a warning that was being printed because an automatic data |
|
1969 |
structure wasn't zeroed. |
|
1970 |
||
1971 |
- Fix some failover state transitions that were being handled
|
|
1972 |
incorrectly.
|
|
1973 |
||
1974 |
- When supersede_lease is called on a lease whose end time has already
|
|
1975 |
expired, but for which a state transition has not yet been done, do
|
|
1976 |
a state transition. This fixes the case where if the secondary
|
|
1977 |
allocated a lease to a client and the lease "expired" while the
|
|
1978 |
secondary was in partner-down, no expiry event would actually
|
|
1979 |
happen, so the lease would remain active until the primary was
|
|
1980 |
restarted.
|
|
1981 |
||
1982 |
Changes since 3.0 Release Candidate 10
|
|
1983 |
||
1984 |
- Fix a bug that was preventing released leases from changing state
|
|
1985 |
in failover-enabled pools.
|
|
1986 |
||
1987 |
- Fix a core dump in the client identifier finder code (for host
|
|
1988 |
declarations).
|
|
1989 |
||
1990 |
- Finish fixing a bug where bogus data would sometimes get logged to
|
|
1991 |
the dhclient.leases file because it was opened as descriptor 2.
|
|
1992 |
||
1993 |
- Fix the Linux dhclient-script according to suggestions made by
|
|
1994 |
several people on the dhcp-client mailing list.
|
|
1995 |
||
1996 |
- Log successful DNS updates at LOG_INFO, not LOG_ERROR.
|
|
1997 |
||
1998 |
- Print an error message and refuse to run if a failover peer is
|
|
1999 |
defined but not referenced by any pools.
|
|
2000 |
||
2001 |
- Correct a confusing error message in failover.
|
|
2002 |
||
2003 |
Changes since 3.0 Release Candidate 9
|
|
2004 |
||
2005 |
- Fix a bug in lease allocation for Dynamic BOOTP clients.
|
|
2006 |
||
2007 |
Changes since 3.0 Release Candidate 8 Patchlevel 2
|
|
2008 |
||
2009 |
- Fix a bug that prevented update-static-leases from working.
|
|
2010 |
||
2011 |
- Document failover-state OMAPI object.
|
|
2012 |
||
2013 |
- Fix a compilation error on SunOS 4.
|
|
2014 |
||
2015 |
Changes since 3.0 Release Candidate 8 Patchlevel 1
|
|
2016 |
||
2017 |
- Fix a parsing bug that broke dns updates (both interim and ad-hoc).
|
|
2018 |
This was introduced in rc8pl1 as an unintended result of the memory
|
|
2019 |
leakage fixes that were in pl1.
|
|
2020 |
||
2021 |
- Fix a long-standing bug where the server would record that an update
|
|
2022 |
had been done for a client with no name, even though no update had
|
|
2023 |
been done, and then when the client's lease expired the deletion of |
|
2024 |
that nonexistant record would time out because the name was the null |
|
2025 |
string. |
|
2026 |
||
2027 |
- Clean up the omshell, dhcpctl and omapi man pages a bit. |
|
2028 |
||
2029 |
Changes since 3.0 Release Candidate 8 |
|
2030 |
||
2031 |
- Fix a bug that could cause the DHCP server to spin if |
|
2032 |
one-lease-per-client was enabled. |
|
2033 |
||
2034 |
- Fix a bug that was causing core dumps on BSD/os in the presence of |
|
2035 |
malformed packets. |
|
2036 |
||
2037 |
- In partner-down state, don't restrict lease lengths to MCLT. |
|
2038 |
||
2039 |
- On the failover secondary, record the MCLT received from the primary
|
|
2040 |
so that if we come up without a connection to the primary we don't |
|
2041 |
wind up giving out zero-length leases. |
|
2042 |
||
2043 |
- Fix some compilation problems on BSD/os. |
|
2044 |
||
2045 |
- Fix a bunch of memory leaks. |
|
2046 |
||
2047 |
- Fix a couple of bugs in the option printer. |
|
2048 |
||
2049 |
- Fix an obscure error reporting bug in the dns update code, and also |
|
2050 |
make the message clearer when a key algorithm isn't supported. |
|
2051 |
||
2052 |
- Fix a bug in the tracing code that prevented trace runs that used
|
|
2053 |
tcp connections from being played back.
|
|
2054 |
||
2055 |
- Add some additional debugging capability for catching memory leaks
|
|
2056 |
on exit.
|
|
2057 |
||
2058 |
- Make the client release the lease correctly on shutdown.
|
|
2059 |
||
2060 |
- Add some configurability to the build system.
|
|
2061 |
||
2062 |
- Install omshell manual page in man1, not man8.
|
|
2063 |
||
2064 |
- Craig Gwydir sent in a patch that fixes a long-standing bug in the
|
|
2065 |
DHCP client that could cause core dumps, but that for some reason
|
|
2066 |
hadn't been noticed until now. |
|
2067 |
||
2068 |
Changes since 3.0 Release Candidate 7 |
|
2069 |
||
2070 |
- Fix a bug in failover where we weren't sending updates after a |
|
2071 |
transition from communications-interrupted to normal.
|
|
2072 |
||
2073 |
- Handle expired/released/reset -> free transition according to the
|
|
2074 |
protocol specification (this works - the other way not only wasn't |
|
2075 |
conformant, but also didn't work). |
|
2076 |
||
2077 |
- Add a control object in both client and server that allows either
|
|
2078 |
daemon to be shut down cleanly.
|
|
2079 |
||
2080 |
- When writing a lease, if we run out of disk space, shut down the
|
|
2081 |
output file and insist on writing a new one before proceeding.
|
|
2082 |
||
2083 |
- In the server, if the OMAPI listener port is occupied, keep trying
|
|
2084 |
to get it, rather than simply giving up and exiting.
|
|
2085 |
||
2086 |
- Support fetching variables from leases and also updating and adding
|
|
2087 |
variables to leases via OMAPI.
|
|
2088 |
||
2089 |
- If two failover peers have wildly different clocks, refuse to start
|
|
2090 |
doing failover.
|
|
2091 |
||
2092 |
- Fix a bug in the DNS update code that could cause core dumps when
|
|
2093 |
running on alpha processors.
|
|
2094 |
||
2095 |
- Fixed a bug in ddns updates for static lease entries, thanks to a
|
|
2096 |
patch from Andrey M Linkevitch.
|
|
2097 |
||
2098 |
- Add support for Darwin/MacOS X
|
|
2099 |
||
2100 |
- Install omshell (including new documentation).
|
|
2101 |
||
2102 |
- Support DNS updates in the client (this is a very obscure feature
|
|
2103 |
that most DHCP client users probably will not be able to use).
|
|
2104 |
||
2105 |
- Somewhat cleaner status logging in the client.
|
|
2106 |
||
2107 |
- Make OMAPI key naming syntax compatible with the way keys are
|
|
2108 |
actually named (key names are domain names).
|
|
2109 |
||
2110 |
- Fix a bug in the lease file writer.
|
|
2111 |
||
2112 |
- Install DHCP ISC headers in a different place than BIND 9 ISC
|
|
2113 |
headers, to avoid causing trouble in BIND 9 builds.
|
|
2114 |
||
2115 |
- Don't send updates for attributes on an object when the attributes |
|
2116 |
haven't changed. Support deleting attributes on remote objects. |
|
2117 |
||
2118 |
- Fix a number of bugs in omshell, and add the unset and refresh
|
|
2119 |
statements.
|
|
2120 |
||
2121 |
- Handle disconnects in OMAPI a little bit more intelligently (so that
|
|
2122 |
the caller gets ECONNRESET instead of EINVAL).
|
|
2123 |
||
2124 |
- Fix a bunch of bugs in the handling of clients that have existing
|
|
2125 |
leases when the try to renew their leases while failover is
|
|
2126 |
operating.
|
|
2127 |
||
2128 |
Changes since 3.0 Release Candidate 6
|
|
2129 |
||
2130 |
- Fix a core dump that could happen when processing a DHCPREQUEST from
|
|
2131 |
a client that had a host declaration that contained both a
|
|
2132 |
fixed-address declaration and a dhcp-client-identifier option
|
|
2133 |
declaration, if the client identifier was longer than nine bytes.
|
|
2134 |
||
2135 |
- Fix a memory leak that could happen in certain obscure cases when
|
|
2136 |
using omapi to manipulate leases.
|
|
2137 |
||
2138 |
- Fix some bugs and omissions in omshell.
|
|
2139 |
||
2140 |
||
2141 |
Changes since 3.0 Release Candidate 5
|
|
2142 |
||
2143 |
- Fix a bug in omapi_object_dereference that prevented objects in
|
|
2144 |
chains from having their reference counts decreased on dereference.
|
|
2145 |
||
2146 |
- Fix a bug in omapi_object_dereference that would prevent object
|
|
2147 |
chains from being freed upon removal of the last reference external
|
|
2148 |
to the chain.
|
|
2149 |
||
2150 |
- Fix a number of other memory leaks in the OMAPI protocol subsystem.
|
|
2151 |
||
2152 |
- Add code in the OMAPI protocol handler to trace memory leakage.
|
|
2153 |
||
2154 |
- Clean up the memory allocation/reference history printer.
|
|
2155 |
||
2156 |
- Support input of dotted quads and colon-separated hex lists as
|
|
2157 |
attribute values in omshell.
|
|
2158 |
||
2159 |
- Fix a typo in the Linux interface discovery code.
|
|
2160 |
||
2161 |
- Conditionalize a piece of trace code that wasn't conditional. |
|
2162 |
||
2163 |
Changes since 3.0 Release Candidate 4 |
|
2164 |
||
2165 |
- Fix a bug that would prevent leases from being abandoned properly on |
|
2166 |
DHCPDECLINE. |
|
2167 |
||
2168 |
- Fix failover peer OMAPI support. |
|
2169 |
||
2170 |
- In failover, correctly handle expiration of leases. Previously, |
|
2171 |
leases would never be reclaimed because they couldn't make the |
|
2172 |
transition from EXPIRED to FREE.
|
|
2173 |
||
2174 |
- Fix some broken failover state transitions.
|
|
2175 |
||
2176 |
- Documentation fixes.
|
|
2177 |
||
2178 |
- Take out an unnecessary check in DHCP relay agent information option
|
|
2179 |
stashing code that was preventing REBINDING clients from rebinding.
|
|
2180 |
||
2181 |
- Prevent failover peers from allocating leases in DHCPREQUEST
|
|
2182 |
processing if the lease belongs to the other server.
|
|
2183 |
||
2184 |
- Record server version in lease file introductory comment.
|
|
2185 |
||
2186 |
- Correctly report connection errors in OMAPI and failover.
|
|
2187 |
||
2188 |
- Make authentication signature algorithm name comparisons in OMAPI
|
|
2189 |
case-insensitive.
|
|
2190 |
||
2191 |
- Fix compile problem on SunOS 4.x
|
|
2192 |
||
2193 |
- If a signature algorithm is not terminated with '.', terminate it so |
|
2194 |
that comparisons between fully-qualified names will work
|
|
2195 |
consistently.
|
|
2196 |
||
2197 |
- Different SIOCGIFCONF probe code, may "fix" problem on some Linux
|
|
2198 |
systems with the probe not working correctly.
|
|
2199 |
||
2200 |
- Don't allow user to type omapi key on command line of omshell. |
|
2201 |
||
2202 |
Changes since 3.0 Release Candidate 3 |
|
2203 |
||
2204 |
- Do lease billing on startup in a way that I *think* will finally do |
|
2205 |
the billing correctly - the previous method could overbill as a |
|
2206 |
result of duplicate leases. |
|
2207 |
||
2208 |
- Document OMAPI server objects. |
|
2209 |
||
2210 |
Changes since 3.0 Release Candidate 2 Patchlevel 1 |
|
2211 |
||
2212 |
- Fix some problems in the DDNS update code. Thanks to Albert |
|
2213 |
Herranz for figuring out the main problem. |
|
2214 |
||
2215 |
- Fix some reference counting errors on host entries that were causing |
|
2216 |
core dumps. |
|
2217 |
||
2218 |
- Fix a byte-swap bug in the token ring code, thanks to Jochen |
|
2219 |
Friedrich. |
|
2220 |
||
2221 |
- Fix a bug in lease billing, thanks to Jonas Bulow. |
|
2222 |
||
2223 |
Changes since 3.0 Release Candidate 2 |
|
2224 |
||
2225 |
- Change the conditions under which a DHCPRELEASE is actually |
|
2226 |
committed to be consistent with lease binding states rather than |
|
2227 |
using the lease end time. This may fix some problems with the |
|
2228 |
billing class code. |
|
2229 |
||
2230 |
- Fix a bug where lease updates would fail on Digital Unix (and maybe |
|
2231 |
others) because malloc was called with a size of zero. |
|
2232 |
||
2233 |
- Fix a core dump that happens when the DHCP server can't create its |
|
2234 |
trace file.
|
|
2235 |
||
2236 |
Changes since 3.0 Release Candidate 1 Patchlevel 1
|
|
2237 |
||
2238 |
- Fix the dhcp_failover_put_message to not attempt to allocate a
|
|
2239 |
zero-length buffer. Some versions of malloc() fail if you try to
|
|
2240 |
allocate a zero-length buffer, and this was causing problems on,
|
|
2241 |
e.g., Digital Unix.
|
|
2242 |
||
2243 |
- Fix a case where the failover code was printing an error message
|
|
2244 |
when no error had occurred.
|
|
2245 |
||
2246 |
- Fix a problem where when a server went down and back up again, the
|
|
2247 |
peer would not see a state transition and so would stay in the
|
|
2248 |
non-communicating state.
|
|
2249 |
||
2250 |
- Be smart about going into recover_wait.
|
|
2251 |
||
2252 |
- Fix a problem in the failover implementation where peers would fail
|
|
2253 |
to come into sync if interrupted in the RECOVER state. This could
|
|
2254 |
have been the cause of some problems people have reported recently.
|
|
2255 |
||
2256 |
- Fix a problem with billing classes where they would not be unbilled
|
|
2257 |
when the client lease expired.
|
|
2258 |
||
2259 |
- If select fails, figure out which descriptor is bad, and cut it out
|
|
2260 |
of the I/O loop. This prevents a potentially nasty spin. I
|
|
2261 |
haven't heard any report it in a while, but it came up consistently |
|
2262 |
in testing. |
|
2263 |
||
2264 |
- Fix a bug in the relay agent where if you specified interfaces on |
|
2265 |
the command line, it would fail. |
|
2266 |
||
2267 |
- Fix a couple of small bugs in the omapi connection object (no known |
|
2268 |
user impact). |
|
2269 |
||
2270 |
- Add the missing 3.0 Beta 1 lease conversion script. |
|
2271 |
||
2272 |
- Read dhcp client script hooks if they exist, rather than only if |
|
2273 |
they're executable. |
|
2274 |
||
2275 |
Changes since 3.0 Release Candidate 1
|
|
2276 |
||
2277 |
- Fix a memory smash that happens when fixed-address leases are used.
|
|
2278 |
ANY SITE AT WHICH FIXED-ADDRESS STATEMENTS ARE BEING USED SHOULD
|
|
2279 |
UPGRADE IMMEDIATELY. This has been a long-standing bug - thanks to
|
|
2280 |
Alvise Nobile for discovering it and helping me to find it!
|
|
2281 |
||
2282 |
- Fix a small bug in binary-to-ascii, thanks to H. Peter Anvin of
|
|
2283 |
Transmeta.
|
|
2284 |
||
2285 |
- There is a known problem with the DHCP server doing failover on
|
|
2286 |
Compaq Alpha systems. This patchlevel is not a release candidate
|
|
2287 |
because of this bug. The bug should be straightforward to fix, so
|
|
2288 |
a new release candidate is expected shortly.
|
|
2289 |
||
2290 |
- There is a known problem in the DDNS update code that is probably a
|
|
2291 |
bug, and is not, as far as we know, fixed in this patchlevel.
|
|
2292 |
||
2293 |
Changes since 3.0 Beta 2 Patchlevel 24
|
|
2294 |
||
2295 |
- Went over problematic failover state transitions and made them all
|
|
2296 |
work, so that failover should now much less fragile.
|
|
2297 |
||
2298 |
- Add some dhcpctl and omapi documentation
|
|
2299 |
||
2300 |
- Fix compile errors when compiling with unusual predefines.
|
|
2301 |
||
2302 |
- Make Token Ring work on Linux 2.4
|
|
2303 |
||
2304 |
- Fix the Digital Unix BPF_WORDALIGN bug.
|
|
2305 |
||
2306 |
- Fix some dhcp client documentation errors.
|
|
2307 |
||
2308 |
- Update some parts of the README file.
|
|
2309 |
||
2310 |
- Support GCC on SCO.
|
|
2311 |
||
2312 |
Changes since 3.0 Beta 2 Patchlevel 23
|
|
2313 |
||
2314 |
- Fix a bug in the DNS update code where a status code was not being
|
|
2315 |
checked. This may have been causing core dumps.
|
|
2316 |
||
2317 |
- When parsing the lease file, if a lease declaration includes a
|
|
2318 |
billing class statement, and the lease already has a billing class,
|
|
2319 |
unbill the old class.
|
|
2320 |
||
2321 |
- When processing failover transactions, where acks will be deferred,
|
|
2322 |
process the state transition immediately.
|
|
2323 |
||
2324 |
- Don't try to use the new SIOCGIFCONF buffer size detection code on |
|
2325 |
Linux 2.0, which doesn't provide this functionality. |
|
2326 |
||
2327 |
- Apply a patch suggested by Tuan Uong for a problem in dlpi.c.
|
|
2328 |
||
2329 |
- Fix a problem in using the which command in the configure script.
|
|
2330 |
||
2331 |
- Fix a parse error in the client when setting up an omapi listener.
|
|
2332 |
||
2333 |
- Document the -n and -g flags to the client.
|
|
2334 |
||
2335 |
- Make sure there is always a stdin and stdout on startup. This
|
|
2336 |
prevents shell scripts from accidentally writing error messages into
|
|
2337 |
configuration files that happen to be opened as stderr.
|
|
2338 |
||
2339 |
- If an interface is removed, the client will now notice that it is
|
|
2340 |
gone rather than spinning. This has only been tested on NetBSD.
|
|
2341 |
||
2342 |
- The client will attempt to get an address even if it can't create a |
|
2343 |
lease file. |
|
2344 |
||
2345 |
- Don't overwrite tracefiles. |
|
2346 |
||
2347 |
- Fix some memory allocation bugs in failover.
|
|
2348 |
||
2349 |
Changes since 3.0 Beta 2 Patchlevel 22
|
|
2350 |
||
2351 |
- Apply some patches suggested by Cyrille Lefevre, who is maintaining
|
|
2352 |
the FreeBSD ISC DHCP Distribution port.
|
|
2353 |
||
2354 |
- Fix a core dump in DHCPRELEASE.
|
|
2355 |
||
2356 |
Changes since 3.0 Beta 2 Patchlevel 21
|
|
2357 |
||
2358 |
- This time for sure: fix the spin described in the changes for pl20.
|
|
2359 |
||
2360 |
Changes since 3.0 Beta 2 Patchlevel 20
|
|
2361 |
||
2362 |
- Fix a problem with Linux detecting large numbers of interfaces (Ben)
|
|
2363 |
||
2364 |
- Fix a memory smash in the quotify code, which was introduced in
|
|
2365 |
pl19.
|
|
2366 |
||
2367 |
- Actually fix the spin described in the changes for pl20. The
|
|
2368 |
previous fix only partially fixed the problem - enough to get it
|
|
2369 |
past the regression test.
|
|
2370 |
||
2371 |
Changes since 3.0 Beta 2 Patchlevel 19
|
|
2372 |
||
2373 |
- Fix a bug that could cause the server to abort if compiled with
|
|
2374 |
POINTER_DEBUG enabled.
|
|
2375 |
||
2376 |
- Fix a bug that could cause the server to spin when responding to a
|
|
2377 |
DHCPREQUEST.
|
|
2378 |
||
2379 |
- Apply Joost Mulders' suggested patches for DLPI on x86. |
|
2380 |
||
2381 |
- Support NUL characters in quoted strings. |
|
2382 |
||
2383 |
- Install unformatted man pages on SunOS. |
|
2384 |
||
2385 |
Changes since 3.0 Beta 2 Patchlevel 18 |
|
2386 |
||
2387 |
- Allow the server to be placed in partner-down state using OMAPI. |
|
2388 |
(Damien Neil) |
|
2389 |
||
2390 |
- Implement omshell, which can be used to do arbitrary things to the |
|
2391 |
server (in theory). (Damien Neil) |
|
2392 |
||
2393 |
- Fix a case where if a client had two different leases the server could |
|
2394 |
actually dereference the second one when it hadn't been referenced, |
|
2395 |
leading to memory corruption and a core dump. (James Brister)
|
|
2396 |
||
2397 |
- Fix a case where a client could request the address of another client's |
|
2398 |
lease, but find_lease wouldn't detect that the other client had it, and |
|
2399 |
would attempt to allocate it to the client, resulting in a lease conflict
|
|
2400 |
message.
|
|
2401 |
||
2402 |
- Fix a case where a client with more than one client identifier could be
|
|
2403 |
given a lease where the hardware address was correct but the client
|
|
2404 |
identifier was not, resulting in a lease conflict message.
|
|
2405 |
||
2406 |
- Fix a problem where the server could write out a colon-separated
|
|
2407 |
hex list as a value for a variable, which would then not parse.
|
|
2408 |
The fix is to always write strings as quoted strings, with any
|
|
2409 |
non-printable characters quoted as octal escape sequences. So
|
|
2410 |
a file written the old way still won't work, but new files written |
|
2411 |
this way will work. |
|
2412 |
||
2413 |
- Fix documentation for sending non-standard options. |
|
2414 |
||
2415 |
- Use unparsable names for unknown options. WARNING: this will |
|
2416 |
break any configuration files that use the option-nnn convention. |
|
2417 |
If you want to continue to use this convention for some options, |
|
2418 |
please be sure to write a definition, like this: |
|
2419 |
||
2420 |
option option-nnn code nnn = string; |
|
2421 |
||
2422 |
You can use a descriptive name instead of option-nnn if you like. |
|
2423 |
||
2424 |
- Fix a problem where we would see a DHCPDISCOVER/DHCPOFFER/ |
|
2425 |
DHCPREQUEST/DHCPACK/DHCPREQUEST/DHCPNAK sequence. This was the |
|
2426 |
result of a deceptively silly bug in supersede_lease. |
|
2427 |
||
2428 |
- Fix client script exit status check, according to a fix supplied by |
|
2429 |
Hermann Lauer. |
|
2430 |
||
2431 |
- Fix an endianness bug in the tracefile support, regarding ICMP |
|
2432 |
messages. |
|
2433 |
||
2434 |
- Fix a bug in the client where the medium would not work correctly if |
|
2435 |
it contained quoted strings. |
|
2436 |
||
2437 |
** there was no pl17 ** |
|
2438 |
||
2439 |
Changes since 3.0 Beta 2 Patchlevel 16 |
|
2440 |
||
2441 |
- Add support for transaction tracing. This allows the state of the |
|
2442 |
DHCP server on startup, and all the subsequent transactions, to be |
|
2443 |
recorded in a file which can then be played back to reproduce the |
|
2444 |
behaviour of the DHCP server. This can be used to quickly |
|
2445 |
reproduce bugs that cause core dumps or corruption, and also for |
|
2446 |
tracking down memory leaks. |
|
2447 |
||
2448 |
- Incorporate some bug fixes provided by Joost Mulders for the DLPI |
|
2449 |
package which should clear up problems people have been seeing on |
|
2450 |
Solaris. |
|
2451 |
||
2452 |
- Fix bugs in the handling of options stored as linked lists (agent |
|
2453 |
options, fqdn options and nwip options) that could cause memory |
|
2454 |
corruption and core dumps. |
|
2455 |
||
2456 |
- Fix a bug in DHCPREQUEST handling that resulted in DHCPNAK messages |
|
2457 |
not being send in some cases when they were needed. |
|
2458 |
||
2459 |
- Make the lease structure somewhat more compact. |
|
2460 |
||
2461 |
- Make initial failover startup *much* faster. This was researched |
|
2462 |
and implemented by Damien Neil. |
|
2463 |
||
2464 |
- Add a --version flag to all executables, which prints the program |
|
2465 |
name and version to standard output. |
|
2466 |
||
2467 |
- Don't rewrite the lease file every thousand leases. |
|
2468 |
||
2469 |
- A bug in nit.c for older SunOS machines was fixed by a patch sent in
|
|
2470 |
by Takeshi Hagiwara.
|
|
2471 |
||
2472 |
- Fix a memory corruption bug in the DHCP client.
|
|
2473 |
||
2474 |
- Lots of documentation updates.
|
|
2475 |
||
2476 |
- Add a feature allowing environment variables to be passed to the
|
|
2477 |
DHCP client script on the DHCP client command line.
|
|
2478 |
||
2479 |
- Fix client medium support, which had been broken for some time.
|
|
2480 |
||
2481 |
- Fix a bug in the DHCP client initial startup backoff interval, which
|
|
2482 |
would cause two DHCPDISCOVERS to be sent back-to-back on startup.
|
|
2483 |
||
2484 |
||
2485 |
Changes since 3.0 Beta 2 Patchlevel 15
|
|
2486 |
||
2487 |
- Some documentation tweaks.
|
|
2488 |
||
2489 |
- Maybe fix a problem in the DLPI code.
|
|
2490 |
||
2491 |
- Fix some error code space inconsistencies in ddns update code.
|
|
2492 |
||
2493 |
- Support relay agents that intercept unicast DHCP messages to stuff
|
|
2494 |
agent options into them.
|
|
2495 |
||
2496 |
- Fix a small memory leak in the relay agent option support code.
|
|
2497 |
||
2498 |
- Fix a core dump that would occur if a packet was sent with no
|
|
2499 |
options.
|
|
2500 |
||
2501 |
Changes since 3.0 Beta 2 Patchlevel 14
|
|
2502 |
||
2503 |
- Finish fixing a long-standing bug in the agent options code. This
|
|
2504 |
was causing core dumps and failing to operate correctly - in
|
|
2505 |
particular, agent option stashing wasn't working. Agent option |
|
2506 |
stashing should now be working, meaning that agent options can be |
|
2507 |
used in class statements to control address allocation. |
|
2508 |
||
2509 |
- Fix up documentation. |
|
2510 |
||
2511 |
- Fix a couple of small memory leaks that would have added up |
|
2512 |
significantly in a high-demand situation. |
|
2513 |
||
2514 |
- Add a log-facility configuration parameter. |
|
2515 |
||
2516 |
- Fix a compile error on some older operating systems. |
|
2517 |
||
2518 |
- Add the ability in the client to execute certain statements before |
|
2519 |
transmitting packets to the server. Handy for debugging; not much |
|
2520 |
practical use otherwise. |
|
2521 |
||
2522 |
- Don't send faked-out giaddr when renewing or bound - again, useful |
|
2523 |
for debugging.
|
|
2524 |
||
2525 |
Changes since 3.0 Beta 2 Patchlevel 13
|
|
2526 |
||
2527 |
- Fixed a problem where the fqdn decoder would sometimes try to store
|
|
2528 |
an option with an (unsigned) negative length, resulting in a core
|
|
2529 |
dump on some systems.
|
|
2530 |
||
2531 |
- Work around the Win98 DHCP client, which NUL-terminates the FQDN
|
|
2532 |
option.
|
|
2533 |
||
2534 |
- Work around Win98 and Win2k clients that will claim they want to do
|
|
2535 |
the update even when they don't have any way to do it. |
|
2536 |
||
2537 |
- Fix some log messages that can be printed when failover is operating |
|
2538 |
that were not printing enough information. |
|
2539 |
||
2540 |
- It was possible for a DHCPDISCOVER to get an allocation even when |
|
2541 |
the state machine said the server shouldn't be responding. |
|
2542 |
||
2543 |
- Don't load balance DHCPREQUESTs from clients in RENEWING and |
|
2544 |
REBINDING, since in RENEWING, if we heard it, it's for us, and in |
|
2545 |
REBINDING, the client wouldn't have got to REBINDING if its primary |
|
2546 |
were answering. |
|
2547 |
||
2548 |
- When we get a bogus state lease binding state transition, don't do |
|
2549 |
the transition.
|
|
2550 |
|
|
2551 |
||
2552 |
Changes since 3.0 Beta 2 Patchlevel 12
|
|
2553 |
||
2554 |
- Fixed a couple of silly compile errors.
|
|
2555 |
||
2556 |
Changes since 3.0 Beta 2 Patchlevel 11
|
|
2557 |
||
2558 |
- Albert Herranz tracked down and fixed a subtle bug in the base64
|
|
2559 |
decoder that would prevent any key with an 'x' in its base64 |
|
2560 |
representation from working correctly.
|
|
2561 |
||
2562 |
- Thanks to Chris Cheney and Michael Sanders, we have a fix for the
|
|
2563 |
hang that they both spotted in the DHCP server - when
|
|
2564 |
one-lease-per-client was set, the code to release the "other" lease
|
|
2565 |
could spin.
|
|
2566 |
||
2567 |
- Fix a problem with alignment of the input buffer in bpf in cases
|
|
2568 |
where two packets arrive in the same bpf read.
|
|
2569 |
||
2570 |
- Fix a problem where the relay agent would crash if you specified an
|
|
2571 |
interface name on the command line.
|
|
2572 |
||
2573 |
- Add the ability to conditionalize client behaviour based on the
|
|
2574 |
client state.
|
|
2575 |
||
2576 |
- Add support for the FQDN option, and added support for a new way of
|
|
2577 |
doing ddns updates (ddns update style interim) that allows more than
|
|
2578 |
one DHCP server to update the DNS for the same network(s). This
|
|
2579 |
was implemented by Damien Neil with some additional functionality
|
|
2580 |
added by Ted Lemon.
|
|
2581 |
||
2582 |
- Damien added a "log" statement, so that the configuration file can
|
|
2583 |
be made to log debugging information and other information.
|
|
2584 |
||
2585 |
- Fixed a bug that caused option buffers not to be terminated with an
|
|
2586 |
end option.
|
|
2587 |
||
2588 |
- Fixed a long-standing bug in the support for option spaces where the
|
|
2589 |
options are stored as an ordered list rather than in a hash table,
|
|
2590 |
which could theoretically result in memory pool corruption.
|
|
2591 |
||
2592 |
- Prevent hardware declarations with no actual hardware address from
|
|
2593 |
being written as something unparsable, and behave correctly in the
|
|
2594 |
face of a null hardware address on input.
|
|
2595 |
||
2596 |
- Allow key names to be FQDNs, and qualify the algorithm name if it is
|
|
2597 |
specified unqualified.
|
|
2598 |
||
2599 |
- Modify the DDNS update code so that it never prints the "resolver
|
|
2600 |
failed" message, but instead says *why* the resolver failed.
|
|
2601 |
||
2602 |
- Officially support the subnet selection option, which now has an
|
|
2603 |
RFC.
|
|
2604 |
||
2605 |
- Fix a build bug on MacOS X.
|
|
2606 |
||
2607 |
- Allow administrator to disable ping checking.
|
|
2608 |
||
2609 |
- Clean up dhcpd.conf documentation and add more information about how
|
|
2610 |
it works.
|
|
2611 |
||
2612 |
Changes since 3.0 Beta 2 Patchlevel 10
|
|
2613 |
||
2614 |
- Fix a bug introduced during debugging (!) and accidentally committed
|
|
2615 |
to CVS.
|
|
2616 |
||
2617 |
Changes since 3.0 Beta 2 Patchlevel 9
|
|
2618 |
||
2619 |
- Fix DHCP client handling of vendor encapsulated options.
|
|
2620 |
||
2621 |
- Fix a bug in the handling of relay agent information options introduced
|
|
2622 |
in patchlevel 9.
|
|
2623 |
||
2624 |
- Stash agent options on client leases by default, and use the stashed
|
|
2625 |
options at renewal time.
|
|
2626 |
||
2627 |
- Add the ability to test the client's binding state in the client |
|
2628 |
configuration language. |
|
2629 |
||
2630 |
- Fix a core dump in the DNS update code. |
|
2631 |
||
2632 |
- Fix some expression evaluation bugs that were causing updates to be |
|
2633 |
done when no client hostname was received. |
|
2634 |
||
2635 |
- Fix expression evaluation debugging printfs. |
|
2636 |
||
2637 |
- Teach pretty_print_option to print options in option spaces other than |
|
2638 |
the DHCP option space. |
|
2639 |
||
2640 |
- Add a warning message if the RHS of a not is not boolean. |
|
2641 |
||
2642 |
- Never select for more than a day, because some implementations of |
|
2643 |
select will just fail if the timeout is too long (!). |
|
2644 |
||
2645 |
- Fix a case where a DHCPDISCOVER from an unknown network would be |
|
2646 |
silently dropped. |
|
2647 |
||
2648 |
- Fix a bug where if a client requested an IP address for which a different |
|
2649 |
client had the lease, the DHCP server would reallocate it anyway. |
|
2650 |
||
2651 |
- Fix the DNS update code so that if the client changes its name, the DNS |
|
2652 |
will be correctly updated. |
|
2653 |
||
2654 |
Changes since 3.0 Beta 2 Patchlevel 8 |
|
2655 |
||
2656 |
- Oops, there was another subtle math error in the header-length |
|
2657 |
bounds-checking. |
|
2658 |
||
2659 |
Changes since 3.0 Beta 2 Patchlevel 7 |
|
2660 |
||
2661 |
- Oops, forgot to byte-swap udp header length before bounds-checking it. |
|
2662 |
||
2663 |
Changes since 3.0 Beta 2 Patchlevel 6 |
|
2664 |
||
2665 |
- Fix a possible DoS attack where a client could cause the checksummer |
|
2666 |
to dump core. This was a read, not a write, so it shouldn't be |
|
2667 |
possible to exploit it any further than that.
|
|
2668 |
||
2669 |
- Implement client- and server-side support for using the Client FQDN
|
|
2670 |
option.
|
|
2671 |
||
2672 |
- Support for other option spaces in the client has been added. This
|
|
2673 |
means that it is now possible to define a vendor option space on the
|
|
2674 |
client, request options in that space from the server (which must
|
|
2675 |
define the same option space), and then use those options in the
|
|
2676 |
client. This also allows NWIP and Client FQDN options to be used
|
|
2677 |
meaningfully.
|
|
2678 |
||
2679 |
- Add object initializer support. This means that objects can now be
|
|
2680 |
initialized to something other than all-zeros when allocated, which
|
|
2681 |
makes, e.g., the interface object support code a little more robust.
|
|
2682 |
||
2683 |
- Fix an off-by-one bug in the host stuffer. This was causing host
|
|
2684 |
deletes not the work, and may also have been causing OMAPI
|
|
2685 |
connections to get dropped. Thanks to James Brister for tracking
|
|
2686 |
this one down!
|
|
2687 |
||
2688 |
- Fixed a core dump in the interface discovery code that is triggered
|
|
2689 |
when there is no subnet declaration for an interface, but the server
|
|
2690 |
decides to continue running. Thanks to Shane Kerr for tracking
|
|
2691 |
down and fixing this problem.
|
|
2692 |
||
2693 |
Changes since 3.0 Beta 2 Patchlevel 5
|
|
2694 |
||
2695 |
- Fix a bug in the recent enhancement to the interface discovery code
|
|
2696 |
to support arbitrary-length interface lists.
|
|
2697 |
||
2698 |
- Support NUL-terminated DHCP options when initializing client-script
|
|
2699 |
environment.
|
|
2700 |
||
2701 |
- Fix suffix operator.
|
|
2702 |
||
2703 |
- Fix NetWare/IP option parsing.
|
|
2704 |
||
2705 |
- Better error/status checking in dhcpctl initialization and omapi
|
|
2706 |
connection code.
|
|
2707 |
||
2708 |
- Fix a potential memory smash in dhcpctl code.
|
|
2709 |
||
2710 |
- Fix SunOS4 and (maybe) Ultrix builds.
|
|
2711 |
||
2712 |
- Fix a bug where a certain sort of incoming packet could cause a core
|
|
2713 |
dump on Solaris (and probably elsewhere).
|
|
2714 |
||
2715 |
- Add some more safety checks in error logging code.
|
|
2716 |
||
2717 |
- Add support for ISC_R_INCOMPLETE in OMAPI protocol connection code.
|
|
2718 |
||
2719 |
- Fix relay agent so that if an interface is specified on the command
|
|
2720 |
line, the relay agent does not dump core.
|
|
2721 |
||
2722 |
- Fix class matching so that match if can be combined with match or
|
|
2723 |
spawn with.
|
|
2724 |
||
2725 |
- Do not allow spurious leases in the lease database to introduce
|
|
2726 |
potentially bogus leases into the in-memory database.
|
|
2727 |
||
2728 |
- Fix a byte-order problem in the client hardware address type code
|
|
2729 |
for OMAPI.
|
|
2730 |
||
2731 |
- Be slightly less picky about what sort of hardware addresses OMAPI
|
|
2732 |
can install in host declarations.
|
|
2733 |
||
2734 |
Changes since 3.0 Beta 2 Patchlevel 4
|
|
2735 |
||
2736 |
- Incorporated Peter Marschall's proposed change to array/record |
|
2737 |
parsing, which allows things like the slp-agent option to be encoded |
|
2738 |
correctly. Thanks very much to Peter for taking the initiative to |
|
2739 |
do this, and for doing such a careful job of it (e.g., updating the |
|
2740 |
comments)! |
|
2741 |
||
2742 |
- Added an encoding for the slp-agent option. :') |
|
2743 |
||
2744 |
- Fixed SunOS 4 build. Thanks to Robert Elz for responding to my
|
|
2745 |
request for help on this with patches!
|
|
2746 |
||
2747 |
- Incorporated a change that should fix a problem reported by Philippe
|
|
2748 |
Jumelle where when the network connection between two servers is
|
|
2749 |
lost, they never reconnect.
|
|
2750 |
||
2751 |
- Fix client script files other than that for NetBSD to actually use
|
|
2752 |
make_resolv_conf as documented in the manual page.
|
|
2753 |
||
2754 |
- Fix a bug in the packet handling code that could result in a core
|
|
2755 |
dump.
|
|
2756 |
||
2757 |
- Fix a bug in the bootp code where responses on the local net would
|
|
2758 |
be sent to the wrong MAC address. Thanks to Jerry Schave for
|
|
2759 |
catching this one.
|
|
2760 |
||
2761 |
Changes since 3.0 Beta 2 Patchlevel 3
|
|
2762 |
||
2763 |
- In the DHCP client, execute client statements prior to using the values
|
|
2764 |
of options, so that the client configuration can overridden, e.g., the
|
|
2765 |
lease renewal time.
|
|
2766 |
||
2767 |
- Fix a reference counting error that would result in very reproducible
|
|
2768 |
failures in updates, as well as occasional core dumps, if a zone was
|
|
2769 |
declared without a key.
|
|
2770 |
||
2771 |
- Fix some Linux 2.0 compilation problems.
|
|
2772 |
||
2773 |
- Fix a bug in scope evaluation during execution of "on" statements that
|
|
2774 |
caused values not to be recorded on leases.
|
|
2775 |
||
2776 |
- If the dhcp-max-message-size option is specified in scope, and the
|
|
2777 |
client didn't send this option, use the one specified in scope to |
|
2778 |
determine the maximum size of the response. |
|
2779 |
||
2780 |
Changes since 3.0 Beta 2 Patchlevel 2 |
|
2781 |
||
2782 |
- Fix a case where spawning subclasses were being allocated |
|
2783 |
incorrectly, resulting in a core dump. |
|
2784 |
||
2785 |
- Fix a case where the DHCP server might inappropriately NAK a |
|
2786 |
RENEWING client. |
|
2787 |
||
2788 |
- Fix a place dhcprequest() where static leases could leak. |
|
2789 |
||
2790 |
- Include memory.h in omapip_p.h so that we don't get warnings about |
|
2791 |
using memcmp().
|
|
2792 |
||
2793 |
Changes since 3.0 Beta 2 Patchlevel 1
|
|
2794 |
||
2795 |
- Notice when SIOCFIGCONF returns more data than fit in the buffer -
|
|
2796 |
allocate a larger buffer, and retry. Thanks to Greg Fausak for
|
|
2797 |
pointing this out.
|
|
2798 |
||
2799 |
- In the server, if no interfaces were configured, report an error and
|
|
2800 |
exit.
|
|
2801 |
||
2802 |
- Don't ever record a state of 'startup'. |
|
2803 |
||
2804 |
- Don't try to evaluate the local failover binding address if none was |
|
2805 |
specified. Thanks to Joseph Breu for finding this. |