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
Francis Dupont
be62cf0675 finer granularity timers 2008-01-03 00:30:14 +00:00
Francis Dupont
1d9774ab57 Cleanup IA_NA dependencies 2008-01-02 23:47:22 +00:00
Francis Dupont
c4fea0db1c Fix reserved IID stuff for compiler warnings & co 2007-12-28 11:35:41 +00:00
Francis Dupont
640de8ed02 Oops, typo in the previous commit 2007-12-28 11:19:09 +00:00
Francis Dupont
900405e957 Don't be fooled by rapid-commit in the NoAddrsAvail case 2007-12-28 11:14:26 +00:00
Francis Dupont
72073970c2 fix 'unicast' comments 2007-12-28 10:52:05 +00:00
Francis Dupont
0674055a49 Better control over allocated IID 2007-12-28 09:46:42 +00:00
Francis Dupont
bb7b6f7633 hash type fix 2007-12-21 11:56:01 +00:00
David Hankins
f71bc98898 - A bug in failover pool rebalancing that caused POOLREQ message ping-pongs
was repaired.  [ISC-Bugs #17228]

- A flaw in failover pool rebalancing that could cause POOLREQ messages to
  be sent outside of the min-balance/max-balance scheduled intervals has
  been repaired.  [ISC-Bugs #17228]
2007-12-18 18:04:22 +00:00
Shane Kerr
1dcc361260 Fixed definition of iaaddr hash to use correct reference and dereference
functions.
See RT ticket #17371 for more.
2007-12-18 17:01:48 +00:00
David Hankins
99363a7414 - A cosmetic bug during potential-conflict recovery that caused the peer's
'conflict-done' state message to be logged as 'unknown-state' has been
  repaired.  It is now logged correctly.  [ISC-Bugs #17204]
2007-12-13 16:59:10 +00:00
David Hankins
00638355f1 - The 'min-secs' configuration parameter's log message has been updated to
be more helpful.  [ISC-Bugs #17299]
2007-12-13 16:56:24 +00:00
David Hankins
3c12f7461b - The warning logged when an address range doesn't fit in the subnets
they were declared has been updated to be more helpful and identify the
  typo in configuration that created the spanning addresses.
  [ISC-Bugs #17270]
2007-12-13 16:50:17 +00:00
David Hankins
61d75ea2cf - The reverse dns name for PTR updates on IPv6 addresses has been fixed to
use ip6.arpa. rather than default to in-addr.arpa and require user
  configuration.  [ISC-Bugs #17356]
2007-12-11 00:11:22 +00:00
Shane Kerr
76db44f9d6 Always send preference if it is configured.
See RT ticket #17353 for more.
2007-12-08 18:09:32 +00:00
David Hankins
9f1d5a2f4c - A bug was fixed where the DHCPv6 server puts the NoAddrsAvail status
code in the IA_NA was fixed.  The status code now appears in the root
  level.  [ISC-Bugs #17316b]
2007-12-06 00:08:44 +00:00
Shane Kerr
b9137d42af Insure we let people Request addresses that we suggested in Advertise.
See RT ticket #17302 for more.
2007-12-06 00:07:12 +00:00
David Hankins
0c5673bc78 automake regeneration 2007-12-05 19:42:57 +00:00
David Hankins
821f2dda54 - A reference overleak in DHCPv6 shared network processing was repaired.
[ISC-Bugs #17337]
2007-12-04 21:00:39 +00:00
Shane Kerr
6f76de5884 Properly ignore address hints if we cannot supply them.
See RT ticket #17303 for details.
2007-12-02 23:19:02 +00:00
Francis Dupont
20ae1affb0 almost editorial stuff 2007-11-30 21:51:43 +00:00
Francis Dupont
4f963ddc52 the DHCPv6 server now replies to Information-Request messages 2007-11-30 21:02:56 +00:00
David Hankins
b024480eba - The server now limits clients that request multiple addresses to one
address per IA by default, which can be adjusted through the
  "limit-addrs-per-ia" configuration option.  [ISC-Bugs #17271]
2007-11-20 18:34:37 +00:00
Shane Kerr
6e999c3c8a Unit test framework now added.
See RT ticket #17223 for more.
2007-11-16 11:04:12 +00:00
David Hankins
bead14ea8b - The server will now include multiple IA_NA's and multiple IAADDRs within
them, if advertised by the client.  It still only seeks to allocate one
  new address. [ISC-Bugs #17254]
2007-11-14 23:44:46 +00:00
David Hankins
290b43b9cb Remove unreviewed sources from HEAD. 2007-11-06 18:31:36 +00:00
Evan Hunt
65cf86d7ab Clarify error message when lease limit reached. [rt17010] 2007-11-02 22:09:02 +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
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