2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00
Commit Graph

1378 Commits

Author SHA1 Message Date
Francis Dupont
80c9fdb0e7 Add IA_TA and IA_PD support in server 2008-02-20 12:45:53 +00:00
Francis Dupont
892379eca3 Improve NoAddrsAvail & co 2008-02-16 12:15:05 +00:00
Francis Dupont
e2cfde76ba no hardware parameter in DHCPv6 2008-02-15 18:24:56 +00:00
Francis Dupont
7e9f7a1bcf fix DUID-LTT epoch 2008-02-15 18:18:54 +00:00
David Hankins
087b8f18ad - Do not delay-ack STATIC leases.
- Use lease referencers to maintain reference count on the lease structure.
- Log an error if you encounter a lease with no transmit-state.
o These changes were to a feature that has not yet been publically released,
  so there is no RELNOTES entry.
2008-01-28 18:21:06 +00:00
Francis Dupont
a8ac02a436 Fixed DHCPv6 rapid commit support 2008-01-24 10:55:34 +00:00
Evan Hunt
dccb6edf66 Updated copyright strings for 4.1.0a1 release 2008-01-24 02:43:06 +00:00
Evan Hunt
575e64d6aa automake regeneration 2008-01-24 02:20:10 +00:00
Evan Hunt
28ccc50f57 Oh guess what, this is 2008, not 2007... 2008-01-24 02:17:41 +00:00
Evan Hunt
771484ac04 Exit with warning when DHCPv6 config is used but -6 isn't specified [rt17334] 2008-01-22 18:48:04 +00:00
David Hankins
6368a1bd72 - Multiple (up to "delayed-ack x;" maximum) DHCPv4 packets are now queued and
released in bursts after single fsync() events when the upper limit is
  reached or if the receiving sockets go dry.  The practical upshot is
  that fsync-coupled server performance is now multiplicitively increased.
  The default delayed ack limit is 28.  Thanks entirely to a patch from
  Christof Chen.
2008-01-21 19:53:21 +00:00
David Hankins
ffdf3c8cb9 - When a failover server suspects it has encountered a peer running a
version 3.0.x failover server, a warning that the failover wire protocol
  is incompatible is printed.  [ISC-Bugs #17129]
- The failover server no longer issues a floating point error if it encounters
  a previously undefined option code.  [ISC-Bugs #17129]
2008-01-21 19:05:20 +00:00
Evan Hunt
022fe95e5e Allow lease "ends" vaule to be updated by OMAPI. [rt17033] 2008-01-18 02:05:09 +00:00
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
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
2574fdb165 Declare variables prior to code so as to produce code that can be compiled
without C99 compliance.
2008-01-08 17:51:01 +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
a16d908beb mistake in merging 2008-01-08 16:12:07 +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
Shane Kerr
c998be8767 Build fix for non-DHCPv6 compilation.
See RT ticket #17367 for more.
2008-01-08 11:31:13 +00:00
Francis Dupont
f415516ee6 spelling error in a message 2008-01-03 09:48:42 +00:00
Shane Kerr
f6188435ab One conversion to sub-second timers missed. 2008-01-03 09:46:59 +00:00
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