Skip to content

Commit e9d37e2

Browse files
committed
resolved merge conflicts
2 parents 8eec892 + 3d53b2f commit e9d37e2

File tree

203 files changed

+5027
-3822
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+5027
-3822
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
*.lo
22
*.o
3+
*.a
4+
*.log
35
doc/html
46
.deps
57
Makefile
@@ -9,6 +11,7 @@ client/tests/duid_unittests
911
client/tests/test-suite.log
1012
common/tests/alloc_unittest
1113
common/tests/dns_unittest
14+
common/tests/domain_name_unittest
1215
common/tests/misc_unittest
1316
common/tests/ns_name_unittest
1417
common/tests/option_unittest
@@ -24,6 +27,7 @@ libtool
2427
ltmain.sh
2528
omapip/svtest
2629
relay/dhcrelay
30+
relay/tests/relay_unittests
2731
server/dhcpd
2832
server/tests/dhcpd_unittests
2933
server/tests/hash_unittests
@@ -34,3 +38,6 @@ server/tests/test-suite.log
3438
tests/libt_api.a
3539
tests/libt_api.la
3640
tests/unittest.sh
41+
42+
bind/bind-*
43+
bind/include

CONTRIBUTING.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ We do not require a contributors agreement. By submitting a patch or merge reque
77
you are agreeing that your code will be covered by the primary license for the project.
88
ISC DHCP is currently licensed under the MPL2.0 license.
99

10+
**NOTE**: The client (dhclient) and relay (dhcrelay) component maintenance is coming to an end.
11+
The 4.4.3 release is the last one that included those components and they are now considered EOL.
12+
The 4.5.0 release will feature server (dhcpd) only. You may still submit bugs for a client or
13+
relay, but those will be kept for informational purposes only. There will not be any action
14+
taken by ISC team on those.
15+
1016
Here's are the steps in contributing a patch:
1117

