2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

3352 Commits

Author SHA1 Message Date
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
3e29af1e72 Don't look for IPv6 interfaces on Linux when running in DHCPv4 mode. [RT#18721,19367,19511] 2009-07-16 21:44:55 +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
1b12d9993b RELNOTES entry for previous change was erroneously attributed to 4.1.0's
alpha/beta cycle rather than 4.2's track.
2009-07-16 18:08:30 +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
33ea4622a8 - Added a configuration function, 'gethostname()', which calls the system
function of the same name and presents the results as a data expression.
  This function can be used to incorporate the system level hostname of
  the system the DHCP software is operating on in responses or queries (such
  as including a failover partner's hostname in a dhcp message or binding
  scope, or having a DHCP client send any system hostname in the host-name or
  FQDN options by default).  [ISC-Bugs #17351]
2009-07-06 23:29:52 +00:00
David Hankins
8ef5db715e Search for '-' in 'client-hostname' at correct index. [ISC-Bugs #19840] 2009-06-20 15:45:50 +00:00
David Hankins
8a4e543b51 ! A stack overflow vulnerability was fixed in dhclient that could allow
remote attackers to execute arbitrary commands as root on the system,
  or simply terminate the client, by providing an over-long subnet-mask
  option.  [ISC-Bugs #19839]
2009-06-19 23:24:19 +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
Paul Selkirk
a41d7a251e pull up rt19436: client -D option 2009-05-27 20:11:38 +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
a9b832a756 autoconf regeneration 2009-04-30 18:48:00 +00:00
David Hankins
92054c4a51 automake regeneration 2009-04-30 18:47:56 +00:00
David Hankins
f7303760a7 autoheader regeneration 2009-04-30 18:47:13 +00:00
David Hankins
7c548c7856 aclocal regeneration 2009-04-30 18:46:57 +00:00
David Hankins
a57df74a1a - Compilation on Solaris with USE_SOCKETS defined in includes/site.h has
been repaired.  Other USE_ overrides should work better. [ISC-Bugs #19434]

- A check for the local flavor of IFNAMSIZ had a broken 'else' condition,
  that probably still resulted in the correct behaviour (but wouldn't use
  a larger defined value provided by the host OS). [ISC-Bugs #19434]
2009-04-30 18:42:52 +00:00
Mark Andrews
62f6843db6 Remove infinite loop in token_print_indent_concat(). 2009-04-30 06:30:27 +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
Paul Selkirk
8a3c1e33d0 pull up from rt18597 to HEAD 2009-04-21 14:09:57 +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
a3dcc0b1c5 - The update-conflict-detection feature would leave an FQDN updated without
a DHCID (still currently implemented as a TXT RR).  This would cause later
  expiration or release events to fail to remove the domain name.  The feature
  now also inserts the client's up to date DHCID record, so records may safely
  be removed at expiration or release time.  Thanks to a patch submitted by
  Christof Chen.  [ISC-Bugs #19500]
2009-03-26 17:20:23 +00:00
David Hankins
9228099ec4 autoconf regeneration 2009-03-25 18:28:23 +00:00
David Hankins
78f16d27d4 automake regeneration 2009-03-25 18:28:16 +00:00
David Hankins
dd0e62cba5 autoheader regeneration 2009-03-25 18:27:49 +00:00
David Hankins
e4eef8738b aclocal regeneration 2009-03-25 18:26:46 +00:00
David Hankins
05ae2d1598 license, HEAD version to 4.2.0 for now. 2009-03-25 18:25:37 +00:00
David Hankins
a574312062 include doc/examples in distribution tarball 2009-03-25 18:23:00 +00:00
David Hankins
f9453d21f2 - A bug in DLPI packet transmission (Solaris, HP/UX) that caused the server
to stop receiving packets is fixed.  The same fix also means that the MAC
  address will no longer appear 'bogus' on DLPI-based systems.
  [ISC-Bugs #19186]

- A bug in select handling was discovered where the results of one select()
  call were discarded, causing the server to process the next select() call
  and use more system calls than required.  This has been repaired - the
  sockets will be handled after the first return from select(), resulting in
  fewer system calls.  [ISC-Bugs #19186]
2009-03-24 18:33:52 +00:00
Jeremy Reed
532c031e02 Fix typo. 2009-03-24 16:56:15 +00:00
David Hankins
0829d595f8 - If configured, dhclient may now transmit to an anycast MAC address,
rather than using a broadcast address.  Thanks to a patch from David
  Cantrell at Red Hat. [ISC-Bugs #17740]
2009-03-13 21:41:45 +00:00
David Hankins
4b97eaff2f David Cantrell requests to use 'Red Hat' for trademark purposes in
attribution rather than 'RedHat'.
2009-03-10 21:00:50 +00:00
David Hankins
f4534b17fa - Fixed a cosmetic bug where pretty-printing valid domain-search options would
result in an erroneous error log message ('garbage in format string').
  [ISC-Bugs #19327]
2009-03-10 20:54:02 +00:00
David Hankins
8d7dca581a attribution 2009-03-05 22:53:15 +00:00
David Hankins
38c5c861bd Partial source attribution. 2009-02-20 18:24:14 +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
819186b746 - Two uninitialized stack structures are now memset to zero. [ISC-Bugs #17737] 2009-02-20 00:09:24 +00:00
David Hankins
efa5e6b99f - DDNS removal routines were updated so that the DHCID is not removed until
the client has been deprived of all A and AAAA records (not only the last
  one of either of those).  This resolves a bug where dual stack clients
  would not be able to regain their names after either expiration event.
  [ISC-Bugs #18716]
2009-02-12 00:15:33 +00:00
Paul Selkirk
70ea9345cd - Fix a build error in dhcrelay, using older versions of gcc with dhcpv6 disabled. [rt19321] 2009-02-11 17:02:21 +00:00
Paul Selkirk
4c750c5881 Add dummy initializers to a few local variables to fix build errors on v4-only builds with older versions of gcc. [rt19321] 2009-02-11 16:58:01 +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
cd51403ddc Update relnotes for bug 19054 2009-01-22 02:02:11 +00:00
Shawn Routhier
69bc1ebd89 autoconf regeneration 2009-01-22 01:56:54 +00:00
Shawn Routhier
59d91cc59b automake regeneration 2009-01-22 01:56:29 +00:00
Shawn Routhier
eafe1d8f28 autoheader regeneration 2009-01-22 01:54:10 +00:00