2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

182 Commits

Author SHA1 Message Date
Shane Kerr
57fcb8d97a Move warning about dhcp-renewal-time to config parsing rather
than runtime.
See RT ticket #17382 for more.
2008-01-14 14:26:10 +00:00
Francis Dupont
1d9774ab57 Cleanup IA_NA dependencies 2008-01-02 23:47:22 +00:00
Francis Dupont
20ae1affb0 almost editorial stuff 2007-11-30 21:51:43 +00:00
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
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
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
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
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
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
9b21e73e3c Check for valid prefixes in configuration.
See RT ticket #16944 for more information.
2007-06-19 17:06:03 +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
Shane Kerr
dfe63f1bfa Remove redundant cast.
See RT ticket #16917 for more.
2007-05-30 10:10:12 +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
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
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +00:00
Evan Hunt
75eaa6ffa2 Rework pool parsing change to fix null dereference [rt16845] 2007-05-03 21:24:38 +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
Shane Kerr
c57db45ce9 Spelling fixes. See RT ticket 16513 for details. 2007-01-29 10:25:55 +00:00
Shane Kerr
6d103865fb Merged rt12324, DHCPLEASEQUERY. 2006-07-25 13:26:00 +00:00
David Hankins
2178df03e7 - Host declaration hardware addresses and client identifiers may only be
configured once.  dhcpd will now fail to load config files that specify
  multiple identifiers (previous versions would silently over-ride the
  value with the later configured value). [ISC-Bugs #15533]
2006-07-20 16:04:03 +00:00
David Hankins
2426234f7c - Failover pairs now implement 'MAC Affinity' on leases moving from the
active to free states.  Leases that belonged to the failover secondary
  are moved to BACKUP state rather than FREE upon exiting EXPIRED state.
  If lease rebalancing must move leases, it tries first to move leases
  that belong to the peer in need.
- The server no longer sends POOLREQ messages unless the pool is severely
  misbalanced in the peer's favor (see 'man dhcpd.conf' for more details).
- Pool rebalance events no longer happen upon successfully allocating a
  lease.  Instead, they happen on a schedule.  See 'man dhcpd.conf' for the
  min-balance and max-balance statements for more information.

  [ISC-Bugs #13308]
2006-06-16 19:26:45 +00:00
David Hankins
1db5e2c079 Less silly configuration syntax for infinite lease-time marking reservations.
Documentation++. [ISC-Bugs #16166]
2006-06-15 17:49:49 +00:00
David Hankins
41c3f761a3 - rt15979 integration error repairs [ISC-Bugs #16132] 2006-06-02 17:11:49 +00:00
David Hankins
f7fdb21693 - Varying option space code and length bit widths (8/16/32) are now
supported.  This is a milestone in acheiving RFC 3925 "VIVSO" and
  DHCPv6 support. [ISC-Bugs #15979]
2006-06-01 20:23:18 +00:00
David Hankins
d31555c9e9 Correcting an uninitialized use warning on HEAD [ISC-Bugs #16025]. 2006-05-11 16:35:56 +00:00
David Hankins
3a16098f0b Pulling work between V3-0-4B3 and present v3-release-branch to HEAD. 2006-05-05 20:32:31 +00:00
David Hankins
a55ccdd037 - Support for 'reserved' (psuedo-static) and BOOTP leases via failover
was introduced. [ISC-Bugs #13672]
- The failover implementation was updated to comply with revision 12 of
  the protocol draft. [ISC-Bugs #13672]
2006-04-27 17:26:42 +00:00
David Hankins
88cd8aca9e - Merge changes between 3.0.3RC1 and 3.0.4-BETA-3 into HEAD (silence
robie).
2006-02-24 23:16:32 +00:00
David Hankins
06e77c34fb Corrections to changes made on HEAD pursuant to review of changes between
V3.0.3 and HEAD.  [ISC-Bugs #15348]
2005-09-30 17:57:32 +00:00
David Hankins
98311e4ba9 MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Ted Lemon
a609e69bba sync with branch 2001-08-10 10:50:50 +00:00
James Brister
f3fe382d68 Fixes for QoS support. 2001-07-10 20:36:06 +00:00
Ted Lemon
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
James Brister
899d754f27 OMAPI class and subclass support. 2001-06-22 16:47:20 +00:00
Ted Lemon
dc66a99558 Add line-oriented argument to new_parse(). 2001-05-02 07:11:38 +00:00
Ted Lemon
ed1dc2c57c Fix (I hope!) the billing-class bug. 2001-04-30 22:38:34 +00:00
Ted Lemon
f545ef7f0d Fix a billing class counting error 2001-04-27 22:23:44 +00:00
Ted Lemon
3417f5cf6a Add recover_wait state goo. 2001-04-20 18:07:29 +00:00
Ted Lemon
6f8a0361b4 - Default tstp if none is specified.
- Default initial state to recover instead of potential_conflict.
- Allow star-time-of-state to be left unspecified.
2001-04-16 22:25:04 +00:00
Ted Lemon
aaafa64a66 Release old billing class when parsing new billing class. 2001-04-06 05:52:19 +00:00
Ted Lemon
a3cd7f284e Set lease -> uid_max. 2001-03-17 02:02:20 +00:00
Ted Lemon
7ebf32da1b Don't stash uid_len until we know we have a uid. 2001-03-17 01:24:59 +00:00
Ted Lemon
b3519f23f1 Support NUL characters in STRING tokens. 2001-03-17 00:47:39 +00:00
Ted Lemon
0b69dcc870 Change EOF to END_OF_FILE in tokenizer for enum compatibility. 2001-03-01 18:17:09 +00:00
Ted Lemon
662df45ac0 Fix some trace-related ifdefs. 2001-02-12 21:59:31 +00:00