1218
1. **create account** on [gitlab](https://gitlab.isc.org)
@@ -193,4 +199,4 @@ Outstanding, select a small number of them and move them to whatever the current
193199
that in mind if you plan to submit a patch and forget about it. We may accept it eventually, but
194200
it's a much, much faster process if you participate in it.
195201

196-
#### Thank you for contributing your time and expertise to the ISC DHCP Project.
202+
**Thank you for contributing your time and expertise to the ISC DHCP Project.**

LICENSE

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
1-
# Copyright (c) 2004-2021 by Internet Systems Consortium, Inc. ("ISC")
1+
# Copyright (c) 2004-2022 by Internet Systems Consortium, Inc. ("ISC")
22
# Copyright (c) 1995-2003 by Internet Software Consortium
33
#
4-
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
5-
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
6-
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
7-
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
8-
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
9-
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
10-
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
11-
#
12-
# Internet Systems Consortium, Inc.
13-
# 950 Charter Street
14-
# Redwood City, CA 94063
15-
# <info@isc.org>
16-
# https://www.isc.org/
17-
#
184
# This Source Code Form is subject to the terms of the Mozilla Public
195
# License, v. 2.0, included below.
206
#

Makefile.in

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Makefile.in generated by automake 1.16.2 from Makefile.am.
1+
# Makefile.in generated by automake 1.16.5 from Makefile.am.
22
# @configure_input@
33

4-
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
4+
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
55

66
# This Makefile.in is free software; the Free Software Foundation
77
# gives unlimited permission to copy and/or distribute it,
@@ -184,9 +184,6 @@ am__define_uniq_tagged_files = \
184184
unique=`for i in $$list; do \
185185
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
186186
done | $(am__uniquify_input)`
187-
ETAGS = etags
188-
CTAGS = ctags
189-
CSCOPE = cscope
190187
am__DIST_COMMON = $(srcdir)/Makefile.in \
191188
$(top_srcdir)/doc/devel/doxyfile.in README compile \
192189
config.guess config.sub depcomp install-sh missing
@@ -228,6 +225,8 @@ am__relativize = \
228225
DIST_ARCHIVES = $(distdir).tar.gz
229226
GZIP_ENV = --best
230227
DIST_TARGETS = dist-gzip
228+
# Exists only to be overridden by the user if desired.
229+
AM_DISTCHECK_DVI_TARGET = dvi
231230
distuninstallcheck_listfiles = find . -type f -print
232231
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
233232
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -259,6 +258,8 @@ CCDEPMODE = @CCDEPMODE@
259258
CFLAGS = @CFLAGS@
260259
CPP = @CPP@
261260
CPPFLAGS = @CPPFLAGS@
261+
CSCOPE = @CSCOPE@
262+
CTAGS = @CTAGS@
262263
CYGPATH_W = @CYGPATH_W@
263264
DEFS = @DEFS@
264265
DEPDIR = @DEPDIR@
@@ -270,6 +271,7 @@ ECHO_C = @ECHO_C@
270271
ECHO_N = @ECHO_N@
271272
ECHO_T = @ECHO_T@
272273
EGREP = @EGREP@
274+
ETAGS = @ETAGS@
273275
EXEEXT = @EXEEXT@
274276
GREP = @GREP@
275277
INSTALL = @INSTALL@
@@ -558,7 +560,6 @@ cscopelist-am: $(am__tagged_files)
558560
distclean-tags:
559561
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
560562
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
561-
562563
distdir: $(BUILT_SOURCES)
563564
$(MAKE) $(AM_MAKEFLAGS) distdir-am
564565

@@ -706,7 +707,7 @@ distcheck: dist
706707
$(DISTCHECK_CONFIGURE_FLAGS) \
707708
--srcdir=../.. --prefix="$$dc_install_base" \
708709
&& $(MAKE) $(AM_MAKEFLAGS) \
709-
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
710+
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
710711
&& $(MAKE) $(AM_MAKEFLAGS) check \
711712
&& $(MAKE) $(AM_MAKEFLAGS) install \
712713
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \

README

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Internet Systems Consortium DHCP Distribution
2-
Version 4.4.2-P1
3-
26 May 2021
2+
Version 4.4.3b1
3+
26 January 2022
44

55
README FILE
66

@@ -62,13 +62,15 @@ documented in the dhclient-script man page. The format of the DHCP
6262
client lease database is documented in the dhclient.leases man page.
6363
The source for all these man pages is in the client/ subdirectory in
6464
the distribution. In addition, the dhcp-options man page should be
65-
referred to for information about DHCP options.
65+
referred to for information about DHCP options. The client component
66+
is End-of-Life and will not be part of future releases.
6667

6768
DHCP relay agent documentation is in the dhcrelay man page, the source
68-
for which is distributed in the relay/ subdirectory.
69+
for which is distributed in the relay/ subdirectory. The relay component
70+
is End-of-Life and will not be part of future releases.
6971

7072
KEA Migration Assistant documentation, including how to build, install
71-
and use it, is including in the keama directory.
73+
and use it, is included in the keama/ directory.
7274

7375
To read installed manual pages, use the man command. Type "man page"
7476
where page is the name of the manual page. This will only work if
@@ -90,19 +92,25 @@ will not be correct for your operating system until after you iterate
9092
'make install' (so if you're reading a manpage out of the source
9193
directory, it may not have up-to-date information).
9294

95+
RELEASE STATUS
96+
97+
Version 4.4.3b1 is a maintenance release of the DHCP client, relay and
98+
server. It is the final release for the client and relay components,
99+
which have reached end-of-life and will no longer be maintained.
100+
93101
BUILDING THE DHCP DISTRIBUTION
94102

95103
UNPACKING IT
96104

97105
To build the DHCP Distribution, unpack the compressed tar file using
98106
the tar utility and the gzip command - type something like:
99107

100-
gunzip dhcp-4.4.2-P1.tar.gz
101-
tar xvf dhcp-4.4.2-P1.tar
108+
gunzip dhcp-4.4.3b1.tar.gz
109+
tar xvf dhcp-4.4.3b1.tar
102110

103111
CONFIGURING IT
104112

105-
Now, cd to the dhcp-4.4.2-P1 subdirectory that you've just created and
113+
Now, cd to the dhcp-4.4.3b1 subdirectory that you've just created and
106114
configure the source tree by typing:
107115

108116
./configure
@@ -348,7 +356,7 @@ more information, consult the vconfig man pages.
348356
ATF
349357

350358
Please see the file DHCP/doc/devel/atf.dox for a description of building
351-
and using these tools.
359+
and using these tools.
352360

353361
The optional unit tests use ATF (Automated Testing Framework) including
354362
the atf-run and atf-report tools. ATF deprecated these tools in
@@ -384,7 +392,7 @@ the dhcp-users or dhcp-announce mailing lists.
384392
WHERE TO SEND FEATURE REQUESTS: We like to hear your feedback. We may
385393
not respond to it all the time, but we do read it. If ISC DHCP doesn't
386394
work well for you, or you have an idea that would improve it for your
387-
use, please create an issue at https://gitlab.isc.org/isc-projects/dhcp/issues.
395+
use, please create an issue at https://gitlab.isc.org/isc-projects/dhcp/issues.
388396
This is also an excellent place to send patches that add new features.
389397

390398
WHERE TO REPORT BUGS: If you want the act of sending in a bug report
@@ -393,17 +401,20 @@ software, you are asking for help. Your bug report is helpful to us,
393401
but fundamentally you are making a support request, so please use the
394402
addresses described in the previous paragraphs. If you are _sure_ that
395403
your problem is a bug, and not user error, or if your bug report
396-
includes a patch, you can submit it to our ticketing system at
397-
https://gitlab.isc.org/isc-projects/dhcp/issues. If you have not received
404+
includes a patch, you can submit it to our ticketing system at
405+
https://gitlab.isc.org/isc-projects/dhcp/issues. If you have not received
398406
a notice that the ticket has been resolved, then we're still working on it.
407+
Notice that this is the final release that features client and relay
408+
components. Reporting bugs in them makes limited sense. The ISC team
409+
will not be fixing any issues related to client or relay. They may be
410+
useful for other users to document some problems or perhaps discuss
411+
and share workarounds.
399412

400413
PLEASE DO NOT REPORT BUGS IN OLD SOFTWARE RELEASES! Fetch the latest
401414
release and see if the bug is still in that version of the software,
402-
and if it is still present, _then_ report it. ISC release versions
403-
always have three numbers, for example: 1.2.3. The 'major release' is
404-
1 here, the 'minor release' is 2, and the 'maintenance release' is 3.
405-
ISC will accept bug reports against the most recent two major.minor
406-
releases: for example, 1.0.0 and 0.9.0, but not 0.8.* or prior.
415+
and if it is still present, _then_ report it. ISC release versions
416+
always have three numbers, for example: 1.2.3. The 'major release' is
417+
1 here, the 'minor release' is 2, and the 'maintenance release' is 3.
407418

408419
PLEASE take a moment to determine where the ISC DHCP distribution
409420
that you're using came from. ISC DHCP is sometimes heavily modified
@@ -483,7 +494,8 @@ agent. DHCP 3 was released in October 2001 and included DHCP failover
483494
support, OMAPI, Dynamic DNS, conditional behaviour, client classing,
484495
and more. Version 3 of the DHCP server was funded by Nominum, Inc.
485496
The 4.0 release in December 2007 introduced DHCPv6 protocol support
486-
for the server and client.
497+
for the server and client. The client and relay components reached
498+
their End-of-Life in January 2022.
487499

488500
This product includes cryptographic software written
489501
by Eric Young (eay@cryptsoft.com).

RELNOTES

Lines changed: 61 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
Internet Systems Consortium DHCP Distribution
2-
Version 4.4.2-P1
3-
26 May 2021
2+
Version 4.4.3b1
3+
26 January 2022
44
Release Notes
55

66
NEW FEATURES
77

8-
Please note that that ISC DHCP is now licensed under the Mozilla Public License,
9-
MPL 2.0. Please see https://www.mozilla.org/en-US/MPL/2.0/ to read the MPL 2.0
10-
license terms.
8+
Please note that that ISC DHCP is now licensed under the Mozilla Public
9+
License, MPL 2.0. Please see https://www.mozilla.org/en-US/MPL/2.0/ to read
10+
the MPL 2.0 license terms.
1111

12-
Release 4.4.2-P1 is a security release fixing possible buffer overwrite error
13-
in client and server while parsing haxadecimal literals in lease file.
12+
NOTE: The client and relay components are now End-Of-Life.
13+
4.4.3 is the final release for those components.
1414

1515
For information on how to install, configure and run this software, as
1616
well as how to find documentation and report bugs, please consult the
@@ -19,21 +19,66 @@ README file.
1919
ISC DHCP uses standard GNU configure for installation. Please review the
2020
output of "./configure --help" to see what options are available.
2121

22-
The system has only been tested on Linux, FreeBSD, and Solaris, and may not
23-
work on other platforms. Please report any problems and suggested fixes to
22+
The system has only been tested on Linux, and FreeBSD, and may not work on
23+
other platforms. Please report any problems and suggested fixes to
2424
<dhcp-users@isc.org>.
2525

2626
ISC DHCP is open source software maintained by Internet Systems
2727
Consortium. This product includes cryptographic software written
2828
by Eric Young (eay@cryptsoft.com).
2929

30+
Changes since 4.4.2-P1 (New Features)
31+
32+
- BIND libraries updated to the latest version, 9.11.36. This fixes a number
33+
of compilation issues on various systems, including OpenWRT. Thanks to
34+
Philip Prindeville for testing on OpenWRT.
35+
[Gitlab #218, #171, #180, #192]
36+
37+
- Added support for the new DHCPv4 option v6-only-preferred specified
38+
in RFC 8925. A new reason code, V6ONLY, was added to the client script
39+
and the client Linux script sample was updated.
40+
[Gitlab #132]
41+
42+
Changes since 4.4.2-P1 (Bug Fixes)
43+
44+
- Minor corrections to allow compilation under gcc 10.
45+
[Gitlab #117]
46+
47+
- Corrected logic in dhclient that causes it to decline DHCPv4 leases if the
48+
client script exits abnormally (i.e. crashes).
49+
[Gitlab #123]
50+
51+
- The limit on the size of lease file that can be loaded at start up
52+
is now only enforced on 32-bit systems.
53+
[Gitlab #92]
54+
55+
- The PRNG initialization has been improved. It now uses the configure flag
56+
`--with-randomdev=PATH`, which specifies the device from which to read the
57+
initial seed. That is typically `/dev/random` (the default value) or
58+
`/dev/urandom`, but may be specified otherwise on the local system. If not
59+
explicitly specified, the default device (`/dev/random`) is used. The old
60+
behavior can be forced by disabling this feature (`--with-randomdev=no`).
61+
If the initialization is disabled or reading from the random device fails,
62+
the previous algorithm (retrieve the last four bytes of hardware addresses
63+
from all network interfaces that have them, and use the current time and
64+
process ID) is used.
65+
[Gitlab #197]
66+
67+
- Minor dhclient code fix to remove compilation warnings.
68+
[Gitlab #190]
69+
70+
- Removed hard-coded MD5 algorithm name in OMAPI connection logic. Prior
71+
to this using any other algorithm via key-algorithm statement would
72+
allow OMAPI connections to made but subsequent actions such as updating
73+
an object to fail.
74+
[Gitlab #148]
75+
3076
Changes since 4.4.2 (Bug Fixes)
3177

32-
! Corrected a buffer overwrite possible when parsing hexadecimal
33-
literals with more than 1024 octets. Reported by Jon Franklin from Dell,
34-
and also by Pawel Wieczorkiewicz from Amazon Web Services.
35-
[Gitlab #182]
36-
CVE: CVE-2021-25217
78+
- Corrected a buffer overwrite possible when parsing hexadecimal
79+
literals with more than 1024 octets.
80+
[Gitlab #182]
81+
CVE: CVE-2021-25217
3782

3883
Changes since 4.4.2b1 (Bug Fixes)
3984

@@ -53,11 +98,11 @@ by Eric Young (eay@cryptsoft.com).
5398
- Corrected buffer pointer logic in dhcrelay functions that manipulate
5499
agent relay options. Thanks to Thomas Imbert of MSRC Vulnerabilities
55100
& Mitigations for reporting the issue.
56-
[#71]
101+
[Gitlab #71]
57102

58103
- Corrected unresolved symbol errors building relay_unittests when
59104
configured to build using libtool.
60-
[#80]
105+
[Gitlab #80]
61106

62107
Changes since 4.4.1 (New Features)
63108

0 commit comments

Comments
 (0)