2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00
Commit Graph

3868 Commits

Author SHA1 Message Date
David Hankins
571c38b093 Fix two typos in relnotes. 2009-10-16 22:54:22 +00:00
Shawn Routhier
0493fdca5e Fix handling of changing a connectiong from connecting to connected, avoiding
releasing the memory for the omapi io object.
2009-10-15 18:39:49 +00:00
David Hankins
d5e0cd6f28 autoconf regeneration 2009-10-06 23:09:18 +00:00
David Hankins
2b11ce4c91 automake regeneration 2009-10-06 23:09:08 +00:00
David Hankins
3053eda9d3 autoheader regeneration 2009-10-06 23:08:46 +00:00
David Hankins
2d588e2138 aclocal regeneration 2009-10-06 23:08:42 +00:00
David Hankins
cd3f0b9bd5 - ./configure now checks to ensure the intX_t and u_intX_t types are defined,
correcting a compilation failure when using Sun's compiler. [ISC-Bugs #20370]
2009-10-06 23:06:00 +00:00
David Hankins
e4e3a2ab42 update RELNOTES for CVE-2009-1892 2009-10-05 19:05:22 +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
Shawn Routhier
875e99dc30 Fix the check in the signal handler code to check if there is an inner
signal handler before calling it.  Previously we check if there was a
get_value function.
2009-09-09 19:05:17 +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
583c1c168a - A patch supplied by David Cantrell at RedHat was applied that detects
invalid calling parameters given to the ns_name_ntop() function.
  Specifically, it detects if the caller passed a pointer and size pair
  that causes the pointer to integer-wrap past zero.  [ISC-Bugs #17737]
2009-07-22 21:58:14 +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
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