]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
[master] Added backward incompatibility warnings to RELNOTES
authorThomas Markwalder <tmark@isc.org>
Fri, 5 Jan 2018 12:07:49 +0000 (07:07 -0500)
committerThomas Markwalder <tmark@isc.org>
Fri, 5 Jan 2018 12:09:05 +0000 (07:09 -0500)
   Merges in rt23252a.

RELNOTES
client/dhclient.8
client/dhclient.c

index 22e3aa5dd6463ce33d2225928a541045762abbf4..508ebe7112a215c4f2b684badf03e612264ff90f 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -35,14 +35,27 @@ Dynamic DNS Improvements:
 
 dhclient Improvements:
 
-  - We've added two new command line parameters to dhclient:
+  - We've added three command line parameters to dhclient:
 
     1. --prefix-len-hint - directs dhclient to use the given length as
     the prefix length hint when requesting prefixes
 
-    2. --declient-wait-time - instructs the client to wait the given number
+    2. --decline-wait-time - instructs the client to wait the given number
     of seconds after declining an IPv4 address before issuing a discover
 
+    3. --address-prefix-len - specifies the prefix length passed by dhclient
+    into the client script (via the environment variable ip6_prefixlen) with
+    each IPv6 address.  We added this parameter because we have changed the
+    default value from 64 to 128 in order to be compliant with RFC3315bis
+    draft (-09, page 64) and RFC5942, Section 4, point 1.
+    **WARNING**: The new default value of 128 may not be backwardly compatible
+    with your environment. If you are operating without a router, such as
+    between VMs on a host, you may find they cannot see each with prefix
+    length of 128. In such cases, you'll need to either provide routing or use
+    the command line parameter to set the value to 64. Alternatively you may
+    change the default at compile time by setting DHCLIENT_DEFAULT_PREFIX_LEN
+    in includes/site.h.
+
   - dhclient will now generate a DHCPv6 DECLINE message when the client script
     indicates a DAD failure
 
