Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dhcp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
64
Issues
64
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
dhcp
Commits
a804fcc0
Commit
a804fcc0
authored
Jan 05, 2018
by
Thomas Markwalder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[master] Added backward incompatibility warnings to RELNOTES
Merges in rt23252a.
parent
d8805cee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
16 deletions
+40
-16
RELNOTES
RELNOTES
+28
-12
client/dhclient.8
client/dhclient.8
+10
-2
client/dhclient.c
client/dhclient.c
+2
-2
No files found.
RELNOTES
View file @
a804fcc0
...
...
@@ -35,14 +35,27 @@ Dynamic DNS Improvements:
dhclient
Improvements
:
-
We
've added t
wo new
command line parameters to dhclient:
-
We
've added t
hree
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. --decli
ent
-wait-time - instructs the client to wait the given number
2. --decli
ne
-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 assoc
i
ations. 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
revisi
si
ons
-
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
accom
m
odate
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
...
...
client/dhclient.8
View file @
a804fcc0
.\" $Id: dhclient.8,v 1.36 2011/04/15 21:58:12 sar Exp $
.\"
.\" Copyright (c) 2004-201
7
by Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (c) 2004-201
8
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. Overrid
d
ing 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
...
...
client/dhclient.c
View file @
a804fcc0
...
...
@@ -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 \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment