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
Shawn Routhier
5a38e43f6f Documentation cleanup covering multiple tickets
[ISC-Bugs #20265] [ISC-Bugs #20259] minor cleanup
  [ISC-Bugs #20263] add text describing some default values
  [ISC-Bugs #20193] single quotes at the start of a line indicate a control
  line to nroff, escape them if we actually want a quote.
  [ISC-Bugs #18916] sync the pointer to web pages amongst the different docs
2010-07-02 23:09:15 +00:00
Shawn Routhier
2b58b8650e Modify determination of ttl to use for DDNS update [ISC-Bugs #21126] 2010-05-27 17:19:26 +00:00
David Hankins
0d8c3d6eed - A bug was fixed that could cause the DHCPv6 server to advertise/assign a
previously allocated (active) lease to a client that has changed subnets,
  despite being on different shared networks.  Dynamic prefixes specifically
  allocated in shared networks also now are not offered if the client has
  moved.  [ISC-Bugs #21152]
2010-05-25 17:40:28 +00:00
Shawn Routhier
1e05d095c2 Don't include lease time information in the response to a DHCPINFORM
request.  We do this by removing any time information from the option
cache before building the reponse packet.  Bug ticket 21092.
2010-04-20 23:20:20 +00:00
David Hankins
7c7515b9bd Fix misspelled comment (infomation->information). Note that I do not actually
understand the rest of the comment, and that may be worth repairing...
2010-04-14 19:08:55 +00:00
David Hankins
cf6bc0dad5 Adding missing files. 2010-03-25 15:23:31 +00:00
David Hankins
1b658b9b70 automake regeneration 2010-03-24 23:35:11 +00:00
David Hankins
33692791d7 - "The LDAP Patch" that has been circulating for some time, written by
Brian Masney and S.Kalyanasundraram and maintained for application to
  the DHCP-4 sources by David Cantrell has been included.  Please be
  advised that these sources were contributed, and do not yet meet the
  high standards we place on production sources we include by default.
  As a result, the LDAP features are only included by using a compile-time
  option which defaults off, and if you enable it you do so under your
  own recognizance.  We will be improving this software over time.
  [ISC-Bugs #17741]
2010-03-24 21:49:03 +00:00
Shawn Routhier
0585235c45 Update the fsync batching patch to work with the isc libraries - 21044 2010-03-12 01:36:57 +00:00
Shawn Routhier
7aa153b882 Primarly fix the trace code. This was broken during the modfictions of the
DDNS code to use the bind libraries.  This patch fixes that breakage and
includes support for the new DDNS code.  This patch also deletes some dead
code and neatens up some log messages.
2010-02-11 23:55:36 +00:00
David Hankins
fdfebedf3e - An optimization described in the failover protocol draft is now included,
which permits a DHCP server operating in communications-interrupted state
  to 'rewind' a lease to the state most recently transmitted to its peer,
  greatly increasing a server's endurance in communications-interrupted.
  This is supported using a new 'rewind state' record on the dhcpd.leases
  entry for each lease.  [ISC-Bugs #19601]
2010-02-03 23:25:25 +00:00
Shawn Routhier
a35285748d Clean up some compiler warnings 2010-02-02 00:44:06 +00:00
David Hankins
3c941d426d - Cleaned up an unused hardware address variable in nak_lease().
[ISC-Bugs #15382]
2010-02-01 22:03:15 +00:00
Francis Dupont
d1f31a0065 _GNU_SOURCE fixes 2010-01-23 08:49:32 +00:00
David Hankins
928618dd72 - When using 'ignore client-updates;', the FQDN returned to the client
is no longer truncated to one octet.  [ISC-Bugs #20743]
2009-12-17 20:04:35 +00:00
Shawn Routhier
a47d63362f Update copyright years 2009-11-24 02:06:57 +00:00
Mark Andrews
fed0952fbb chaddr was not being set on all paths leading to a compiler warning 2009-11-23 21:19:25 +00:00
David Hankins
c900c5b249 - The 'hardware [ethernet|etc] ...;' parameter in host records has been
extended to attempt to match DHCPv6 clients by the last octets of a
  DUID-LL or DUID-LLT provided by the client.  [ISC-Bugs #19599]
2009-11-19 23:57:41 +00:00
Shawn Routhier
bd0b98c170 Ticket 19830 - enhancment to allow use of host-identifier syntax for DHCPv4
as well as for DHCPv6
2009-11-10 21:12:23 +00:00
Shawn Routhier
3da01c08ba automake regeneration 2009-10-28 04:15:26 +00:00
Shawn Routhier
98bf16077d Support for asynchronous ddns per ticket 19216 - convert to using isclib and
dnslib.
2009-10-28 04:12:30 +00:00
David Hankins
2267da8477 - Both host and subnet6 configuration groups are now included whether a
fixed-address6 (DHCPv6) is in use or not.  Host scoped configuration takes
  precedence.  This fixes two bugs, one where host scoped configuration
  would not be included from a non-fixed-address6 host record, and the equal
  and opposite bug where subnet6 scoped configuration would not be used when
  over-riding vlaues were not present in a matching fixed-address6 host
  configuration.  [ISC-Bugs #20069]
2009-09-30 20:59:59 +00:00
Jeremy Reed
29728510c5 For BUG #20245: man page - clarification of partner-down instructions.
I was told off-list this was agreed by Ebersman, Hankins, and Shane.
2009-09-14 18:51:46 +00:00
David Hankins
5a671e8715 *** empty log message *** 2009-09-11 18:13:12 +00:00
David Hankins
f02c8db4da - s/%ul/%lu/ in failover timing debug logs. This bug was introduced in
4.2 feature development, so no RELNOTES entry has been made.
  [ISC-Bugs #20161]
2009-09-08 17:37:31 +00:00
David Hankins
95f5d38cb3 - Fixed a fenceposting bug when a client had two host records configured,
one using 'uid' and the other using 'hardware ethernet'.  [ISC-Bugs #19895]
2009-07-24 17:21:52 +00:00
Shawn Routhier
2c85ac9b24 Switch isc urls from http to https and correct sw to services or software
for new web site as appropirate.
2009-07-23 18:52:21 +00:00
David Hankins
b8d45c67ea - Secondary servers in a failover pair will now perform ddns removals if
they had performed ddns updates on a lease that is expiring, or was
  released through the primary.  As part of the same fix, stale binding scopes
  will now be removed if a change in identity of a lease's active client is
  detected, rather than simply if a lease is noticed to have expired (which it
  may have expired without a failover server noticing in some situations).
  [ISC-Bugs #19826b]
2009-07-22 17:00:01 +00:00
Paul Selkirk
32fd12cc74 update copyright 2009-07-16 22:01:26 +00:00
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