2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

1205 Commits

Author SHA1 Message Date
David Hankins
1387545ff7 - Some failover debugging #defines have been better defined and some
high frequency messages moved to a deeper debugging symbol.

- The CLTT parameter in failover is now only updated by client activity,
  and not by failover binding updates (taking on the peer's CLTT).

- Failover BNDUPD messages are now discarded if they conflict with an
  update that has been trasnmitted, but not acknowledged.

  [ISC-Bugs #17577c]
2008-09-24 16:18:56 +00:00
David Hankins
a4ffedd162 - A cosmetic bug in DHCPDECLINE processing was fixed which caused all
successful DHCPDECLINEs to be logged as "not found" rather than
  "abandoned".  [ISC-Bugs #18605]
2008-09-11 16:11:46 +00:00
David Hankins
dd484ced0d - Compliation warnings on GCC 4.3 relating to bootp source address
selection were repaired.  [ISC-Bugs #18520]
2008-08-20 23:07:19 +00:00
David Hankins
8fbb55ff3f - A partner-down failover server no longer emits 'peer holds all free leases'
if it is able to newly-allocate one of the peer's leases.  [ISC-Bugs #18437]
2008-08-19 18:00:24 +00:00
David Hankins
7d6180be3e - A bug in subnet6 parsing where options contained in subnet6 clauses would
not be applied to clients addressed within that network was repaired.

- When configuring a "subnet {}" or "subnet6 {}" without an explicit
  shared-network enclosing it, the DHCP software would synthesize a
  shared-network to contain the subnet.  However, all configuration
  parameters within the subnet more intuitively belong "to any client
  on that interface", or rather the synthesized shared-network.  So,
  when a shared-network is synthesized, it is used to contain the
  configuration present inside the subnet {} clause.  This means that
  the configuration will be valid for all clients on that network, not
  just those addressed out of the stated subnet.  If you intended the
  opposite, the workaround is to explicitly configure an empty
  shared-network.

- A bug was fixed where Information-Request processing was not sourcing
  configured option values.

- A warning was added since the DHCPv6 processing software does not yet
  support class statements.

  [ISC-Bugs #17638b]
2008-08-19 17:55:57 +00:00
Evan Hunt
51e7687feb Fixed a bug that caused some request types to be logged incorrectly [rt17987] 2008-07-18 01:04:58 +00:00
Evan Hunt
edcb5c469f Corrected list of failover state values in dhcpd man page. [rt17999] 2008-07-17 06:17:57 +00:00
Jeremy Reed
4408ba6133 Fix several typos/mispellings. 2008-06-30 17:37:47 +00:00
David Hankins
237bfdc924 regen 2008-06-11 23:13:30 +00:00
Evan Hunt
61220a0091 Fix a coredump when adding a class via OMAPI [rt17162] 2008-05-06 22:59:51 +00:00
Francis Dupont
1d17db44a7 rename iaaddr structure & co 2008-03-31 13:49:45 +00:00
David Hankins
9ac4206a63 - DHCPv6 vendor-class options (VSIO) are now only sent when they appear
on the DHCPv6 ORO.  This resolves a bug where VSIO options were placed
  in IA_NA encapsulated options fields.  [ISC-Bugs #17852]
2008-03-24 17:55:45 +00:00
David Hankins
4619c0a2fb - A memory leak when using omapi has been fixed. [ISC-Bugs #17560] 2008-03-18 18:28:14 +00:00
Francis Dupont
6027d38fc9 fix 17383/17422 pb 2008-03-17 15:48:05 +00:00
Francis Dupont
1acab09f0b Improve DHCPv6 leasequery 2008-03-17 15:45:05 +00:00
Francis Dupont
9322442f8a Merged IA_XXrelated structures 2008-03-17 15:35:37 +00:00
Francis Dupont
bd72740e3c Prefix pools are attached to shared network scopes 2008-03-17 15:25:49 +00:00
Evan Hunt
c40e954c55 Check whether files are zero length before parsing them [rt17757] 2008-03-07 20:12:44 +00:00
David Hankins
b445a411d9 - Shared network selection should be done from the innermost relay
valid link-address field, rather than the outermost.  [ISC-Bugs #17764]
2008-03-07 17:49:31 +00:00
Francis Dupont
93c769cef9 fix dhcpv6_relay_forw inits 2008-03-07 16:19:46 +00:00
David Hankins
f8cbf390af - There is now a default 1/4 of a second scheduled delay between delayed
fsync()'s, it can be configured by the max-ack-delay configuration
  parameter.  [ISC-Bugs #17679]
2008-02-28 23:40:45 +00:00
David Hankins
66cebfcb89 - ./configure was extended to cover many optional build features, such
as failover, server tracing, debugging, and the execute() command.
  [ISC-Bugs #17678]
2008-02-28 21:21:56 +00:00
David Hankins
63971a8323 - Ari Edelkind's PARANOIA patch has been included and may be compiled in
via two ./configure parameters, --enable-paranoia and
  --enable-early-chroot.  [ISC-Bugs #17611]
2008-02-27 21:22:17 +00:00
Francis Dupont
843ae4c595 fix nits 2008-02-27 09:12:04 +00:00
Francis Dupont
37ec58458c Basic and partial DHCPv6 leasequery support 2008-02-26 23:45:05 +00:00
Francis Dupont
5d89d60f14 Soft binding side-effects 2008-02-21 10:31:25 +00:00
Francis Dupont
2b964ac0c7 ERO(RFC 4994) server support 2008-02-20 23:12:34 +00:00
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