@@ -231,18 +244,21 @@ by Eric Young (eay@cryptsoft.com).
   [ISC-Bugs #45046]
 
 - Changed the default value of the prefix length passed by dhclient into the
-  client script for each IPv6 address, from 64 to 128. In addition, dhclient
-  now supports a command line argument, --address-prefix-len <len>, which may
-  be used to override the default value.  PLEASE NOTE: If your DHCPv6 clients
-  require a value other than 128, you MUST specify the value via this new
-  command line argument.  Prior to this the only way to alter the value was at
-  compile time by changing DHCLIENT_DEFAULT_PREFIX_LEN in include/sites.h.
-  **NOTE: THIS IS CHANGE IN DEFAULT BEHAVIOR.
+  client script for each IPv6 address from 64 to 128. This was done to comply
+  with RFC3315bis draft (-09, page 64) and RFC5942, Section 4, point 1.
+  In addition, dhclient now supports a command line argument,
+  --address-prefix-len, which may be used to override the default value.
+  **WARNING**: This change may not be backwardly compatible with your
+  environment. If you are operating without a router, such as between VMs on
+  a host, you may find they cannot see each with prefix length of 128. In
+  such cases, you'll need to either provide routing or use the command line
+  parameter to set the value to 64. Alternatively you may change the default
+  at compile time by setting DHCLIENT_DEFAULT_PREFIX_LEN in includes/site.h.
   [ISC-Bugs #23252]
   [ISC-Bugs #37221]
 
 - Modified dhclient (-6) to bypass sending a confirm (INIT REBOOT) when it has
-  only expired address assocations.  Thanks to Jiri Popelka at Red Hat for
+  only expired address associations.  Thanks to Jiri Popelka at Red Hat for
   raising the issue and submitting the patch.
   [ISC-Bugs #22675]
 
@@ -300,7 +316,7 @@ by Eric Young (eay@cryptsoft.com).
   for pointing out the error of our ways.
   [ISC-bugs #45780]
 
-- Added explicit include of BIND9 isc/util.h to adapt to revisisions
+- Added explicit include of BIND9 isc/util.h to adapt to revisions
   in BIND9 (see BIND9 ticket #46311).  Prior to this the build was failing
   with implicit function declarations errors for POST() and INSIST().
   [ISC-bugs #46332]
@@ -317,7 +333,7 @@ by Eric Young (eay@cryptsoft.com).
 
 - Replaced iasubopt::heap_index with separate values for active and inactive
   heaps: iasubopt::active_index and iasubopt::inactive_index.  This was done
-  to accomodate a change in behavior in BIND9 isc_heap_delete().
+  to accommodate a change in behavior in BIND9 isc_heap_delete().
   [ISC-bugs #46719]
 
 ! Plugged a socket descriptor leak in OMAPI, that can occur when there is
index 1fe1f801234cf45d9ddb7084a50b70eb4a7ce1af..ebc750f7c6be3780d42b1f9f3aab17e01c3e0da2 100644 (file)
@@ -1,6 +1,6 @@
 .\"    $Id: dhclient.8,v 1.36 2011/04/15 21:58:12 sar Exp $
 .\"
-.\" Copyright (c) 2004-2017 by Internet Systems Consortium, Inc. ("ISC")
+.\" Copyright (c) 2004-2018 by Internet Systems Consortium, Inc. ("ISC")
 .\" Copyright (c) 1996-2003 by Internet Software Consortium
 .\"
 .\" This Source Code Form is subject to the terms of the Mozilla Public
@@ -363,7 +363,7 @@ Use a DUID with DHCPv4 clients.  If no DUID is available in the
 lease file one will be constructed and saved.  The DUID will be
 used to construct a RFC4361 style client id that will be included
 in the client's messages.  This client id can be overridden by
-setting a client id in the configuration file.  Overridding the
+setting a client id in the configuration file.  Overriding the
 client id in this fashion is discouraged.
 .TP
 .BI \-I
@@ -429,6 +429,14 @@ Restore normal address query for IPv6. This implies \fB-6\fR.
 It is used to restore normal operation after using \fB-T\fR or \fB-P\fR.
 Multiple addresses can be requested with multiple \fB\-N\fR flags.
 .TP
+.BI \--address-prefix-len \ length
+Specify the length of the prefix for IPv6 addresses. This value is passed by
+dhclient into the client script via the environment variable, ip6_prefixlen,
+when binding IPv6 addresses.  The default value is 128.  Alternatively you may
+change the default at compile time by setting DHCLIENT_DEFAULT_PREFIX_LEN in
+includes/site.h.
+.PP
+.TP
 .BI \--dad-wait-time \ seconds
 Specify maximum time (in seconds) that the client should wait for the
 duplicate address detection (DAD) to complete on an interface. This
index 9435b2f907186876845e1834f03425e6e31a6d05..ac3cdbf83ab625fc5cf07963904e156752e2301e 100644 (file)
@@ -165,13 +165,13 @@ static const char use_v6command[] = "Command not used for DHCPv4: %s";
 "[-4|-6] [-SNTPRI1dvrxi] [-nw] -4o6 <port>] [-p <port>] [-D LL|LLT]\n" \
 "                [--dad-wait-time <seconds>] [--prefix-len-hint <length>]\n" \
 "                [--decline-wait-time <seconds>]\n" \
-"                [--address-prefix-len length]\n"
+"                [--address-prefix-len <length>]\n"
 #else /* DHCP4o6 */
 #define DHCLIENT_USAGE0 \
 "[-4|-6] [-SNTPRI1dvrxi] [-nw] [-p <port>] [-D LL|LLT]\n" \
 "                [--dad-wait-time <seconds>] [--prefix-len-hint <length>]\n" \
 "                [--decline-wait-time <seconds>]\n" \
-"                [--address-prefix-len length]\n"
+"                [--address-prefix-len <length>]\n"
 #endif
 #else /* DHCPv6 */
 #define DHCLIENT_USAGE0 \