David Hankins
b1d3778ce8
- Relative time may now be used as a qualifier for 'allow' and 'deny' access
...
control lists. These directives may be used to assist in re-addressing
address pools without having to constantly reconfigure the server. Please
see 'man dhcpd.conf' for more information on allow/deny 'after time' syntax.
Thanks to a patch from Christof Chen. [ISC-Bugs #17110 ]
2007-10-31 19:13:33 +00:00
David Hankins
e4a6be15e8
Might even work.
2007-10-30 23:08:16 +00:00
Evan Hunt
75135a3f7f
Use different paths for PID and lease files when running in DHCPv4 or
...
DHCPv6 mode, so that servers for both protcols can be run simultaneously on
a single interface. [rt17227]
2007-10-27 19:15:37 +00:00
Evan Hunt
182b187ea5
Don't delete PID files before writing to them. [rt17030]
2007-10-27 18:58:59 +00:00
Evan Hunt
e2624b82f1
- Reworked cons_options() and store_options() to fix a buffer
...
overflow that could result in a DoS (CVS 2007-0062). Also general
code tidying. [rt17090]
- Also fixed a spurious error message on the client. [rt17250]
2007-10-26 22:46:50 +00:00
David Hankins
5279b8f3ee
- The client leasing subsystem was streamlined and corrected to account
...
more closely for changes in client link attachment selection.
[ISC-Bugs #17198 ]
2007-10-24 00:54:12 +00:00
David Hankins
edb1283e10
- The peer_wants_leases() changes pulled up from 3.1.0 were corrected,
...
'never used' leases will no longer consistently shift between servers
on every pool rebalance run. [ISC-Bugs #17211 ]
2007-10-09 22:32:49 +00:00
Shane Kerr
4f8a4a8894
Fix a number of bugs with the internal lease state handling.
...
See RT ticket #17196 for more information.
2007-10-09 08:16:09 +00:00
David Hankins
8bfe717e86
*** empty log message ***
2007-10-05 22:48:51 +00:00
David Hankins
7285af3087
- DDNS updates state information are now stored in 'binding scopes' that
...
follow the leases through their lifecycles. This enables DDNS teardowns
on leases that are assigned and expired inbetween a server restart (the
state is recovered from dhcpd.leases). Arbitrary user-specified binding
scopes ('set var = "value";') are not yet supported.
2007-10-05 22:29:51 +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
c382bc9800
Fixed some log messages.
...
See RT ticket #17190 for more.
2007-10-05 08:39:33 +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
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
Shane Kerr
d7ec175bc0
Couple of casts to fix build errors reported by robie.
2007-09-18 07:24:22 +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
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
c61eba3b37
Don't remove host and interface addresses from pools in IPv4.
...
See RT ticket #17131 for more.
2007-09-07 12:20:24 +00:00
David Hankins
ba0833b11d
automake regeneration
2007-09-05 17:33:56 +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
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