Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/dist/dhcp Update dhcp to dhcp-3.0.1rc11 (requested by m...
details: https://anonhg.NetBSD.org/src/rev/3cfc0542b37d
branches: netbsd-1-6
changeset: 530985:3cfc0542b37d
user: jmc <jmc%NetBSD.org@localhost>
date: Mon Oct 27 04:41:52 2003 +0000
description:
Update dhcp to dhcp-3.0.1rc11 (requested by mellon in ticket #1537)
diffstat:
dist/dhcp/COPYRIGHT | 2 +-
dist/dhcp/Makefile | 2 +-
dist/dhcp/Makefile.conf | 4 +-
dist/dhcp/Makefile.dist | 2 +-
dist/dhcp/README | 29 +-
dist/dhcp/RELNOTES | 367 ++++++++++-
dist/dhcp/client/Makefile.dist | 2 +-
dist/dhcp/client/clparse.c | 36 +-
dist/dhcp/client/dhclient-script.8 | 12 +-
dist/dhcp/client/dhclient.8 | 13 +-
dist/dhcp/client/dhclient.c | 127 ++-
dist/dhcp/client/dhclient.conf.5 | 55 +-
dist/dhcp/client/dhclient.leases.5 | 13 +-
dist/dhcp/client/scripts/freebsd | 40 +-
dist/dhcp/client/scripts/linux | 15 +-
dist/dhcp/common/Makefile.dist | 15 +-
dist/dhcp/common/alloc.c | 55 +-
dist/dhcp/common/auth.c | 72 --
dist/dhcp/common/bpf.c | 14 +-
dist/dhcp/common/comapi.c | 37 +-
dist/dhcp/common/conflex.c | 18 +-
dist/dhcp/common/ctrace.c | 2 +-
dist/dhcp/common/dhcp-contrib.5 | 214 ------
dist/dhcp/common/dhcp-eval.5 | 40 +-
dist/dhcp/common/dhcp-options.5 | 241 ++++++-
dist/dhcp/common/discover.c | 27 +-
dist/dhcp/common/dispatch.c | 4 +-
dist/dhcp/common/dlpi.c | 4 +-
dist/dhcp/common/dns.c | 81 +-
dist/dhcp/common/ethernet.c | 4 +-
dist/dhcp/common/execute.c | 27 +-
dist/dhcp/common/fddi.c | 21 +-
dist/dhcp/common/icmp.c | 14 +-
dist/dhcp/common/inet.c | 6 +-
dist/dhcp/common/lpf.c | 4 +-
dist/dhcp/common/memory.c | 15 +-
dist/dhcp/common/nit.c | 4 +-
dist/dhcp/common/options.c | 58 +-
dist/dhcp/common/packet.c | 4 +-
dist/dhcp/common/parse.c | 160 ++-
dist/dhcp/common/print.c | 27 +-
dist/dhcp/common/raw.c | 6 +-
dist/dhcp/common/resolv.c | 12 +-
dist/dhcp/common/socket.c | 15 +-
dist/dhcp/common/tables.c | 24 +-
dist/dhcp/common/tr.c | 4 +-
dist/dhcp/common/tree.c | 28 +-
dist/dhcp/common/upf.c | 4 +-
dist/dhcp/configure | 2 +
dist/dhcp/dhcpctl/Makefile.dist | 2 +-
dist/dhcp/dhcpctl/callback.c | 4 +-
dist/dhcp/dhcpctl/cltest.c | 2 +-
dist/dhcp/dhcpctl/dhcpctl.3 | 22 +-
dist/dhcp/dhcpctl/dhcpctl.c | 13 +-
dist/dhcp/dhcpctl/dhcpctl.h | 2 +-
dist/dhcp/dhcpctl/omshell.1 | 2 +-
dist/dhcp/dhcpctl/omshell.c | 22 +-
dist/dhcp/dhcpctl/remote.c | 25 +-
dist/dhcp/dst/Makefile.dist | 2 +-
dist/dhcp/dst/base64.c | 4 +-
dist/dhcp/dst/dst_api.c | 8 +-
dist/dhcp/dst/dst_support.c | 4 +-
dist/dhcp/dst/hmac_link.c | 4 +-
dist/dhcp/dst/prandom.c | 6 +-
dist/dhcp/includes/arpa/nameser.h | 8 +-
dist/dhcp/includes/arpa/nameser_compat.h | 8 +-
dist/dhcp/includes/cf/freebsd.h | 2 -
dist/dhcp/includes/cf/linux.h | 3 -
dist/dhcp/includes/dhcp.h | 7 +-
dist/dhcp/includes/dhcpd.h | 88 +-
dist/dhcp/includes/dhctoken.h | 5 +-
dist/dhcp/includes/failover.h | 2 +
dist/dhcp/includes/minires/resolv.h | 8 +-
dist/dhcp/includes/netinet/if_ether.h | 8 +-
dist/dhcp/includes/netinet/ip.h | 8 +-
dist/dhcp/includes/netinet/ip_icmp.h | 8 +-
dist/dhcp/includes/netinet/udp.h | 8 +-
dist/dhcp/includes/omapip/alloc.h | 32 +-
dist/dhcp/includes/omapip/hash.h | 58 +-
dist/dhcp/includes/omapip/omapip.h | 8 +-
dist/dhcp/includes/osdep.h | 4 +
dist/dhcp/includes/site.h | 5 +
dist/dhcp/includes/tree.h | 2 +-
dist/dhcp/includes/version.h | 2 +-
dist/dhcp/minires/ns_name.c | 13 +-
dist/dhcp/minires/ns_parse.c | 4 +-
dist/dhcp/minires/ns_samedomain.c | 4 +-
dist/dhcp/minires/ns_sign.c | 4 +-
dist/dhcp/minires/res_comp.c | 8 +-
dist/dhcp/minires/res_findzonecut.c | 4 +-
dist/dhcp/minires/res_init.c | 8 +-
dist/dhcp/minires/res_mkquery.c | 8 +-
dist/dhcp/minires/res_mkupdate.c | 10 +-
dist/dhcp/minires/res_query.c | 8 +-
dist/dhcp/minires/res_send.c | 10 +-
dist/dhcp/minires/res_update.c | 4 +-
dist/dhcp/omapip/alloc.c | 44 +-
dist/dhcp/omapip/array.c | 2 -
dist/dhcp/omapip/auth.c | 22 +-
dist/dhcp/omapip/buffer.c | 3 -
dist/dhcp/omapip/connection.c | 14 +-
dist/dhcp/omapip/convert.c | 4 +-
dist/dhcp/omapip/dispatch.c | 4 +-
dist/dhcp/omapip/generic.c | 1 -
dist/dhcp/omapip/handle.c | 2 -
dist/dhcp/omapip/hash.c | 79 +-
dist/dhcp/omapip/inet_addr.c | 12 +-
dist/dhcp/omapip/listener.c | 10 +-
dist/dhcp/omapip/message.c | 35 +-
dist/dhcp/omapip/mrtrace.c | 9 +-
dist/dhcp/omapip/protocol.c | 15 +-
dist/dhcp/omapip/result.c | 2 +-
dist/dhcp/omapip/support.c | 36 +-
dist/dhcp/omapip/trace.c | 4 +-
dist/dhcp/relay/dhcrelay.8 | 9 +-
dist/dhcp/relay/dhcrelay.c | 18 +-
dist/dhcp/server/Makefile.dist | 2 +-
dist/dhcp/server/bootp.c | 6 +-
dist/dhcp/server/class.c | 6 +-
dist/dhcp/server/confpars.c | 213 ++++-
dist/dhcp/server/db.c | 73 +-
dist/dhcp/server/ddns.c | 71 +-
dist/dhcp/server/dhcp.c | 171 +++-
dist/dhcp/server/dhcpd.8 | 11 +-
dist/dhcp/server/dhcpd.c | 22 +-
dist/dhcp/server/dhcpd.conf.5 | 231 ++++--
dist/dhcp/server/dhcpd.leases.5 | 9 +-
dist/dhcp/server/failover.c | 236 +++---
dist/dhcp/server/mdb.c | 200 +++--
dist/dhcp/server/omapi.c | 101 +-
dist/dhcp/server/salloc.c | 4 +-
dist/dhcp/server/stables.c | 1024 +++++++++++++++---------------
132 files changed, 2923 insertions(+), 2245 deletions(-)
diffs (truncated from 12113 to 300 lines):
diff -r 1beeb2a0d8a8 -r 3cfc0542b37d dist/dhcp/COPYRIGHT
--- a/dist/dhcp/COPYRIGHT Mon Oct 27 04:40:20 2003 +0000
+++ b/dist/dhcp/COPYRIGHT Mon Oct 27 04:41:52 2003 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996-1999 Internet Software Consortium.
+ * Copyright (c) 1996-2003 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
diff -r 1beeb2a0d8a8 -r 3cfc0542b37d dist/dhcp/Makefile
--- a/dist/dhcp/Makefile Mon Oct 27 04:40:20 2003 +0000
+++ b/dist/dhcp/Makefile Mon Oct 27 04:41:52 2003 +0000
@@ -1,6 +1,6 @@
# Makefile
#
-# Copyright (c) 2000 Internet Software Consortium.
+# Copyright (c) 2002 Internet Software Consortium.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
diff -r 1beeb2a0d8a8 -r 3cfc0542b37d dist/dhcp/Makefile.conf
--- a/dist/dhcp/Makefile.conf Mon Oct 27 04:40:20 2003 +0000
+++ b/dist/dhcp/Makefile.conf Mon Oct 27 04:41:52 2003 +0000
@@ -1,6 +1,6 @@
# Makefile.conf
#
-# Copyright (c) 1996-2000 Internet Software Consortium.
+# Copyright (c) 1996-2002 Internet Software Consortium.
# Use is subject to license terms which appear in the file named
# ISC-LICENSE that should have accompanied this file when you
# received it. If a file named ISC-LICENSE did not accompany this
@@ -215,7 +215,7 @@
#CF = cf/rhapsody.h
#COPTS = -Ddarwin -Wall -Wno-unused -Wno-implicit -Wno-comment \
# -Wno-uninitialized -Wno-switch -Werror -pipe $(BINDDEF) $(CC_OPTIONS)
-##SCRIPT=rhapsody
+#SCRIPT=freebsd
##--darwin--
## NetBSD
diff -r 1beeb2a0d8a8 -r 3cfc0542b37d dist/dhcp/Makefile.dist
--- a/dist/dhcp/Makefile.dist Mon Oct 27 04:40:20 2003 +0000
+++ b/dist/dhcp/Makefile.dist Mon Oct 27 04:41:52 2003 +0000
@@ -1,6 +1,6 @@
# Makefile.dist
#
-# Copyright (c) 1996-1999 Internet Software Consortium.
+# Copyright (c) 1996-2002 Internet Software Consortium.
# Use is subject to license terms which appear in the file named
# ISC-LICENSE that should have accompanied this file when you
# received it. If a file named ISC-LICENSE did not accompany this
diff -r 1beeb2a0d8a8 -r 3cfc0542b37d dist/dhcp/README
--- a/dist/dhcp/README Mon Oct 27 04:40:20 2003 +0000
+++ b/dist/dhcp/README Mon Oct 27 04:41:52 2003 +0000
@@ -1,8 +1,9 @@
Internet Software Consortium DHCP Distribution
- Version 3, Release Candidate 10
- June 29, 2001
+ Version 3.0.1
+ Release Candidate 9
+ April 28, 2002
- README FILE
+ README FILE
You should read this file carefully before trying to install or use
the ISC DHCP Distribution.
@@ -96,7 +97,7 @@
RELEASE STATUS
-This is the second beta release of version 3.0 of the ISC DHCP
+This is the tenth release candidate of version 3.0.1 of the ISC DHCP
Distribution. Development of this release is approaching the point at
which it will be frozen, and no significant new features will be
added.
@@ -142,14 +143,14 @@
To build the DHCP Distribution, unpack the compressed tar file using
the tar utility and the gzip command - type something like:
- zcat dhcp-3.0rc10.tar.gz |tar xvf -
+ zcat dhcp-3.0.1rc11.tar.gz |tar xvf -
On BSD/OS, you have to type gzcat, not zcat, and you may run into
similar problems on other operating systems.
CONFIGURING IT
-Now, cd to the dhcp-3.0rc10 subdirectory that you've just
+Now, cd to the dhcp-3.0.1rc11 subdirectory that you've just
created and configure the source tree by typing:
./configure
@@ -243,16 +244,6 @@
problems for Linux 2.1/2.2: the "SO_ATTACH_FILTER undeclared" problem
and the "protocol not configured" problem.
- LINUX: IF_TR.H NOT FOUND
-
-When you compile the distribution on Linux, you may get an error
-message indicating that the include file if_tr.h could not be found.
-If this happens, go into includes/cf/linux.h and delete the line that
-defined HAVE_TR_SUPPORT, or look into installing a new version of libc
-that includes the if_tr.h file. We will be working on removing this
-problem in the future, but for now, if you run into it, this should be
-a viable workaround.
-
LINUX: SO_ATTACH_FILTER UNDECLARED
In addition, there is a minor issue that we will mention here because
@@ -434,6 +425,12 @@
can't communicate with its clients, you should #define BROKEN_FREEBSD_BPF
in site.h and recompile.
+Modern versions of FreeBSD include the ISC DHCP 3.0 client as part of
+the base system, and the full distribution (for the DHCP server and
+relay agent) is available from the Ports Collection in
+/usr/ports/net/isc-dhcp3, or as a package on FreeBSD installation
+CDROMs.
+
NeXTSTEP
The NeXTSTEP support uses the NeXTSTEP Berkeley Packet Filter
diff -r 1beeb2a0d8a8 -r 3cfc0542b37d dist/dhcp/RELNOTES
--- a/dist/dhcp/RELNOTES Mon Oct 27 04:40:20 2003 +0000
+++ b/dist/dhcp/RELNOTES Mon Oct 27 04:41:52 2003 +0000
@@ -1,11 +1,9 @@
Internet Software Consortium DHCP Distribution
- Version 3, Release Candidate 10
- June 29, 2001
+ Version 3.0.1
+ Release Candidate 10
+ June, 2002
- Release Notes
-
-This is a development snapshot of Version 3 of the Internet Software
-Consortium DHCP Distribution.
+ Release Notes
NEW FEATURES
@@ -25,19 +23,11 @@
- Many bug fixes, performance enhancements, and minor new DHCP
protocol features.
-This release has been beta tested quite thorougly, and we think it is
-substantially more robust at this time than 2.0pl5. The release
-candidate is expected to be free of serious bugs, but it's called a
-release candidate because we want people to try it and find any last
-real problems before we call it done. We do not expect to add
-anything other than documentation and any remaining bug fixes to the
-3.0 release.
-
-The 3.0 Release Candidate 1 lease file is not backwards compatible
-with the 3.0 Beta 1 lease file, so if you have to go back, you will
-have to convert your lease files back to the 3.0 Beta 1 format - if
-you try to run a 3.0 Beta 1 server on a 3.0 lease file, it will
-cheerfully delete all your leases.
+This is a release candidate for a minor bug fix release to follow ISC
+DHCP 3.0. The main bug fixed here is a bug in the subclass allocation
+code that could result in a memory smash. Any users of the ISC DHCP server
+who are using subclasses should seriously consider upgrading to 3.0.1
+either now or when the final 3.0.1 release comes out.
If you are running 3.0 beta 1 and are doing dynamic DNS updates, the
lease file is no longer forward-compatible to 3.0 final. A script
@@ -56,6 +46,335 @@
thanks to all of these good people here, both for working on the code
and for prodding me into improving it.
+ Changes since 3.0.1rc10
+
+- Potential buffer overflows in minires repaired.
+
+- A change to the linux client script to use /bin/bash, since /bin/sh may
+ not be bash.
+
+- Some missing va_end cleanups thanks to a patch from Thomas Klausner.
+
+- A correction of boolean parsing syntax validation - some illegal syntaxes
+ that worked before are now detected and produce errs, some legal syntaxes
+ that errored before will now work properly.
+
+- Some search-and-replace errors that caused some options to change their
+ names was repaired.
+
+- Shu-min Chang of the Intel corporation has contributed a perl script and
+ module that converts the MS NT4 DHCP configuration to a ISC DHCP3
+ configuration file.
+
+- Applied the remainder of the dhcpctl memory leak patch provided by Bill
+ Squier at ReefEdge, Inc. (groo%reefedge.com@localhost).
+
+- Missing non-optional failover peer configurations will now result in a soft
+ error rather than a null dereference.
+
+ Changes since 3.0.1rc9
+
+- A format string was corrected to fix compiler warnings.
+
+- A number of spelling corrections were made in the man pages.
+
+- The dhclient.conf.5 man page was changed to refer to do-forward-updates
+ rather than a configuration option that doesn't exist.
+
+- A FreeBSD-specific bug in the interface removal handling was fixed.
+
+- A Linux-specific Token Ring detection problem was fixed.
+
+- Hashes removed from as-yet-unknown agent options, having those options
+ appear in reality before we know about them will no longer produce
+ self-corrupting lease databases.
+
+- dhclient will use the proper port numbers now when using the -g option.
+
+- A order-of-operations bug with 2 match clauses in 1 class statement is
+ fixed thanks to a patch from Andrew Matheson.
+
+- Compilation problems on Solaris were fixed.
+
+- Compilation problems when built with DEBUG or DEBUG_PACKET were repaired.
+
+- A fix to the dhcp ack process which makes certain group options will be
+ included in the first DHCPOFFER message was made thanks to a patch from
+ Ling Gou.
+
+- A few memory leaks were repaired thanks to patches from Bill Squier at
+ ReefEdge, Inc. (groo%reefedge.com@localhost).
+
+- A fix for shared-networks that sometimes give clients options for the
+ wrong subnets (in particular, 'option routers') was applied, thanks to
+ Ted Lemon for the patch.
+
+- Omshell's handling of dotted octets as values was changed such that dots
+ one after the other produce zero values in the integer string.
+
+ Changes since 3.0.1rc8
+
+- Fix a format string vulnerability in the server that could lead to a
+ remote root compromise (discovered by NGSEC Research Team, www.ngsec.com).
+
+- Add additional support for NetBSD/sparc64.
+
+- Fix a bug in the command-line parsing of the client. Also, resolve
+ a memory leak.
+
+- Add better support for shells other than bash in the Linux client
+ script.
+
+- Various build fixes for modern versions of FreeBSD and Linux.
+
+- Fix a bad bounds check when printing binding state names.
+
+- Clarify documentation about fixed-address and multiple addresses.
+
+- Fix a typo in the authoritative error message.
+
+- Make a log entry when we can't write a billing class.
+
+- Use conversion targets that are the right size on all architectures.
+
+- Increment the hop count when relaying.
+
+- Log a message when lease state is changed through OMAPI.
+
+- Don't rerun the shared_network when evaluating the pool.
+
+- Fix a reversed test in the parser.
+
+- Change the type of rbuf_max.
+
+- Make FTS_LAST a manifest constant to quiet warnings.
+
+ Changes since 3.0.1rc7
+
+- Fix two compiler warnings that are generated when compiling on Solaris
+ with gcc. These stop the build, even though they weren't actually
+ errors, because we prefer that our builds generate no warnings.
+
+ Changes since 3.0.1rc6
+
+- Don't allow a lease that's in the EXPIRED, RELEASED or RESET state
+ to be renewed.
+
+- Implement lease stealing for cases where the primary has fewer leases
+ than the secondary, as called for by the standard.
+
+- Add a fudge factor to the lease expiry acceptance code, (suggested
+ by Kevin Miller of CMU).
+
+- Fix a bug in permit_list_match that made it much too willing to say
+ that two permit lists matched.
+
+- Unless DEBUG_DNS_UPDATES is defined, print more user-friendly (and
+ also more compact) messages about DNS updates.
+
+- Fix a bug in generating wire-format domain names for the FQDN option.
+
Home |
Main Index |
Thread Index |
Old Index