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

3093 Commits

Author SHA1 Message Date
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
David Hankins
703873ab37 - If the client had multiple addresses, and one expired (was not renewed
by the server), the client would continue to attempt to renew the same
  old address over and over.  Now, the client will omit any expired
  addresses from future Confirm, Renew, or Rebind messages.  [ISC-Bugs #17266]
- dhclient -6 will now select renew/rebind timers based upon the longest
  address expiration time rather than the shortest expiration time, in
  order to avoid cascading renewals in the event a server elects not to
  extend one of multiple IAADDR leases.  [ISC-Bugs #17266]
2007-11-20 18:33:07 +00:00
Francis Dupont
a0006737bb spelling 2007-11-19 22:21:25 +00:00
Shane Kerr
f7768ce184 regen 2007-11-16 11:20:56 +00:00
Shane Kerr
fec8806ae5 autoconf regeneration 2007-11-16 11:08:57 +00:00
Shane Kerr
22a3cd2738 automake regeneration + added forgotten example tests 2007-11-16 11:08:33 +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
b9ced02868 autoconf regeneration v4_0_0b3 2007-11-14 23:49:40 +00:00
David Hankins
15fcbe9a02 automake regeneration 2007-11-14 23:49:28 +00:00
David Hankins
573deb2379 autoheader regeneration 2007-11-14 23:49:09 +00:00
David Hankins
359e031d8c aclocal regeneration 2007-11-14 23:48:55 +00:00
David Hankins
66269cce1c To version 4.0.0b3. 2007-11-14 23:48:34 +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
8b1cb22681 Don't segfault on NULLs. 2007-11-07 19:42:18 +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
5c2d55c729 Add note for merges of 17090 and 17250 (which I forgot to do before) 2007-10-27 05:39: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
6b911c8634 remove redundant dhcp-dhcp 2007-10-25 17:02:33 +00:00
David Hankins
4479e089d4 autoconf regeneration v4_0_0b2 2007-10-24 17:04:24 +00:00
David Hankins
92f55004fd automake regeneration 2007-10-24 17:04:20 +00:00
David Hankins
ce603a5cf8 autoheader regeneration 2007-10-24 17:04:15 +00:00
David Hankins
3304006fe0 aclocal regeneration 2007-10-24 17:04:12 +00:00
David Hankins
50342d5a92 Version to 4.0.0b2. 2007-10-24 17:04:01 +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
c71c6399b1 - sendmsg()/recvmsg() control buffers are now declared in such a way to
ensure they are correctly aligned on all (esp. 64-bit) architectures.
  [ISC-Bugs #17087b]
2007-10-23 21:39:56 +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
f765ec3672 Forgot to update RELNOTES on RT ticket #17196. 2007-10-09 08:17:55 +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
8f77e28611 autoconf regeneration 2007-10-08 14:32:06 +00:00
David Hankins
3ed187ed00 automake regeneration 2007-10-08 14:32:04 +00:00
David Hankins
f19ee83f3b autoheader regeneration 2007-10-08 14:31:59 +00:00
David Hankins
64d34e78bd aclocal regeneration 2007-10-08 14:31:56 +00:00
David Hankins
2394b26b27 - Additional compilation problems on HP/UX have been repaired.
[ISC-Bugs #17201]
2007-10-08 14:27:53 +00:00
David Hankins
8bfe717e86 *** empty log message *** v4_0_0b1 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
2386325871 autoconf regeneration 2007-10-05 19:42:17 +00:00
David Hankins
d1902ae408 automake regeneration 2007-10-05 19:42:13 +00:00
David Hankins
7a6eaf2b54 autoheader regeneration 2007-10-05 19:42:07 +00:00
David Hankins
bfd44081ae aclocal regeneration 2007-10-05 19:42:04 +00:00
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
David Hankins
9ab0cc6a46 Client bugs introduced in development repaired. [ISC-Bugs #17192] 2007-10-05 14:47:43 +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
745f28bc63 s/PIv6/IPv6/ 2007-10-04 17:13:25 +00:00