2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00
Commit Graph

604 Commits

Author SHA1 Message Date
David Hankins
7509fb6e12 version++ in preparation for release later today 2007-10-05 19:41:57 +00:00
David Hankins
07b9a35108 - A core dump during expired lease cleanup has been repaired.
[ISC-Bugs #17187]
2007-10-05 19:32:52 +00:00
David Hankins
8eab95f2ee - DHCPv6 server Confirm message processing has been enhanced - it no
longer replies only to clients with host {} records, it now replies
  as directed in RFC3315 section 18.2.2 - that is, to all clients
  regardless of the existence of bindings. [ISC-Bugs #17183]
2007-10-05 15:57:48 +00:00
Shane Kerr
3ad9d48f8c Bug in decoding certain options fixed.
See RT ticket #17188 for more.
2007-10-04 12:14:42 +00:00
David Hankins
109e00db7f - Compilation with DLPI and -Werror has been repaired. [ISC-Bugs #17189] 2007-10-03 23:36:27 +00:00
David Hankins
eaf7eb17a3 - Fixed a ./configure bug where compile tests were failing due to
"-Werror" (unused variable) rather than the actual test failure.  Lead
  to inconsistent and unworkable auto-configurations.  [ISC-Bugs #17177]
2007-10-03 20:24:27 +00:00
David Hankins
c104546d56 - Dynamic BOOTP leases are now load balanced in failover. [ISC-Bugs #17079] 2007-10-03 20:15:15 +00:00
Shane Kerr
c886c29836 Avoid infinite loop where we reschedule for the current second by
adding one. We might expire a lease a second late, but that's okay.

See RT ticket #17112 for more.
2007-10-03 12:50:11 +00:00
Shane Kerr
1b5053b526 Make sure we return the IPv6 address we suggested in response to a
SOLICIT. Also do not put the address in the "used" pool list when
loading from file.

See RT ticket #17153 for more.
2007-10-03 10:20:25 +00:00
David Hankins
e9c596456f - The subnet-mask option inclusion now conforms with RFC2132 section 3.3;
it will only appear prior to the routers option if it is present on the
  Parameter-Request-List.  The subnet-mask option will also only be
  included by default (if it is not on the PRL) in response to DISCOVER
  or REQUEST messages.
  [ISC-Bugs #17117]
- The FQDN option is only supplied if the client supplied an FQDN option or
  if the FQDN option was explicitly requested on the PRL.
  [ISC-Bugs #17117]
2007-10-01 16:24:44 +00:00
David Hankins
aa3e348e8b - An assertion in lease counting relating to reserved leases was repaired.
[ISC-Bugs #17130]
2007-10-01 15:12:19 +00:00
David Hankins
1418fd1103 - A bug was repaired where MAC Address Affinity for virgin leases always
mapped to the primary.  Virgin leases now have an interleaved preference
  between primary and secondary. [ISC-Bugs #17174]

- A bug was repaired where MAC Address Affinity for clients with no client
  identifier was sometimes mishashed to the peer.  Load balancing during
  runtime and pool rebalancing were opposing. [ISC-Bugs #17174]
2007-09-27 15:28:05 +00:00
David Hankins
fa9b593de7 - Log messages when failover peer names mismatch have been improved to
point out the problem.
2007-09-17 17:18:49 +00:00
Shane Kerr
ab3a540fbe Will not be in a3, so need new section for RELNOTES. 2007-09-17 10:15:25 +00:00
Shane Kerr
884a458f80 Remove ddns-update-style warning by changing default to "none".
See RT ticket #17103 for more.
2007-09-17 10:13:07 +00:00
Shane Kerr
45d545f03a Spelling corrections. 2007-09-14 10:38:32 +00:00
David Hankins
845e9677a2 Document change to server/dhcpd.c. 2007-09-12 17:34:14 +00:00
David Hankins
6de1f33ea9 Final grammar fix. 2007-09-05 22:45:07 +00:00
David Hankins
0a059d02b8 more grammar 2007-09-05 22:22:13 +00:00
David Hankins
eaf7390041 Update for grammar feedback. 2007-09-05 20:48:24 +00:00
David Hankins
39725d921f Version to 4.0.0a3.
README/RELNOTES to new version.
Copyright updates.
2007-09-05 17:32:10 +00:00
Shane Kerr
f800f4f633 Support for zero-length options in config files.
See RT ticket #17029 for more.
2007-08-27 19:11:24 +00:00
David Hankins
0c20eab3c8 - 'request' and 'also request' syntaxes have been added to accomodate
the DHCPv6 client configuration.  'send dhcp6.oro' is no longer
  necessary.  [ISC-Bugs #17023]
2007-08-23 16:06:09 +00:00
David Hankins
8dfd574485 - An internal database inconsistency bug was repaired where the server
would segfault if a client attempted to renew a lease that had been
  loaded from persistent storage.  [ISC-Bugs #17068]
2007-08-22 15:42:13 +00:00
Shane Kerr
d00d373a48 Enable DHCPv6 by default.
See RT ticket #17071 for more.
2007-08-21 16:21:15 +00:00
Shane Kerr
9705034994 Fix for interface detection when no IPv4 addresses available.
See RT ticket #17086 for more.
2007-08-14 14:08:16 +00:00
Shane Kerr
28868515f6 Code cleanup to remove warnings from "gcc -Wall".
See RT ticket #16988 for more.
2007-07-13 06:43:43 +00:00
Shane Kerr
763cba6b91 Fixed file descriptor leak on failure in initializing OMAPI listener.
See RT ticket #16993 for more.
2007-07-12 13:11:02 +00:00
Shane Kerr
237f8d3a7e Fix infinite loop if EOF in pool statement.
See RT ticket #16977 for more.
2007-07-11 12:02:51 +00:00
Evan Hunt
91da194ee3 Releasing 4.0.0a2 2007-07-10 21:58:12 +00:00
David Hankins
26be82affa - Fixed a bug with the 'ddns-updates' boolean server configuration
parameter, which caused the server to fail. [ISC-Bugs #17002]
2007-07-10 21:42:05 +00:00
Shane Kerr
71765b5809 Minor bug in octal parsing fixed.
See RT ticket #16514 for more.
2007-07-03 09:51:58 +00:00
David Hankins
b9d0cc0595 - The parse warning that 'deny dyanmic bootp;' must be configured for
failover protected subnets was removed. [ISC-Bugs #16975]
2007-06-28 17:19:55 +00:00
Evan Hunt
b55d0d5f53 Fixed a bug parsing ipv6 addresses in host-identifier statements. [rt16860] 2007-06-27 18:25:15 +00:00
Shane Kerr
847e7000cc Build fixes for Solaris.
See RT ticket #16966 for more.
2007-06-26 09:56:52 +00:00
Shane Kerr
bda3316935 Handle IPv6 parsing better. Adds generic whitespace handling to
parser.
See RT ticket #16862 for more.
2007-06-20 10:38:55 +00:00
Shane Kerr
9b21e73e3c Check for valid prefixes in configuration.
See RT ticket #16944 for more information.
2007-06-19 17:06:03 +00:00
David Hankins
b8221d9512 - supersede_lease() now requeues leases in their respective hardware
address hash bucket.  This mirrors client identifier behaviour.
  [ISC-Bugs #16936]
2007-06-08 18:56:30 +00:00
David Hankins
8da06bb1f5 - Compilation on HP/UX has been repaired. The changes should generally
apply to any architecture that supplies SIOCGLIFCONF but does not
  use 'struct lifconf' structures to pass values. [ISC-Bugs #16928]
2007-06-08 14:58:20 +00:00
David Hankins
dd3282251e - Two new operators, ~= and ~~, have been integrated to implement
boolean matches by regular expression (such as may be used in
  class matching statements).  Thanks to a patch by Alexandr S.
  Agranovsky, which underwent slight modification.  [ISC-Bugs #8155]
2007-06-07 15:52:30 +00:00
Evan Hunt
a546f2a714 Chdir to "/" before going into daemon mode. Use realpath() to
canonicalize relative pathnames. [rt16729]
2007-06-07 15:29:31 +00:00
Evan Hunt
af5fa17626 - Add support for dhcpv6 "Release" messages [rt16905]
- Add -x option, which causes running dhclient processes to exist
  gracefully *without* releasing leases [rt16741]
(Merging both at once because the first one depended on the second one)
2007-06-06 22:57:32 +00:00
Evan Hunt
c11f349dba Pulled up rt16929 2007-06-05 23:28:43 +00:00
David Hankins
a512cc3a31 - Failover rebalance events no longer play ping pong with round errors
(moving leases between free and back to backup where there are an
  odd number of leases).
  [ISC-Bugs #16910]

- The 'pool' log line has been split into two messages, one before the
  rebalance run, and one after.
  [ISC-Bugs #16910]

- Any queued BNDACKs are transmitted before transmitting new BNDUPDs.
  This enforces the correct sequence of events for the remote server
  processing these messages.
  [ISC-Bugs #16910]
2007-06-01 22:26:01 +00:00
David Hankins
f796f70a27 - A bug was fixed in interface discovery wherein an error identifying
a server-configured interface with no IPv4 addresses would SEGV.
  [ISC-Bugs #16896]
2007-06-01 22:11:49 +00:00
David Hankins
c9feb859e0 - Corrected a flaw that broke encapsulated spaces included due to presence
on the parameter request list. [ISC-Bugs #16625]
2007-05-23 19:25:40 +00:00
Shane Kerr
76c944da04 Fix pointer size in 64-bit land.
See RT ticket #16902 for more.
2007-05-23 10:35:11 +00:00
David Hankins
fc3b9c907d - A flaw in failover startup sequences was repaired that sometimes left
the primary DHCP server's pool rebalance schedules unscheduled.
  [ISC-Bugs #16621]
2007-05-22 22:56:21 +00:00
David Hankins
132d38f21a Oops - this is a 3.1.x bug. Demoted. 2007-05-21 22:14:21 +00:00
David Hankins
eca55b4ae0 It doesn't use a random source address - the failure makes it fall back
onto an address configured on the interface.
2007-05-21 22:10:49 +00:00