2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 21:07:43 +00:00

1205 Commits

Author SHA1 Message Date
David Hankins
39725d921f Version to 4.0.0a3.
README/RELNOTES to new version.
Copyright updates.
2007-09-05 17:32:10 +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
06eb8bab55 Fix a number of warnings (and a few real bugs) found by enabling
gcc warnings.

See RT ticket #17013 for more.
2007-08-22 13:41:37 +00:00
David Hankins
70aa0d5899 Update failover documentation for dynamic bootp. 2007-07-20 19:18:24 +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
2914245e60 Fix missing parameter in parse_warn().
Whoops.
2007-07-11 14:54:11 +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
4595871d1d automake regeneration 2007-07-10 22:08:52 +00:00
Shane Kerr
2e13ba554c Updating the dhcpd usage() message and the dhcpd man page so they match
the command-line arguments.

See RT ticket #16922 for more.
2007-07-03 10:34:18 +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
cf8aca47a2 Build fixes for Solaris. (CVS checkin, part 4)
See RT ticket #16966 for more.
2007-06-26 09:58:41 +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
Shane Kerr
e847f9833c Build fix for BSD.
See RT ticket #16959 for more.
2007-06-15 15:02:05 +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
da59e03ddc automake++, second round. 2007-06-07 16:45:31 +00:00
David Hankins
dff902ba2c automake updated 2007-06-07 15:57:10 +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
6d20e31bac Make sure all writes to lease file are checked for success or failure.
(The patch checked in previously missed some cases.) [rt16929]
2007-06-06 23:07:17 +00:00
Evan Hunt
c11f349dba Pulled up rt16929 2007-06-05 23:28:43 +00:00
Shane Kerr
a36687f00d regen 2007-06-05 08:34:37 +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
Shane Kerr
dfe63f1bfa Remove redundant cast.
See RT ticket #16917 for more.
2007-05-30 10:10:12 +00:00
Evan Hunt
804401cc8e Merge in changes that were needed in 3.1.0 to silence NetBSD compiler
warnings. [rt16907]
2007-05-29 18:11:56 +00:00
Shane Kerr
6ecda39c26 Build fixes. See RT ticket #16888 for more information. 2007-05-29 16:32:11 +00:00
Mark Andrews
9f706d4610 regen 2007-05-23 21:56:00 +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
1a6399f402 cvsignore++ 2007-05-21 22:26:05 +00:00
David Hankins
e889ded168 - 'dhcp.c(3953): non-null pointer' has been repaired. This fixes a flaw
wherein the DHCPv4 server may use seemingly random source addresses.
  [ISC-Bugs #16897]
2007-05-21 22:09:07 +00:00
David Hankins
3af71c19e4 include syslog.h in server/stables.c, so that log-facility enumeration
is filled out with values.
2007-05-19 22:03:51 +00:00
David Hankins
e62b1eb355 Looks like the package version was moved into autoconf. 2007-05-19 20:24:41 +00:00
David Hankins
706792c9d3 Copyright++ 2007-05-19 19:16:28 +00:00
David Hankins
fe5b0fdd70 - Replaced ./configure shellscripting with GNU Autoconf. [ISC-Bugs #16405b]
- RELNOTES/README++
- s/wether/whether/ in dhcp-options.5 manpage edits.
2007-05-19 18:47:15 +00:00
Shane Kerr
727cae264f Merge errors from rt16849. Must remember to use "-u" when I'm making
diffs. :(
2007-05-18 14:45:23 +00:00
Shane Kerr
d9b43370a4 Expire old IPv6 leases. Also a number of fixes.
See RT ticket #16849 for details.
2007-05-18 09:26:58 +00:00
David Hankins
6705543f81 - Additional warnings and such from robie. [ISC-Bugs #16865d] 2007-05-17 18:27:11 +00:00
Shane Kerr
99fe695e1c FreeBSD, NetBSD, OpenBSD support added in (again).
See RT ticket #16865 for more (still expect some warnings).
2007-05-16 22:27:35 +00:00
David Hankins
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +00:00
Evan Hunt
74dc3e0b27 Fixed a bug that caused OMAPI clients to hang when opening leases. [rt16495] 2007-05-07 17:19:17 +00:00
David Hankins
9163e15d4e - Error in rt16831 repaired...append the n_hw tail of the insert point to
the n_hw point of the current lease...not the n_uid tail.
2007-05-04 21:46:50 +00:00
Evan Hunt
75eaa6ffa2 Rework pool parsing change to fix null dereference [rt16845] 2007-05-03 21:24:38 +00:00
Evan Hunt
1ba87b376b A new server config option "fqdn-reply" specifies whether the server
should send out option 81 (FQDN).  Defaults to "on".  If set to "off",
the FQDN option is not sent, even if the client requested it.  This is
needed because some clients misbehave otherwise. [rt16624]
2007-04-27 22:48:00 +00:00
Evan Hunt
61252edfa9 Fix a bug where dhcpd segfaults if a pool is declared outside a subnet
in dhcpd.conf [rt16448]
2007-04-27 22:36:26 +00:00
David Hankins
d5b6835f89 - The server's "by client-id" and "by hardware address" hash table lists
are now sorted according to the preference to re-allocate that lease to
  returning clients.  This should eliminate pool starvation problems
  arising when "INIT" clients were given new leases rather than presently
  active ones. [ISC-Bugs #16831]
2007-04-26 20:06:25 +00:00
David Hankins
68287bde84 Missing indentation reset. 2007-04-24 20:49:51 +00:00
David Hankins
9aa3f3a55d - Some bugs were fixed in the 'emergency relay agent options hologram'
which is used to retain relay agent option contents from when the
  client was in INIT or REBIND states.  This should solve problems where
  relay agent options were not echoed from the server, even when giaddr
  was set.  [ISC-Bugs #16787]
2007-04-20 15:25:26 +00:00
David Hankins
c759db75e0 - Several spelling typos were repaired, and some cross-references to other
relevant documents were included in the manpages, thanks to a patch
  by Andrew Pollock which got to us via Tomas Pospisek. [ISC-Bugs #16731]
2007-04-19 21:35:12 +00:00
David Hankins
4d2eaafb35 - A new server config option, 'do-reverse-updates', has been added
which causes the server to abstain from performing updates on PTR
  records.  Thanks to a patch from Christof Chen at Allianz.
  [ISC-Bugs #16781]
2007-04-03 16:46:03 +00:00