2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-01 14:55:30 +00:00

DNS Update fix. A misconfigured server could crash during DNS update

processing if the configuration included overlapping pools or
multiple fixed-address entries for a single address.  This issue
affected both IPv4 and IPv6. The fix allows a server to detect such
conditions, provides the user with extra information and recommended
steps to fix the problem.  If the user enables the appropriate option
in site.h then server will be terminated
This commit is contained in:
Shawn Routhier
2011-07-08 22:49:11 +00:00
parent 355fb647bc
commit beaed73f00
6 changed files with 338 additions and 30 deletions

View File

@@ -3,7 +3,7 @@
Definitions for dhcpd... */
/*
* Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2004-2011 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
@@ -3529,3 +3529,6 @@ ddns_modify_ptr(dhcp_ddns_cb_t *ddns_cb);
void
ddns_cancel(dhcp_ddns_cb_t *ddns_cb);
#define MAX_ADDRESS_STRING_LEN \
(sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"))

View File

@@ -217,6 +217,10 @@
but is only included for backwards compatibility. */
/* #define REPLY_TO_SOURCE_PORT */
/* Define this if you want to enable strict checks in DNS Updates mechanism.
Do not enable this unless are DHCP developer. */
/* #define DNS_UPDATES_MEMORY_CHECKS */
/* Define this if you want to allow domain list in domain-name option.
RFC2132 does not allow that behavior, but it is somewhat used due
to historic reasons. Note that it may be removed some time in the