2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00
Commit Graph

1376 Commits

Author SHA1 Message Date
Paul Selkirk
d453265fd2 add a null check to avoid primary crash on contact with secondary [rt19705] 2009-07-16 19:48:45 +00:00
David Hankins
86f1d4b723 - Versions 3.0.x syntax with multiple name->code option definitions is now
supported.  Note that, similarly to 3.0.x, for by-code lookups only the
  last option definition is used.  [ISC-Bugs #17613]
2009-07-16 18:02:28 +00:00
David Hankins
a1308b646d - Fixed a bug where relay agent options would never be returned when
processing a DHCPINFORM.  [ISC-Bugs #19303]
2009-07-06 23:33:23 +00:00
David Hankins
9e3eb22ab7 - A new failover configuration parameter has been introduced for those
environments where DHCP servers can be reasonably guaranteed to be
  "down" when the failover TCP socket is severed, "auto-partner-down".
  This parameter is not generally safe, and by default is disabled, so
  please carefully review the documentation of this parameter in the
  dhcpd.conf(5) manpage before determining to use it yourself.
  [ISC-Bugs #19600]
2009-06-17 22:08:42 +00:00
David Hankins
792156a904 - A bug was fixed that caused the 'conflict-done' state to fail to be parsed
in failover state records.  [ISC-Bugs #19739]
2009-06-17 21:42:04 +00:00
David Hankins
350576c5d4 - Fixed a bug where an OMAPI socket disconnection message would not result
in scheduling a failover reconnection, if the link had not negotiated a
  failover connect yet (e.g.: connection refused, asynch socket connect()
  timeouts).  [ISC-Bugs #19684]
2009-05-20 23:58:53 +00:00
David Hankins
53883ced69 Update comment to explain absence of adjustment to g-bit. 2009-05-18 22:50:33 +00:00
David Hankins
dedde1ba35 - Fixed failover reconnection retry code to continue to retry to reconnect
rather than restarting the listener.  [ISC-Bugs #19618]
2009-04-22 20:27:58 +00:00
David Hankins
95fd7038a2 - Memory leak in the load_balance_mine() function is fixed. This would
leak ~20-30 octets per DHCPDISCOVER packet while failover was in use
  and in normal state. [ISC-Bugs #19548]

- Various compilation fixes have been included for the memory related
  DEBUG #defines in includes/site.h.  [ISC-Bugs #19548]
2009-04-07 19:55:52 +00:00
Jeremy Reed
e6b3a14046 Fix typo.
(reported via contact form from Aleksander mealstrom@ukr.net.)
Bug: #19536
2009-03-30 18:28:55 +00:00
David Hankins
78f16d27d4 automake regeneration 2009-03-25 18:28:16 +00:00
Jeremy Reed
532c031e02 Fix typo. 2009-03-24 16:56:15 +00:00
David Hankins
d340bc24fc - Failover port configuration can now be left to defaults (port 647) as
described in the -12 revision of the Failover draft (and assigned by
  IANA).  [ISC-Bugs #17738]
2009-02-20 18:20:00 +00:00
David Hankins
26e59ee99b - Using reserved leases no longer results in 'lease with binding state
free not on its queue' error messages, thanks to a patch from Frode
  Nordahl. [ISC-Bugs #19274]
2009-01-30 22:31:22 +00:00
David Hankins
64e1823d54 - The db-time-format option was documented in manpages. [no ticket] 2009-01-22 21:22:42 +00:00
Shawn Routhier
ae56655628 Update for 19054 - modifications to keep GCC 4.3 happy 2009-01-22 00:43:58 +00:00
David Hankins
1aa0fe5e3e - A bug was fixed that caused the server not to answer some valid Solicit
and Request packets, if the dynamic range covering any requested addresses
  had been deleted from configuration.  [ISC-Bugs #19134]
2009-01-07 20:12:03 +00:00
Shawn Routhier
59112e84f5 Validate argument to port option - bug 18695 2009-01-06 00:32:19 +00:00
Jeremy Reed
d4d2c4751d Mention atsfp and cltt.
This is for my bug # 18914.
This is also documented in dhcpd.8 manual page.

(Still need to make sure dhcpd.8 is clear about the
purpose of atsfp and about any problems when upgrading.)
2008-11-20 15:18:28 +00:00
David Hankins
fbcee149f8 - Delayed-ack is now a compile-time option, compiled out by default.
This feature is simply too experimental for right now, and causes
  some problems to some failover installations.  We will revisit this
  in future releases.  [ISC-Bugs #18832]
2008-11-03 18:13:58 +00:00
Francis Dupont
783259b1cc Improve IA_TA server support (17586) 2008-10-22 11:41:58 +00:00
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