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

604 Commits

Author SHA1 Message Date
David Hankins
219a65eb6e - Fixed a compilation problems on platforms that define a value for FDDI,
which conflicts with a dhcp configuration syntax token by the same name.
  [ISC-Bugs #16898]
2008-01-16 22:57:01 +00:00
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
Shane Kerr
c4d29896d3 Build fix for OS X Leopard (10.5).
See RT ticket #17406.
2008-01-11 14:00:06 +00:00
Shane Kerr
cff9b78fca Build fixes for Solaris 9.
See RT ticket #17444 for more.
2008-01-09 23:02:42 +00:00
David Hankins
2c9bf1f4bf - The minimum site code value was set to 224 in 3.1.0 to track RFC3942. This
broke a lot of legacy site local configurations.  The new code in place will
  track site local space minimum option codes and logs a warning to encourage
  updates and exploration of site local code migration problems.  Option
  codes less than 128 in site local spaces remain inaccessible.
  [ISC-Bugs #17203]
- A possible relay agent option bug was repaired where random server
  initialization state may have been used to signal the relay agent
  information options sub-option code for the 'END' of the option space.
  [ISC-Bugs #17203]
2008-01-09 17:13:16 +00:00
David Hankins
41d4652fd5 - A log message was introduced to clarify the situation where a failover
'address' parameter (the server's local address) did not resolve to an
  IPv4 address.  [ISC-Bugs #15826]
2008-01-08 16:22:23 +00:00
David Hankins
49f61135b3 - A bug was fixed where the 'giaddr' may be used to find the client's subnet
rather than its own 'ciaddr'.  [ISC-Bugs #16627]
2008-01-08 16:09:32 +00:00
Francis Dupont
be62cf0675 finer granularity timers 2008-01-03 00:30:14 +00:00
Francis Dupont
96b620e5a2 Fix release of empty IPv6 active lease 2007-12-30 18:49:56 +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
b51c785f98 Unicast options are taken into account only for RENEWs 2007-12-28 10:20:41 +00:00
Francis Dupont
0674055a49 Better control over allocated IID 2007-12-28 09:46:42 +00:00
Francis Dupont
aabfa4de4c Some definitions not in phase with the IANA registry were updated 2007-12-20 21:58:38 +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
b947f98305 release date++ 2007-12-11 00:11:49 +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
Evan Hunt
e32529a528 dhc6_lease_destroy() and dhc6_ia_destroy() now set lease and IA
pointers to NULL after freeing, to prevent subsequent accesses to freed
memory.  [rt17352]
2007-12-08 19:36:00 +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
c76a506e94 Release to 4.0.0rc1. 2007-12-06 01:08:46 +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
f8b3c6f42b - ./configure now autodetects local database locations rather than trying
to put dhcpd.leases and dhclient.leases in /usr/local/var/db, which no
  one ever has.  [ISC-Bugs #17268]
2007-12-05 19:41:29 +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
David Hankins
e5d8352416 - A bug was fixed that caused the DHCPv6 ORO option to be corrupted with
seemingly random values. [ISC-Bugs #17305]
2007-12-03 22:17:58 +00:00
Francis Dupont
c54db70868 fix dhcp6.status-code success parsing 2007-12-03 19:10:19 +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
David Hankins
838358228b Document changes to dhclient-script. 2007-12-02 21:00:24 +00:00
Francis Dupont
1ac571730f Add an entry about Information-Request support by the server. 2007-11-30 21:04:43 +00:00
David Hankins
c0216cb7c9 - The DHCPv6 client now issues fresh transaction IDs on Renew and Rebind
message exchanges, rather than using the most recent ID.  [ISC-Bugs #17300]
2007-11-20 21:07:12 +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
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
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
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
5c2d55c729 Add note for merges of 17090 and 17250 (which I forgot to do before) 2007-10-27 05:39:59 +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
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
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