head	1.2;
access;
symbols
	RELENG_5_5_0_RELEASE:1.1.1.18
	RELENG_5_5:1.1.1.18.0.8
	RELENG_5_5_BP:1.1.1.18
	RELENG_5_4_0_RELEASE:1.1.1.18
	RELENG_5_4:1.1.1.18.0.6
	RELENG_5_4_BP:1.1.1.18
	RELENG_4_11_0_RELEASE:1.1.1.6.2.6
	RELENG_4_11:1.1.1.6.2.6.0.8
	RELENG_4_11_BP:1.1.1.6.2.6
	RELENG_5_3_0_RELEASE:1.1.1.18
	RELENG_5_3:1.1.1.18.0.4
	RELENG_5_3_BP:1.1.1.18
	RELENG_5:1.1.1.18.0.2
	RELENG_5_BP:1.1.1.18
	isc_dhcp_3_0_1:1.1.1.18
	isc_dhcp_3_0_1_rc14:1.1.1.17
	RELENG_4_10_0_RELEASE:1.1.1.6.2.6
	RELENG_4_10:1.1.1.6.2.6.0.6
	RELENG_4_10_BP:1.1.1.6.2.6
	RELENG_5_2_1_RELEASE:1.1.1.16
	RELENG_5_2_0_RELEASE:1.1.1.16
	RELENG_5_2:1.1.1.16.0.2
	RELENG_5_2_BP:1.1.1.16
	RELENG_4_9_0_RELEASE:1.1.1.6.2.6
	RELENG_4_9:1.1.1.6.2.6.0.4
	RELENG_4_9_BP:1.1.1.6.2.6
	isc_dhcp_3_0_1_rc12:1.1.1.16
	RELENG_5_1_0_RELEASE:1.1.1.15
	RELENG_5_1:1.1.1.15.0.2
	RELENG_5_1_BP:1.1.1.15
	RELENG_4_8_0_RELEASE:1.1.1.6.2.6
	RELENG_4_8:1.1.1.6.2.6.0.2
	RELENG_4_8_BP:1.1.1.6.2.6
	RELENG_5_0_0_RELEASE:1.1.1.13.2.1
	isc_dhcp_3_0_1_rc11:1.1.1.15
	isc_dhcp_3_0_1_rc10:1.1.1.14
	RELENG_5_0:1.1.1.13.0.2
	RELENG_5_0_BP:1.1.1.13
	RELENG_4_7_0_RELEASE:1.1.1.6.2.5
	RELENG_4_7:1.1.1.6.2.5.0.4
	RELENG_4_7_BP:1.1.1.6.2.5
	isc_dhcp_3_0_1_rc9:1.1.1.13
	RELENG_4_6_2_RELEASE:1.1.1.6.2.5
	RELENG_4_6_1_RELEASE:1.1.1.6.2.5
	RELENG_4_6_0_RELEASE:1.1.1.6.2.5
	RELENG_4_6:1.1.1.6.2.5.0.2
	RELENG_4_6_BP:1.1.1.6.2.5
	isc_dhcp_3_0_1_rc8:1.1.1.12
	isc_dhcp_3_0_1_rc6:1.1.1.11
	RELENG_4_5_0_RELEASE:1.1.1.6.2.4
	RELENG_4_5:1.1.1.6.2.4.0.6
	RELENG_4_5_BP:1.1.1.6.2.4
	RELENG_4_4_0_RELEASE:1.1.1.6.2.4
	RELENG_4_4:1.1.1.6.2.4.0.4
	RELENG_4_4_BP:1.1.1.6.2.4
	RELENG_4_3_0_RELEASE:1.1.1.6.2.4
	RELENG_4_3:1.1.1.6.2.4.0.2
	RELENG_4_3_BP:1.1.1.6.2.4
	RELENG_4_2_0_RELEASE:1.1.1.6.2.3
	FBSD_ISC_DHCP_2_0_PL5_+_V3_FIXES:1.1.1.10
	isc_dhcp_2_0_pl5_+_v3_fixes:1.1.1.10
	FBSD_ISC_DHCP_2_0_PL5:1.1.1.10
	isc_dhcp_2_0_pl5:1.1.1.10
	RELENG_4_1_1_RELEASE:1.1.1.6.2.3
	PRE_SMPNG:1.1.1.9
	RELENG_4_1_0_RELEASE:1.1.1.6.2.3
	isc_dhcp_2_0_pl3:1.1.1.9
	isc_dhcp_2_0_pl2:1.1.1.8
	isc_dhcp_2_0_pl1:1.1.1.7
	RELENG_3_5_0_RELEASE:1.1.1.2.2.4
	RELENG_4_0_0_RELEASE:1.1.1.6
	RELENG_4:1.1.1.6.0.2
	RELENG_4_BP:1.1.1.6
	RELENG_3_4_0_RELEASE:1.1.1.2.2.4
	RELENG_3_3_0_RELEASE:1.1.1.2.2.4
	isc_dhcp_2_0:1.1.1.6
	RELENG_3_2_PAO:1.1.1.2.2.3.0.2
	RELENG_3_2_PAO_BP:1.1.1.2.2.3
	RELENG_3_2_0_RELEASE:1.1.1.2.2.3
	isc_dhcp_2_0_b_1_pl_27:1.1.1.5
	isc_dhcp_2_0_b_1_pl_18:1.1.1.4
	isc_dhcp_2_0_b_1_pl_17:1.1.1.3
	RELENG_3:1.1.1.2.0.2
	isc_dhcp_2_0_b_1_pl_11:1.1.1.2
	isc_dhcp_2_0_b_1_pl_6:1.1.1.1
	ISC:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2005.06.29.01.46.34;	author brooks;	state dead;
branches;
next	1.1;

1.1
date	99.02.10.09.10.13;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.02.10.09.10.13;	author obrien;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	99.02.11.12.40.20;	author obrien;	state Exp;
branches
	1.1.1.2.2.1;
next	1.1.1.3;

1.1.1.3
date	99.02.28.20.34.38;	author obrien;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	99.03.22.01.26.42;	author obrien;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	99.05.02.09.03.17;	author obrien;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	99.06.23.23.39.34;	author obrien;	state Exp;
branches
	1.1.1.6.2.1;
next	1.1.1.7;

1.1.1.7
date	2000.06.26.08.06.12;	author obrien;	state Exp;
branches;
next	1.1.1.8;

1.1.1.8
date	2000.07.03.18.44.04;	author obrien;	state Exp;
branches;
next	1.1.1.9;

1.1.1.9
date	2000.07.20.08.36.39;	author obrien;	state Exp;
branches;
next	1.1.1.10;

1.1.1.10
date	2000.11.04.19.57.08;	author obrien;	state Exp;
branches;
next	1.1.1.11;

1.1.1.11
date	2002.02.19.11.04.32;	author murray;	state Exp;
branches;
next	1.1.1.12;

1.1.1.12
date	2002.04.01.07.54.39;	author murray;	state Exp;
branches;
next	1.1.1.13;

1.1.1.13
date	2002.09.30.08.38.58;	author murray;	state Exp;
branches
	1.1.1.13.2.1;
next	1.1.1.14;

1.1.1.14
date	2003.01.15.10.31.04;	author murray;	state Exp;
branches;
next	1.1.1.15;

1.1.1.15
date	2003.01.16.07.04.46;	author obrien;	state Exp;
branches;
next	1.1.1.16;

1.1.1.16
date	2003.09.02.11.01.21;	author mbr;	state Exp;
branches;
next	1.1.1.17;

1.1.1.17
date	2004.06.26.10.34.18;	author mbr;	state Exp;
branches;
next	1.1.1.18;

1.1.1.18
date	2004.08.15.23.33.07;	author mbr;	state Exp;
branches;
next	;

1.1.1.13.2.1
date	2003.01.16.07.59.31;	author obrien;	state Exp;
branches;
next	;

1.1.1.6.2.1
date	2000.06.26.23.07.19;	author obrien;	state Exp;
branches;
next	1.1.1.6.2.2;

1.1.1.6.2.2
date	2000.07.03.18.53.47;	author obrien;	state Exp;
branches;
next	1.1.1.6.2.3;

1.1.1.6.2.3
date	2000.07.20.10.26.12;	author obrien;	state Exp;
branches;
next	1.1.1.6.2.4;

1.1.1.6.2.4
date	2001.03.05.10.09.31;	author obrien;	state Exp;
branches;
next	1.1.1.6.2.5;

1.1.1.6.2.5
date	2002.04.11.10.16.45;	author murray;	state Exp;
branches;
next	1.1.1.6.2.6;

1.1.1.6.2.6
date	2003.03.02.16.42.37;	author murray;	state Exp;
branches;
next	;

1.1.1.2.2.1
date	99.02.19.10.32.55;	author obrien;	state Exp;
branches;
next	1.1.1.2.2.2;

1.1.1.2.2.2
date	99.04.09.18.49.28;	author obrien;	state Exp;
branches;
next	1.1.1.2.2.3;

1.1.1.2.2.3
date	99.05.08.18.05.06;	author obrien;	state Exp;
branches;
next	1.1.1.2.2.4;

1.1.1.2.2.4
date	99.08.04.15.07.03;	author obrien;	state Exp;
branches;
next	1.1.1.2.2.5;

1.1.1.2.2.5
date	2000.06.27.10.30.54;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Remove isc-dhcp files from HEAD now that we're using the OpenBSD
dhclient.

Reminded by:	ru
Approved by:	re (blanket dhclient)
@
text
@		     Internet Software Consortium
	   Dynamic Host Configuration Protocol Distribution
		   Version 2, Beta 1, Patchlevel 6
			    June 26, 1998

			    Release Notes

This is the first Beta release of Version 2 of the Internet Software
Consortium DHCP Distribution.   This beta is believed to be fairly
stable.

				PLANS

Version 1 of the ISC DHCP Distribution includes just a DHCP Server.
Version 1 has been in feature freeze since late 1996, and is quite
stable.  This is the release that we would expect most sites to run in
production.

Version 2 of the ISC DHCP Distribution adds a DHCP Client and a
DHCP/BOOTP Relay Agent to the DHCP Server that was offered in version
1.0.   In addition, some new capabilities have been added to the
server:

	- IP addresses are now tested before they are assigned to
	  clients.   This allows the DHCP server to detect rogue
	  machines that may have hijacked IP addresses before an IP
	  address conflict can occur.

	- The server may be configured so that some DHCP clients can
	  be excluded from booting.

	- Improved NAKing behaviour, so that clients that are using
	  addresses other than the one the server knows they should be
	  using are disciplined quickly.

This version is now in Beta testing, and is planned for release in
mid-1998.  It has a number of new features, and is the release that we
would expect sites that want some stability but need the new lease
testing feature, or need a client or relay agent.   Note that it is
possible to run the Version 1 server with the Version 2 client.

Version 3 of the ISC DHCP Distribution will add Dynamic DNS Support,
asynchronous DNS query resolution, DHCP Authentication, and possibly
support for a DHCP Interserver Protocol and live querying of the DHCP
database.   This release is not expected to be stable in the near
future, and is intended for sites that are in a position to
experiment, or for sites that desperately need the new features.

	      CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 5

- Define some extra DLPI support flags that make DLPI work much better
  on Solaris.

- Fix inet_aton prototype/declaration to match Internet Software
  Consortium BIND distribution.

- Document new server-identifier functionality.

	      CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 4

- Do not use -Wstrict-prototypes on Solaris with gcc - if the Internet
  Software Consortium BIND distribution is not installed, this produces
  errors.

- Actually use the new DLPI support on Solaris - although the code was
  added in Patchlevel 2, it wasn't enabled (blush).

- Fix a prototype bug that's exposed when DLPI support is enabled on
  Solaris.

	      CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 3

- Fix a makefile botch that prevents the DHCP Distribution from
  from compiling on Solaris with gcc.   Sigh.

	      CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 2

- Allow server-identifier in any scope.   Use in-scope server
  identifier option rather than the default, if one exists.

- Delete newlines from abandoned lease reclaimation warning.

- Only release other applicable leases held by a client when the
  client sends a DHCPREQUEST.

- Fix core dump when find_lease didn't find a lease.

- Update dhcpd.leases man page.

	      CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 1

- Use -Wno-char-subscript on Solaris to prevent bogus warnings from
  gcc on Solaris 2.6.

- Add support for Apple's new Rhapsody operating system.

- Use DLPI on Solaris instead of using the BSD Sockets API.

- Fix two network input buffer overflow problems which could allow an
  attacker to pervert the stack.

- Fix an ancient typo that could theoretically cause memory
  corruption.

- Sort abandoned leases in at current time rather than end of time.
  This allows abandoned leases to be reclaimed if there are no
  available free leases.

- If a client explicitly requests a lease that's been abandoned, it's
  probably the system that was answering pings on that address, so let it
  have the lease.

- Fix a bunch of type conversion errors that are flagged by the Solaris
  C compiler.

	      CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 0

- Fix two potential buffer overflow problems.

- Differentiate between versions of Linux for better success in
  compiling.

- Fix bug in linux client script regarding routing setup.

- Clarify socket API error message on multiple interfaces.

- Fix broken comparison that was setting IP source address to zero.

- Reclaim abandoned leases if we run out of free leases.

	      CHANGES FROM THE DECEMBER 2, 1997 SNAPSHOT

- Use %ld to print pid_t and cast pid_t values to long to avoid
  inconsistent declarations between different POSIX flavours.

- Add support for ARPHRD_IEEE802 (token ring) hardware type.

- If we own an address and a client requests it, but we can't assign
  it to that client, we now NAK it so that the client doesn't try to
  reuse it.

		    CHANGES FROM THE JUNE SNAPSHOT

- Support for NeXTstep 3.x and 4.x

- Added man pages for dhcpd.leases, dhclient-script, dhclient.leases
  and dhclient.conf.   Move general documentation of DHCP options into
  a seperate man page which is referred to by the dhclient.conf and
  dhcpd.conf man pages.

- Updated README to answer some frequently asked questions.

- Fixed a bug in command-line interface specification in dhclient - it
  was formerly not possible to specify that only certain interfaces be
  configured.

- Do not leave client scripts lying around in /tmp after they've been
  used unless the -D flag is specified.

- Add a new, non-standard, not-guaranteed-to-stay-the-same system
  configuration status message server which can be used to trigger the
  client to recheck its address, e.g., after a laptop has been put to
  sleep and then awakened (this has yet to be documented).

- Fix handling of media selection in the REBOOT phase - previously the
  media type would not be remembered, which could cause severe delays
  in reacquiring an address if the default media type was wrong.

- Allocate space for a NUL terminator on the end of client options -
  this was previously overlooked, and could cause garbage characters
  to be written to the temporary client script files.

- Use mkstemp if it's available.

- Supply network number and broadcast address to the client script so
  that on systems that need these values, they don't need to be
  computed with an awk script.

- Keep a PID file for the client and the relay agent, and have the
  relay agent background itself by default.

- Add client script for bsd/os, fix many niggling bugs in existing
  client scripts and add support for static routing tables to all bsd
  scripts.

- Add a -q option to the client, server and relay agent so that they
  can be started from /etc/rc scripts without spewing a bunch of
  garbage on the console.   By default, all three daemons still print
  startup messages, since these are helpful in bug reporting.

- Don't print anything to stderr or stdout after going into
  background.

- Fix bug where hostname keyword was not being recognized in
  dhcpd.leases file, resulting in the loss of lease database entries.

- Fix problem on some operating systems where zero-length ifreq
  structures were being offset incorrectly when scanning the interface
  list on startup.

- Unless a BOOTP client requests it, never send more than 64 bytes of
  options.

- Don't ping static leases, since we don't have a lease structure on
  the heap to work with later.

- Fixed a compile problem on Solaris 2.6.

- Support interface aliases on Solaris.

- Print day and month with leading zero in lease files if less than
  ten, for easier parsing by perl/sed/awk scripts.

- Never make the lease database world writable, even if dhcpd is
  invoked with a bogus umask.

- Fix DHCPRELEASE handling (before, addressed would never be
  released.)

- If there is more than one lease for a particular client on a
  particular network, find the lease the client is asking for so as to
  avoid a cycle of NAKs.

- If a BOOTP request is received from a particular client and that
  client has previously received a DHCP address, make sure that we
  still find a valid BOOTP lease so that we don't cycle through
  addresses.

- Remove server-identifier option from documentation, other than to
  document that it has been deprecated.

- Don't give up if we get an EINTR or EAGAIN while polling or
  selecting - these return statuses can occur spuriously without
  indicating a fatal problem.

- Do not select for exceptions, since we don't handle them.   This was
  causing massive CPU consumption on some systems.

- When a DHCP client has been assigned a fixed address but had
  previously had a lease, it will request the old leased address.   In
  such an event, send a DHCPNAK so that it will discover its new
  static binding.
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Virgin import of ISC-DHCP v2.0b1pl6
@
text
@@


1.1.1.2
log
@Virgin import of ISC-DHCP v2.0b1pl11
@
text
@d3 2
a4 2
		   Version 2, Beta 1, Patchlevel 10
			  February 8, 1998
d16 2
a17 2
stable.  This is the release that we would expect very conservative
sites to run in production, but it is no longer recommended.
d36 5
a40 6
This version has been in a near feature freeze since January of 1998,
has been in Beta test since then, and is planned for final release in
mid-1999.  It has a number of important features, and is the release
that we would expect most sites to run.  It is possible to run the
Version 1 server with the Version 2 client at sites that want to be
really conservative.
d42 1
a42 2
Version 3 of the ISC DHCP Distribution will add conditional behaviour,
client classing, Dynamic DNS Support, DHCPv4 16-bit option codes,
d45 2
a46 7
database.  Currently, only client classing and conditional behaviour
have been implemented - the DNS code is waiting for an enhanced DNS
resolver.  The code has gone through a major internal restructuring
which will help to support wider option codes, and possibly IPv6, as
well as a more sensible memory allocation strategy.  This release is
running in producion at the ISC, but is not expected to be stable in
the near future, and is intended for sites that are in a position to
a47 198

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 10

- Update top-level Makefile so that it exits correctly on errors in
  submakes under bash/gnu make (dunno which is the culprit, and don't
  really care).

- Print a more helpful message if no free BPF devices are found.

- Add support for specifying that the server is or is not
  authoritative for a particular network segment.

- Fix two stupid typos in lpf.c.

- Print a more helpful message if we can't create an LPF socket or
  can't attach a filter to it.

	     CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 9

- Correct the hopelessly outdated information about Linux at the top
  of the README - many apologies to the Linux people who have had to
  read that nonsense for the past couple of snapshots and have been
  confused or annoyed by it.   I simply hadn't read it recently, and
  didn't realize how out-of-date it was.

- Print a message if the client finds no broadcast interfaces to
  configure.

- Add support for use-lease-addr-for-default-route flag in server, so
  that Windows machines can be made to ARP for all addresses.

- Update README file to mention new Linux gotchas.

- After finally understanding Brian Murrel's code (my fault, not his)
  to get interface names from /proc/net/dev on Linux, fix what I broke
  of his code and document it.

- Use sendto rather than send for SOCK_PACKET sockets, because they
  can't be connected, only bound.   :'(

- Fix up SOCK_PACKET creation so that the kernel doesn't complain
  about it.

- Fix incorrect tests in linux client script:
  [ $relmajor == 2 ] -> [ $relmajor -eq 2 ]

- Make typedefs for u8, u16 and u32 types.   These are Linux kernel
  internal data types which are unfortunately exposed in the linux
  packetfilter header file.

- Don't include <net/ethernet.h> in lpf.c - it defines things we're
  already correctly defining elsewhere, and doesn't define any useful
  new stuff.

- Finally fix client PREINIT bug that causes interfaces not specified
  on the command line to be preinitialized.   If no interfaces are
  specified on the command line, all interfaces are still
  preinitialized.

	     CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 8

- Fix socket API fallback setup code, which was causing Linux servers
  and clients to loop endlessly on select when run as daemons.

- Add support for Linux 2.2 version number (treated the same as Linux
  2.1, for now).

- Correct apparent error in DHCPREQUEST destination address handling
  when in INIT-REBOOT state.

- Do not set BROADCAST flag if we have a valid IP address.

- Remove hard-coded filenames and use system-specific manifest
  constants.

- Add entry and exit hooks to Linux dhclient-script (should be added
  to all operating systems once tested).

- Test for linux major and minor version so as to correctly invoke
  network configuration programs.

- Add support for Linux's gratuitous name change of bpf_insn structure
  (can't pollute precious Linux sources with the "Berkeley" word, I
  guess.

- Correct USE_BPF_{SEND,RECEIVE} ifdefs for if_reinitialize_*
  functions.

- Ensure that we have ifreq structure before initializing interface -
  if an interface was specified on the command line on Linux, this was
  not the case.

- Get rid of references to enstamp structure in lpf.c.   Correctly
  declare and initialize sock_fprog structure (aka bpf_filter
  structure on non-Linux machines).

- Define ssize_t on Ultrix.

	     CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 7

- Generalize FDDI support.

- Fix potential core dump in interface discovery code.

- Put explicit release versions on startup messages.

	     CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 6

- Add support for Linux Packet Filter (thanks to Brian Murrell, Interlinx).

- Add support for FDDI hardware type.

- Fix a long-standing bug in DLPI support where the ethertype was
  being set incorrectly (thanks to Gong Wei, CCENet).

- Don't use DLPI RAW mode on Solaris.

- In the client, when a lease expires, the interface to which that
  lease is attached is unconfigured.   On systems that use the socket
  API, the interface needs to then be reconfigured with the 0.0.0.0
  address so that it can be used to get a new address.

- Add fallback support for Linux.   This fixes a problem with the
  relay agent when relaying over non-broadcast links, and may also fix
  some obscure problems with unicasting DHCPACKs in both the server and
  relay agent.

- When allocating leases, if the oldest lease is abandoned, try to
  find a younger-but-still-expired lease rather than reclaiming the
  abandoned lease.

- Add more documentation to README.

- The absence of the /etc/dhclient.conf file is no longer considered
  an error.

- The dhcp client's lease file name can be specified on the command
  line.

- The DHCP client should no longer zap interfaces that it has not been
  directed to configure.

- If a client starts up in the init-reboot state, the xid will be a
  "random" number rather than always being zero, as was previously the
  case.

- In addition to comparing transaction IDs, compare hardware addresses
  in response packets to verify that they are ours.

- Rewrite the client lease database after 20 leases have been written.

- Fix the exponential backoff code.

- Add a Y2k comment to indicate that something suspicious-looking is
  in fact _not_ a problem.

- Use mkstemp if possible.

- Add missing fi in various client scripts.

- Use "search" instead of "domain" in linux resolv.conf files.

- Specify a hop count in all route command on solaris.

- If an allocation fails, don't try to zero out the allocation buffer
  we didn't get.

- Support subnets that are subsets of other subnets - that is, for
  example, 10.0.1.0/24 and 10.0.0.0/16.   This is useful in fairly
  obscure circumstances.

- Don't set the lease end time if it's already expired.

- Don't define INADDR_LOOPBACK on FreeBSD if it's already defined in a
  system header.

- Use the broadcast address in the relay agent if we are using the BSD
  socket API.

- Allow host declarations without names.

- Allow the server identifier option to be specified.

- Don't dump hostnames into the lease file if they contain
  non-printable characters.

- Copy the entire client hardware address buffer that the client sends
  to the output packet, not just the portion of it that's supposedly
  significant according to the hardware address length field.   This
  is done for the benefit of certain Microsoft clients.

- Don't send a second ICMP echo request if we receive two DHCPDISCOVER
  messages in quick succession.   This prevents a rather annoying
  timing race in configuring some Win95 clients.

- Fix up dhcp-options man page to make it more readable.   Note that
  netbios-name-server is the same thing as WINS.
  
@


1.1.1.3
log
@Virgin import of ISC-DHCP v2.0b1pl17
@
text
@d3 2
a4 2
		   Version 2, Beta 1, Patchlevel 18
			  February 27, 1998
a55 104
	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 16

- Fix linux man page install location.

- Fix some confusion in the dhclient-script man page.

- Fix error in includes/cf/linux.h that would have made network API
  selections in site.h work incorrectly.

- Fix some major stupidity in the code that figures out where or not a
  client owns a particular lease. 

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 15

- Fix Makefile.conf on Linux to refer to /var/state/dhcp instead of
  /var/state/dhcpd.

- Eliminate redundant #defines in includes/cf/linux.h (for neatness).

- Fix an obscure case where dhcpd is started by the /etc/rc system
  with exactly the same pid each time, dhcpd.pid is not erased on
  reboot, and therefore dhcpd would detect a server (itself) with the
  pid in dhcpd.pid and decide that another server was running and
  exit.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 14

- Install the dhcp databases in /var/state/dhcp instead of /etc or
  /var/dhcpd, as suggested in the Linux Filesystem Hierarchy
  Standard.

- Fix an endianness bug in dlpi.c.   As a consequence, make the
  Solaris/i386 use dlpi again.

- Fix a bunch of bugs in the Solaris client script.

- Add some more information about Solaris to the README file.

- Adjust startup message in interface probe so that the relay agent
  and client's unattached status will not trigger questions.

- Update some error messages to provide more help to new users for
  some common mistakes.

- Create an interface alias on Solaris when setting up IP aliases,
  rather than trying to do things the *BSD way.

- Fix a null pointer dereference bug (this time I went through the
  whole function and audited it for more null pointer dereferences,
  and I didn't find any, for what that's worth).

- Don't ever release leases in response to a DHCPDISCOVER (I think
  this was unlikely anyway, but why not be correct?).

- Remove the shared-network example from the sample dhcpd.conf file.

- Make ``make install'' make all first.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 13

- Support DESTDIR on installs.

- Fix a bug in dhcp.c where a store through a null pointer would
  be made under some reasonably common circumstances.

- Add test for ARPHRD_TUNNEL so that client and server do not fail on
  versions of Linux running IPsec implementations or the like.

- Move tests for constants defined in O.S. headers into osdep.h - test
  for HAVE_whatever in .c files.   Define relevant HAVE_whatevers in
  linux.h, so that versions of linux that define these constants as
  enums will still work.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 12

- Initialize the "quiet" variable in dhclient.c to zero (it was used
  without first having been initialized).

- Fix the parser code for the authoritative keyword.

- Adjust lease discovery code to NAK more aggressively for addresses
  the server knows it owns.

- Add several new messages for DHCPNAK.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 11

- Use DLPI only on sparcs running Solaris, since it seems not to work
  on i386 boxes running Solaris for reasons yet to be determined.

- In the client, close standard I/O descriptors when forking a daemon.

- Don't let large lease lengths wrap lease expiry times - just use
  what fits into a TIME value.

- Fix a bug in the SIOCGIFCONF interface scanning code.

- Fix a core dump in the interface scanner that crops up on Linux when
  an interface is specified on the command line.

- Don't use %D in strftime because egcs complains about it.

- Print the error message if SO_BINDTODEVICE fails.

d252 1
@


1.1.1.4
log
@Virgin import of ISC-DHCP v2.0b1pl18
@
text
@d4 1
a4 1
			    March 5, 1998
a54 19

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 17

- Fix a bug in the relay agent where messages to the client would be
  unicast in the IP header but broadcast in the link header.   The
  Microsoft DHCP client would reject such packets, preventing it from
  being configured.   This was only a problem on non-socket-API
  platforms.

- Do not attempt to reclaim requested abandoned leases in response to
  DHCPDISCOVER messages.

- Allow the maximum lease time parameter in a host declaration to
  override the maximum lease time parameter in a subnet declaration.

- Better document the -p flag for dhclient, dhcrelay and dhcpd.

- Apply John Wehle's patch to fix the endianness bug in the dlpi
  packet filter on Solaris.
@


1.1.1.5
log
@Virgin import of ISC-DHCP v2.0b1pl27
@
text
@d3 2
a4 2
		   Version 2, Beta 1, Patchlevel 27
			    April 23, 1999
a54 132

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 26

- Fix UDP/IP checksum code

- Fix UDP payload length computation to prevent logging of spurious
  errors.

- Support compilation on MacOS X

- Add support for some options that were added in RFC2132.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 25

- Use the udp header's length rather than computing the length based
  on the number of bytes received, because some broken relay agents
  send packets with ip lengths that are longer than then sum of the ip
  header size and the udp length.

- Do path keyword substitution on unformatted manual pages before
  installing them.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 24

- D'oh!   Fix a really stupid mistake in hash.c.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 23

- Support an always-reply-rfc1048 flag, which says to reply with an
  RFC1048-style vendor extensions buffer even if the client didn't
  send an RFC1048-style magic number.

- Fix a null pointer dereference.

- Use netmask from subnet if no netmask option specified.

- IRIX support (thanks to Don Badrak).

- Install unformatted manual pages on Linux.

- Add note in README about zcat vs. gzcat on BSD/os.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 22

- Test for lease before dereferencing it in dhcprequest.

- Free the client parameter request list in dhcpnak if there is one. 

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 21

- Fix a pasto in options.c that will cause a core dump whenever a
  client sends in a request without a parameter request list.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 20

- Actually do the client fix mentioned below - Patchlevel 20 only contained
  half of the fix.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 19

- Removed arp table clearing code from solaris client script.

- Document Linux "protocol not configured" error more thoroughly.

- Clean up some unused variables.

- Add entry and exit hooks to all dhcp client scripts, along with a
  make_resolv_conf function that can be redefined in the entry hooks.
  Document this new feature set.

- Fix client to take advantage of network APIs that allow it to
  receive a unicast instead of requesting that the DHCP server
  broadcast its response.

- Add -pf flag to all daemons allowing user to specify PID file name
  on command line.

- Undo a previous change that attempted to be clever about testing
  interface flags but wound up being stupid instead.

- Enforce access control on DHCPREQUEST messages as well as
  DHCPDISCOVER messages.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 18

- Support added for AIX 4.1.5.0 (and hopefully other versions).

- Use /var/run instead of /etc on Digital Unix.

- Change DHCP client exponential backoff code to back off more slowly,
  so that it is more robust in lossy environments, at the expense of
  being a bit less polite to the server.

- Don't request a specific lease interval in the client unless the
  user says to do so.

- Don't print DHCPXXX in wrong xxx messages unless DEBUG is defined.

- Fix handling of secs field.

- Fix handling of append statement.

- Fix documentation for append and prepend statements.

- Fix server support for parameter request list and maximum message
  size.

- Parameterize more hardware types in discover_interfaces.   Check for
  IFF_BROADCAST instead of !IFF_POINTOPOINT

- Print kernel configuration warning message if we get EINVAL when
  opening or configuring the Linux packet filter.

- Fix a bug in UDP checksum code (thanks to John Nemeth for figuring
  this out) and re-enable UDP checksumming.   This allows the client
  to work with some buggy DHCP servers that can't handle zero
  checksums in the UDP header - in particular, the one John's cable
  modem ISP is using.

- Don't report packet header checksum errors unless we see a lot of
  them.   It's perfectly normal for some number of checksum errors to
  occur.

- Refer to the dhcpd.leases man page when printing an error message
  prior to exiting because there's no lease database.

- Add information to the README telling the reader how to get to the
  manual pages.

- Fix the server packet transmission code to unicast when it can.

- Fix a typo in the dhcpd.conf manual page.
@


1.1.1.6
log
@Virgin import of ISC-DHCP v2.0
@
text
@d3 2
a4 2
			      Version 2
			    June 22, 1999
d8 27
a34 2
Version 2 of the ISC DHCP Distribution includes the ISC DHCP server,
DHCP Client and DHCP/BOOTP Relay Agent.
d37 18
a54 58
was in Beta test from that time to June of 1999, and has now been
released in its final form.  It has a number of important features,
and is the release that we would expect most sites to run.

For information on how to install, configure and run this software,
as well as how to find documentation and report bugs, please consult
the README file.

			      CHANGELOG

This log describes the changes that have been made in version 2.0
since June of 1997.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 29

- Define BYTE_ORDER in includes/cf/hpux.h so that ip.h will compile
  correctly on HP-UX.

- Fix a long-standing but minor bug in the way the program name for
  syslog was derived.

- Fix a long-standing bug that prevented the DHCP server from broadcasting
  responses to BOOTP clients that requested a broadcast response.

- In dhcprequest(), check to make sure that there's a lease before trying
  to acknowledge it to the client.   This fixes a potential core dump that
  a few people observed.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 28

- Fix some pastos I introduced when merging Andrew Chittenden's token
  ring support.

- Apply a patch to the token ring support from Andrew Chittenden.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 27

- Add dependencies to makefiles.

- Don't use ping -w 1 in freebsd client script.

- Token ring support for LPF, contributed by Andrew Chittenden.

- Fix a subtle bug that would cause the server to respond incorrectly
  in some cases when the client sent duplicate DHCPREQUEST packets.

- Fix option pretty printing for 'X' format.

- Add some special cases to deal with DHCPREQUEST packets from RFC1541
  clients.

- Fix an obscure bug in nested subnet mask handling.

- Fix a bug in abandoned lease reclamation.

- Allow maximum message size to be set in configuration file.

- Allow parameter request list to be supplied in configuration file.
@


1.1.1.6.2.1
log
@Ugrade to version 2.0 PL 1.
@
text
@d3 2
a4 2
			Version 2 Patchlevel 1
			    June 24, 2000
a23 26

		       CHANGES FROM VERSION 2.0

- Clean up DHCPRELEASE support.

- Don't use the broadcast flag when doing BOOTP unless we need to.

- Clean up the fallback mess.

- Quote all shell special characters in the client script.

- Fix ethernet header alignment on arm32.

- Clarify the "no subnet declaration" message.

- Correctly store the tftp server name in the lease file and the
  client script file.

- Avoid a potential spin loop in client when script file creation
  fails for reasons other than the presence of an existing file of the
  same name.

- Add support for Linux kernel versions greater than 2.2.

- Fix a problem in raw.c on Irix.   Thanks to Don Badrak for the
  patch.
@


1.1.1.6.2.2
log
@MFC: patchlevel 2 changes
@
text
@d3 2
a4 2
			Version 2 Patchlevel 2
			    June 30, 2000
a23 5

                CHANGES FROM VERSION 2.0 PATCHLEVEL 1

- Fix a case where an unitialized pointer could result from an exceptional
  case in DHCPRELEASE and cause a core dump.
@


1.1.1.6.2.3
log
@MFC: upgrade to Patchlevel 3 of the ISC 2.0 dhcp client.
@
text
@d3 2
a4 2
			Version 2 Patchlevel 3
			    July 19, 2000
a23 7

		CHANGES FROM VERSION 2.0 PATCHLEVEL 2

- Rather than calling a client environment setup script, set the
  environment up directly, so as to avoid any possible exploit making
  use of clever shell metacharacter hacks.   This is a security fix
  that applies to the DHCP client *only*.
@


1.1.1.6.2.4
log
@MFC:  Patchlevel 5 of the ISC 2.0 dhcp client.
@
text
@d3 2
a4 2
			Version 2 Patchlevel 5
			  September 6, 2000
a23 12

		CHANGES FROM VERSION 2.0 PATCHLEVEL 4

- Fix a prototype mismatch that causes compiles to fail on some architectures.

- Two minor cosmetic changes to manual pages.

		CHANGES FROM VERSION 2.0 PATCHLEVEL 3

- Fix a bug introduced in the client in the previous patchlevel where the
  broadcast would be set to the subnet number instead of the broadcast
  address.
@


1.1.1.6.2.5
log
@MFC: DHCP 3.0.1 RC8
@
text
@d1 4
a4 4
	    Internet Software Consortium DHCP Distribution
			     Version 3.0.1
			  Release Candidate 8
			   February 21, 2002
d8 2
a9 1
			     NEW FEATURES
d11 4
a14 26
Version 3 of the ISC DHCP Distribution includes the following features
that are new since version 2.0:

     - DHCP Failover Protocol support
     - OMAPI, an API for accessing and modifying the DHCP server and
       client state.
     - Conditional behaviour
     - Storing arbitrary information on leases
     - Address pools with access control
     - Client classing
     - Address allocation restriction by class
     - Relay agent information option support 
     - Dynamic DNS updates
     - Many bug fixes, performance enhancements, and minor new DHCP
       protocol features. 

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
has been provided to convert 3.0b1 lease files.   This is in
contrib/3.0b1-lease-convert.
d20 1
a20 7
The Dynamic DNS Update support is a descendent of an implementation
done by Lans Carstensen and Brian Dols at Rose-Hulman Institute of
Technology, Jim Watt at Applied Biosystems, Irina Goble at Integrated
Measurement Systems, Igor Sharfmesser at Kazakh Telecom, and Brian
Murrell at BC Tel Advanced Communications.  I'd like to express my
thanks to all of these good people here, both for working on the code
and for prodding me into improving it.
d22 2
a23 1
			Changes since 3.0.1rc7
d25 1
a25 3
- 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.
d27 1
a27 1
			Changes since 3.0.1rc6
d29 1
a29 2
- Don't allow a lease that's in the EXPIRED, RELEASED or RESET state
  to be renewed.
d31 1
a31 2
- Implement lease stealing for cases where the primary has fewer leases
  than the secondary, as called for by the standard.
d33 3
a35 2
- Add a fudge factor to the lease expiry acceptance code, (suggested
  by Kevin Miller of CMU).
d37 1
a37 2
- Fix a bug in permit_list_match that made it much too willing to say
  that two permit lists matched.
d39 4
a42 2
- Unless DEBUG_DNS_UPDATES is defined, print more user-friendly (and
  also more compact) messages about DNS updates.
d44 1
a44 1
- Fix a bug in generating wire-format domain names for the FQDN option.
d46 2
a47 2
- Fix a bug where the FQDN option would not be returned if the client
  requested it, contrary to the standard.
d49 1
a49 1
- On Darwin, use the freebsd DHCP client script.
d51 1
a51 1
- On NetBSD/sparc, don't check for casting warnings.
d53 1
a53 3
- Add a flag in the DHCP client to disable updating the client's A
  record when sending an FQDN option indicating that the client is
  going to update its A record.
d55 1
a55 4
- In the client, don't attempt a DNS update until one second after
  configuring the new IP address, and if the update times out, keep
  trying until a response, positive or negative, is received from the
  DNS server.
d57 1
a57 1
- Fix an uninitialized memory bug in the DHCP client.
d59 1
a59 1
- Apply some FreeBSD-specific bug fixes suggested by Murray Stokely.
d61 1
a61 3
- Fix a bug in ns_parserr(), where it was returning the wrong sort
  of result code in some cases (suggested by Ben Harris of the
  NetBSD project).
d63 2
a64 2
- Fix a bug in is_identifier(), where it was checking against EOF
  instead of the END_OF_FILE token (also suggested by Ben Harris).
d66 3
a68 2
- Fix a bug where if an option universe contained no options, the
  DHCP server could dump core (Walter Steiner).
d70 1
a70 1
- Fix a bug in the handling of encapsulated options.
d72 2
a73 1
- Fix a bug that prevented NWIP suboptions from being processed.
d75 1
a75 3
- Delete the FTS_BOOTP and FTS_RESERVED states and implement them
  as modifier flags to the FTS_ACTIVE state, as called for in the
  failover protocol standard.
d77 2
a78 3
- Fix bugs in the pool merging code that resulted in references and
  dereferences of null pointers.   This bug had no impact unless the
  POINTER_DEBUG flag was defined.
d80 2
a81 4
- In the server, added a do-forward-updates flag that can be used to
  disable forward updates in all cases, so that sites that want the
  clients to take sole responsibility for updating their A record can
  do so.
d83 2
a84 1
- Make it possible to disable optimization of PTR record updates.
d86 3
a88 1
			Changes since 3.0.1rc5
d90 1
a90 1
- Include some new documentation and changes provided by Karl Auer.
d92 2
a93 2
- Add a workaround for some Lexmark printers that send a double-NUL-
  terminated host-name option, which would break DNS updates.
d95 1
a95 2
- Fix an off-by-one error in the MAC-address checking code for
  DHCPRELEASE that was added in 3.0.1rc5.
d97 1
a97 3
- Fix a bug where client-specific information was not being discarded
  from the lease when it expired or was released, resulting in
  problems if the lease was reallocated to a different client.
d99 1
a99 3
- If more than one allocation pool is specified that has the same set
  of constraints as another allocation pool on the same shared
  network, merge the two pools.
d101 1
a101 3
- Don't print an error in fallback_discard, since this just causes
  confusion and does not appear to be helping to encourage anyone to
  fix this bug.
d103 1
a103 1
			Changes since 3.0.1rc4
d105 2
a106 2
- Fix a bug that would cause the DHCP server to spin if asked to parse
  a certain kind of incorrect statement.
d108 1
a108 2
- Fix a related bug that would prevent an error from being reported in
  the same case.
d110 2
a111 1
- Additional documentation.
d113 1
a113 2
- Make sure that the hardware address matches the lease when
  processing a DHCPRELEASE message.
d115 1
a115 1
			Changes since 3.0.1rc3
d117 1
a117 2
- A minor bug fix in the arguments to a logging function call.
- Documentation update for dhcpd.conf.
d119 1
a119 1
		        Changes since 3.0.1rc2
d121 1
a121 5
- Allow the primary to send a POOLREQ message.   This isn't what the current
  failover draft says to do, so we may have to back it out if I can't get the
  authors to relent, but the scheme for balancing that's specified in the
  current draft seems needlessly hairy, so I'm floating a trial balloon.
  The rc1 code did not implement the method described in the draft either.
d123 1
a123 1
		        Changes since 3.0.1rc1
d125 2
a126 4
- Treat NXDOMAIN and NXRRSET as success when we are trying to delete a
  domain or RRSET.   This allows the DHCP server to forget about a name
  it added to the DNS once it's been removed, even if the DHCP server
  wasn't the one that removed it.
d128 1
a128 3
- Install defaults for failover maximum outstanding updates and maximum
  silent time.   This prevents problems that might occur if these values
  were not configured.
d130 1
a130 1
- Don't do DDNS deletes if ddns-update-style is none.
d132 1
a132 3
- Return relay agent information options in DHCPNAK.   This prevents DHCPNAK
  messages from being dropped when the relay agent information option contains
  routing information.
d134 4
a137 2
- Fix a problem where coming up in recover wouldn't result in an update
  request being sent.
d139 2
a140 2
- Add some more chatty messages when we start a recovery update and when it's
  done.
d142 1
a142 3
- Fix a possible problem where some state might have been left around
  after the peer lost contact and regained contact about how many updates
  were pending.
d144 1
a144 3
- Don't nix a lease update because of a lease conflict.   This test has
  never (as far as I know) prevented a mistake, and it appears to cause
  problems with failover.
d146 1
a146 3
- Add support in rc history code for keeping a selective history, rather
  than a history of all references and dereferences.   This code is only used
  when extensive additional debugging is enabled.
d148 3
a150 1
		           Changes since 3.0
d152 1
a152 2
- Make allocators for hash tables.   As a side effect, this fixes a memory
  smash in the subclass allocation code.
d154 1
a154 2
- Fix a small bug in omshell where if you try to close an object when
  no object is open, it dumps core.
d156 1
a156 1
- Fix an obscure coredump that could occur on shutdown.
d158 1
a158 1
- Fix a bug in the recording of host declaration rubouts in the lease file.
d160 1
a160 1
- Fix two potential spins in the host deletion code.
d162 1
a162 2
- Fix a core dump that would happen if an application tried to update
  a host object attribute with a null value.
d164 1
a164 1
		Changes since 3.0 Release Candidate 12
d166 1
a166 1
- Fix a memory leak in the evaluation code.
d168 1
a168 1
- Fix an obscure core dump.
d170 2
a171 2
- Print a couple of new warnings when parsing the configuration file
  when crucial information is left out.
d173 1
a173 1
- Log "no free leases" as an error.
d175 2
a176 1
- Documentation updates.
d178 1
a178 1
		Changes since 3.0 Release Candidate 11
d180 1
a180 1
- Always return a subnet selection option if one is sent.
d182 1
a182 2
- Fix a warning that was being printed because an automatic data
  structure wasn't zeroed.
d184 1
a184 2
- Fix some failover state transitions that were being handled
  incorrectly.
d186 3
a188 7
- When supersede_lease is called on a lease whose end time has already
  expired, but for which a state transition has not yet been done, do
  a state transition.   This fixes the case where if the secondary
  allocated a lease to a client and the lease "expired" while the
  secondary was in partner-down, no expiry event would actually
  happen, so the lease would remain active until the primary was
  restarted.
d190 3
a192 1
		Changes since 3.0 Release Candidate 10
d194 2
a195 2
- Fix a bug that was preventing released leases from changing state
  in failover-enabled pools.
d197 2
a198 2
- Fix a core dump in the client identifier finder code (for host
  declarations).
d200 2
a201 2
- Finish fixing a bug where bogus data would sometimes get logged to
  the dhclient.leases file because it was opened as descriptor 2.
d203 1
a203 2
- Fix the linux dhclient-script according to suggestions made by
  several people on the dhcp-client mailing list.
d205 1
a205 1
- Log successful DNS updates at LOG_INFO, not LOG_ERROR.
d207 1
a207 2
- Print an error message and refuse to run if a failover peer is
  defined but not referenced by any pools.
d209 3
a211 1
- Correct a confusing error message in failover.
d213 2
a214 1
		Changes since 3.0 Release Candidate 9
d216 1
a216 1
- Fix a bug in lease allocation for Dynamic BOOTP clients.
d218 1
a218 1
	  Changes since 3.0 Release Candidate 8 Patchlevel 2
d220 1
a220 1
- Fix a bug that prevented update-static-leases from working.
d222 1
a222 1
- Document failover-state OMAPI object.
d224 2
a225 1
- Fix a compilation error on SunOS 4.
d227 2
a228 1
	  Changes since 3.0 Release Candidate 8 Patchlevel 1
d230 2
a231 3
- Fix a parsing bug that broke dns updates (both interim and ad-hoc).
  This was introduced in rc8pl1 as an unintended result of the memory
  leakage fixes that were in pl1.
d233 5
a237 5
- Fix a long-standing bug where the server would record that an update
  had been done for a client with no name, even though no update had
  been done, and then when the client's lease expired the deletion of
  that nonexistant record would time out because the name was the null
  string. 
d239 3
a241 1
- Clean up the omshell, dhcpctl and omapi man pages a bit.
d243 2
a244 1
		Changes since 3.0 Release Candidate 8
d246 2
a247 2
- Fix a bug that could cause the DHCP server to spin if
  one-lease-per-client was enabled.
d249 1
a249 2
- Fix a bug that was causing core dumps on BSD/os in the presence of
  malformed packets.
d251 1
a251 1
- In partner-down state, don't restrict lease lengths to MCLT.
d253 1
a253 3
- On the failover secondary, record the MCLT received from the primary
  so that if we come up without a connection to the primary we don't
  wind up giving out zero-length leases.
d255 5
a259 1
- Fix some compilation problems on BSD/os.
d261 2
a262 1
- Fix a bunch of memory leaks.
d264 2
a265 1
- Fix a couple of bugs in the option printer.
d267 1
a267 2
- Fix an obscure error reporting bug in the dns update code, and also
  make the message clearer when a key algorithm isn't supported.
d269 2
a270 2
- Fix a bug in the tracing code that prevented trace runs that used
  tcp connections from being played back.
d272 1
a272 2
- Add some additional debugging capability for catching memory leaks
  on exit.
d274 1
a274 1
- Make the client release the lease correctly on shutdown.
d276 1
a276 1
- Add some configurability to the build system.
d278 2
a279 1
- Install omshell manual page in man1, not man8.
d281 2
a282 3
- Craig Gwydir sent in a patch that fixes a long-standing bug in the
  DHCP client that could cause core dumps, but that for some reason
  hadn't been noticed until now.
d284 1
a284 1
		Changes since 3.0 Release Candidate 7
d286 2
a287 2
- Fix a bug in failover where we weren't sending updates after a
  transition from communications-interrupted to normal.
d289 1
a289 3
- Handle expired/released/reset -> free transition according to the
  protocol specification (this works - the other way not only wasn't
  conformant, but also didn't work).
d291 5
a295 2
- Add a control object in both client and server that allows either
  daemon to be shut down cleanly.
d297 1
a297 2
- When writing a lease, if we run out of disk space, shut down the
  output file and insist on writing a new one before proceeding.
d299 3
a301 2
- In the server, if the OMAPI listener port is occupied, keep trying
  to get it, rather than simply giving up and exiting.
d303 2
a304 2
- Support fetching variables from leases and also updating and adding
  variables to leases via OMAPI.
d306 1
a306 2
- If two failover peers have wildly different clocks, refuse to start
  doing failover.
d308 1
a308 2
- Fix a bug in the DNS update code that could cause core dumps when
  running on alpha processors.
d310 2
a311 2
- Fixed a bug in ddns updates for static lease entries, thanks to a
  patch from Andrey M Linkevitch.
d313 2
a314 1
- Add support for Darwin/MacOS X
d316 2
a317 1
- Install omshell (including new documentation).
d319 3
a321 2
- Support DNS updates in the client (this is a very obscure feature
  that most DHCP client users probably will not be able to use).
d323 2
a324 1
- Somewhat cleaner status logging in the client.
d326 1
a326 2
- Make OMAPI key naming syntax compatible with the way keys are
  actually named (key names are domain names).
d328 1
a328 1
- Fix a bug in the lease file writer.
d330 1
a330 2
- Install DHCP ISC headers in a different place than BIND 9 ISC
  headers, to avoid causing trouble in BIND 9 builds.
d332 1
a332 2
- Don't send updates for attributes on an object when the attributes
  haven't changed.   Support deleting attributes on remote objects.
d334 2
a335 2
- Fix a number of bugs in omshell, and add the unset and refresh
  statements.
d337 2
a338 2
- Handle disconnects in OMAPI a little bit more intelligently (so that
  the caller gets ECONNRESET instead of EINVAL).
d340 4
a343 3
- Fix a bunch of bugs in the handling of clients that have existing
  leases when the try to renew their leases while failover is
  operating.
d345 1
a345 1
		Changes since 3.0 Release Candidate 6
d347 2
a348 4
- Fix a core dump that could happen when processing a DHCPREQUEST from
  a client that had a host declaration that contained both a
  fixed-address declaration and a dhcp-client-identifier option
  declaration, if the client identifier was longer than nine bytes.
d350 1
a350 2
- Fix a memory leak that could happen in certain obscure cases when
  using omapi to manipulate leases.
d352 2
a353 1
- Fix some bugs and omissions in omshell.
d355 1
d357 1
a357 1
		Changes since 3.0 Release Candidate 5
d359 2
a360 2
- Fix a bug in omapi_object_dereference that prevented objects in
  chains from having their reference counts decreased on dereference.
d362 1
a362 3
- Fix a bug in omapi_object_dereference that would prevent object
  chains from being freed upon removal of the last reference external
  to the chain.
d364 2
a365 1
- Fix a number of other memory leaks in the OMAPI protocol subsystem.
d367 1
a367 1
- Add code in the OMAPI protocol handler to trace memory leakage.
d369 2
a370 1
- Clean up the memory allocation/reference history printer.
d372 1
a372 2
- Support input of dotted quads and colon-seperated hex lists as
  attribute values in omshell.
d374 1
a374 1
- Fix a typo in the linux interface discovery code.
d376 1
a376 1
- Conditionalize a piece of trace code that wasn't conditional.
d378 3
a380 1
		Changes since 3.0 Release Candidate 4
d382 1
a382 2
- Fix a bug that would prevent leases from being abandoned properly on
  DHCPDECLINE.
d384 2
a385 1
- Fix failover peer OMAPI support.
d387 1
a387 3
- In failover, correctly handle expiration of leases.   Previously,
  leases would never be reclaimed because they couldn't make the
  transition from EXPIRED to FREE.
d389 2
a390 1
- Fix some broken failover state transitions.
d392 1
a392 1
- Documentation fixes.
d394 5
a398 2
- Take out an unnecessary check in DHCP relay agent information option
  stashing code that was preventing REBINDING clients from rebinding.
d400 2
a401 2
- Prevent failover peers from allocating leases in DHCPREQUEST
  processing if the lease belongs to the other server.
d403 2
a404 1
- Record server version in lease file introductory comment.
d406 1
a406 1
- Correctly report connection errors in OMAPI and failover.
d408 3
a410 2
- Make authentication signature algorithm name comparisons in OMAPI
  case-insensitive.
d412 2
a413 1
- Fix compile problem on SunOS 4.x
d415 2
a416 3
- If a signature algorithm is not termined with '.', terminate it so
  that comparisons between fully-qualified names will work
  consistently.
d418 2
a419 2
- Different SIOCGIFCONF probe code, may "fix" problem on some Linux
  systems with the probe not working correctly.
d421 3
a423 1
- Don't allow user to type omapi key on command line of omshell.
d425 3
a427 1
		Changes since 3.0 Release Candidate 3
d429 4
a432 3
- Do lease billing on startup in a way that I *think* will finally do
  the billing correctly - the previous method could overbill as a
  result of duplicate leases.
d434 1
a434 1
- Document OMAPI server objects.
d436 2
a437 1
	  Changes since 3.0 Release Candidate 2 Patchlevel 1
d439 2
a440 2
- Fix some problems in the DDNS update code.   Thanks to Albert
  Herranz for figuring out the main problem.
d442 2
a443 2
- Fix some reference counting errors on host entries that were causing
  core dumps.
d445 1
a445 2
- Fix a byte-swap bug in the token ring code, thanks to Jochen
  Friedrich.
d447 2
a448 1
- Fix a bug in lease billing, thanks to Jonas Bulow.
d450 2
a451 1
		Changes since 3.0 Release Candidate 2
d453 2
a454 4
- Change the conditions under which a DHCPRELEASE is actually
  committed to be consistent with lease binding states rather than
  using the lease end time.   THis may fix some problems with the
  billing class code.
d456 3
a458 2
- Fix a bug where lease updates would fail on Digital Unix (and maybe
  others) because malloc was called with a size of zero.
d460 2
a461 2
- Fix a core dump that happens when the DHCP server can't create its
  trace file.
d463 3
a465 1
	  Changes since 3.0 Release Candidate 1 Patchlevel 1
d467 3
a469 4
- Fix the dhcp_failover_put_message to not attempt to allocate a
  zero-length buffer.   Some versions of malloc() fail if you try to
  allocate a zero-length buffer, and this was causing problems on,
  e.g., Digital Unix.
d471 1
a471 2
- Fix a case where the failover code was printing an error message
  when no error had occurred.
d473 1
a473 3
- Fix a problem where when a server went down and back up again, the
  peer would not see a state transition and so would stay in the
  non-communicating state.
d475 1
a475 1
- Be smart about going into recover_wait.
d477 1
a477 3
- Fix a problem in the failover implementation where peers would fail
  to come into sync if interrupted in the RECOVER state.   This could
  have been the cause of some problems people have reported recently.
d479 1
a479 2
- Fix a problem with billing classes where they would not be unbilled
  when the client lease expired.
d481 1
a481 4
- If select fails, figure out which descriptor is bad, and cut it out
  of the I/O loop.   This prevents a potentially nasty spin.  I
  haven't heard any report it in a while, but it came up consistently
  in testing.
d483 1
a483 2
- Fix a bug in the relay agent where if you specified interfaces on
  the command line, it would fail.
d485 1
a485 2
- Fix a couple of small bugs in the omapi connection object (no known
  user impact).
d487 2
a488 1
- Add the missing 3.0 Beta 1 lease conversion script.
d490 1
a490 2
- Read dhcp client script hooks if they exist, rather than only if
  they're executable.
d492 4
a495 1
		Changes since 3.0 Release Candidate 1
d497 4
a500 4
- Fix a memory smash that happens when fixed-address leases are used.
  ANY SITE AT WHICH FIXED-ADDRESS STATEMENTS ARE BEING USED SHOULD
  UPGRADE IMMEDIATELY.   This has been a long-standing bug - thanks to
  Alvise Nobile for discovering it and helping me to find it!
d502 3
a504 2
- Fix a small bug in binary-to-ascii, thanks to H. Peter Anvin of
  Transmeta.
d506 1
a506 4
- There is a known problem with the DHCP server doing failover on
  Compaq Alpha systems.   This patchlevel is not a release candidate
  because of this bug.   The bug should be straightforward to fix, so
  a new release candidate is expected shortly.
d508 2
a509 2
- There is a known problem in the DDNS update code that is probably a
  bug, and is not, as far as we know, fixed in this patchlevel.
d511 2
a512 1
		Changes since 3.0 Beta 2 Patchlevel 24
d514 2
a515 2
- Went over problematic failover state transitions and made them all
  work, so that failover should now much less fragile.
d517 3
a519 1
- Add some dhcpctl and omapi documentation
d521 2
a522 1
- Fix compile errors when compiling with unusual predefines.
d524 1
a524 1
- Make Token Ring work on Linux 2.4
d526 1
a526 1
- Fix the Digital Unix BPF_WORDALIGN bug.
d528 2
a529 1
- Fix some dhcp client documentation errors.
d531 1
a531 1
- Update some parts of the README file.
d533 1
a533 1
- Support GCC on SCO.
d535 1
a535 1
	        Changes since 3.0 Beta 2 Patchlevel 23
d537 1
a537 2
- Fix a bug in the DNS update code where a status code was not being
  checked.   This may have been causing core dumps.
d539 2
a540 3
- When parsing the lease file, if a lease declaration includes a
  billing class statement, and the lease already has a billing class,
  unbill the old class.
d542 3
a544 2
- When processing failover transactions, where acks will be deferred,
  process the state transition immediately.
d546 1
a546 2
-  Don't try to use the new SIOCGIFCONF buffer size detection code on
   Linux 2.0, which doesn't provide this functionality.
d548 2
a549 1
- Apply a patch suggested by Tuan Uong for a problem in dlpi.c.
d551 2
a552 1
- Fix a problem in using the which command in the configure script.
d554 1
a554 1
- Fix a parse error in the client when setting up an omapi listener.
d556 1
a556 1
- Document the -n and -g flags to the client.
d558 2
a559 3
- Make sure there is always a stdin and stdout on startup.   This
  prevents shell scripts from accidentally writing error messages into
  configuration files that happen to be opened as stderr.
d561 4
a564 2
- If an interface is removed, the client will now notice that it is
  gone rather than spinning.   This has only been tested on NetBSD.
d566 3
a568 2
- The client will attempt to get an address even if it can't create a
  lease file.
d570 2
a571 1
- Don't overwrite tracefiles.
d573 1
a573 1
- Fix some memory allocation bugs in failover.
d575 2
a576 1
	        Changes since 3.0 Beta 2 Patchlevel 22
d578 2
a579 2
- Apply some patches suggested by Cyrille Lefevre, who is maintaining
  the FreeBSD ISC DHCP Distribution port.
d581 1
a581 1
- Fix a core dump in DHCPRELEASE.
d583 1
a583 1
	        Changes since 3.0 Beta 2 Patchlevel 21
d585 3
a587 1
- This time for sure: fix the spin described in the changes for pl20.
d589 2
a590 1
	        Changes since 3.0 Beta 2 Patchlevel 20
d592 2
a593 1
- Fix a problem with Linux detecting large numbers of interfaces (Ben)
d595 1
a595 2
- Fix a memory smash in the quotify code, which was introduced in
  pl19.
d597 2
a598 3
- Actually fix the spin described in the changes for pl20.   The
  previous fix only partially fixed the problem - enough to get it
  past the regression test.
d600 1
a600 1
	        Changes since 3.0 Beta 2 Patchlevel 19
d602 2
a603 2
- Fix a bug that could cause the server to abort if compiled with
  POINTER_DEBUG enabled.
d605 1
a605 2
- Fix a bug that could cause the server to spin when responding to a
  DHCPREQUEST.
d607 2
a608 1
- Apply Joost Mulders' suggested patches for DLPI on x86.
d610 1
a610 1
- Support NUL characters in quoted strings.
d612 1
a612 1
- Install unformatted man pages on SunOS.
d614 1
a614 1
	        Changes since 3.0 Beta 2 Patchlevel 18
d616 2
a617 2
- Allow the server to be placed in partner-down state using OMAPI.
  (Damien Neil)
d619 1
a619 2
- Implement omshell, which can be used to do arbitrary things to the
  server (in theory). (Damien Neil)
d621 1
a621 3
- Fix a case where if a client had two different leases the server could
  actually dereference the second one when it hadn't been referenced,
  leading to memory corruption and a core dump. (James Brister)
d623 2
a624 4
- Fix a case where a client could request the address of another client's
  lease, but find_lease wouldn't detect that the other client had it, and
  would attempt to allocate it to the client, resulting in a lease conflict
  message.
d626 2
a627 3
- Fix a case where a client with more than one client identifier could be
  given a lease where the hardware address was correct but the client
  identifier was not, resulting in a lease conflict message.
d629 3
a631 6
- Fix a problem where the server could write out a colon-seperated
  hex list as a value for a variable, which would then not parse.
  The fix is to always write strings as quoted strings, with any
  non-printable characters quoted as octal escape sequences.   So
  a file written the old way still won't work, but new files written
  this way will work.
d633 3
a635 1
- Fix documentation for sending non-standard options.
d637 2
a638 4
- Use unparsable names for unknown options.    WARNING: this will
  break any configuration files that use the option-nnn convention.
  If you want to continue to use this convention for some options,
  please be sure to write a definition, like this:
d640 1
a640 1
  option option-nnn code nnn = string;
d642 1
a642 1
  You can use a descriptive name instead of option-nnn if you like.
d644 2
a645 3
- Fix a problem where we would see a DHCPDISCOVER/DHCPOFFER/
  DHCPREQUEST/DHCPACK/DHCPREQUEST/DHCPNAK sequence.   This was the
  result of a deceptively silly bug in supersede_lease.
d647 1
a647 2
- Fix client script exit status check, according to a fix supplied by
  Hermann Lauer.
d649 1
a649 2
- Fix an endianness bug in the tracefile support, regarding ICMP
  messages.
d651 1
a651 2
- Fix a bug in the client where the medium would not work correctly if
  it contained quoted strings.
d653 1
a653 1
		       ** there was no pl17 **
d655 1
a655 1
	        Changes since 3.0 Beta 2 Patchlevel 16
d657 2
a658 6
- Add support for transaction tracing.   This allows the state of the
  DHCP server on startup, and all the subsequent transactions, to be
  recorded in a file which can then be played back to reproduce the
  behaviour of the DHCP server.   This can be used to quickly
  reproduce bugs that cause core dumps or corruption, and also for
  tracking down memory leaks.
d660 1
a660 7
- Incorporate some bug fixes provided by Joost Mulders for the DLPI
  package which should clear up problems people have been seeing on
  Solaris.

- Fix bugs in the handling of options stored as linked lists (agent
  options, fqdn options and nwip options) that could cause memory
  corruption and core dumps.
d662 3
a664 2
- Fix a bug in DHCPREQUEST handling that resulted in DHCPNAK messages
  not being send in some cases when they were needed.
d666 1
a666 1
- Make the lease structure somewhat more compact.
d668 1
a668 2
- Make initial failover startup *much* faster.   This was researched
  and implemented by Damien Neil.
d670 4
a673 2
- Add a --version flag to all executables, which prints the program
  name and version to standard output.
d675 1
a675 1
- Don't rewrite the lease file every thousand leases.
d677 3
a679 2
- A bug in nit.c for older SunOS machines was fixed by a patch sent in
  by Takeshi Hagiwara.
d681 2
a682 1
- Fix a memory corruption bug in the DHCP client.
d684 4
a687 1
- Lots of documentation updates.
d689 3
a691 2
- Add a feature allowing environment variables to be passed to the
  DHCP client script on the DHCP client command line.
d693 3
a695 1
- Fix client medium support, which had been broken for some time.
d697 1
a697 2
- Fix a bug in the DHCP client initial startup backoff interval, which
  would cause two DHCPDISCOVERS to be sent back-to-back on startup.
d699 3
d703 2
a704 1
	        Changes since 3.0 Beta 2 Patchlevel 15
d706 3
a708 1
- Some documentation tweaks.
d710 4
a713 1
- Maybe fix a problem in the DLPI code.
d715 2
a716 1
- Fix some error code space inconsistencies in ddns update code.
d718 2
a719 2
- Support relay agents that intercept unicast DHCP messages to stuff
  agent options into them.
d721 3
a723 1
- Fix a small memory leak in the relay agent option support code.
d725 1
a725 1
- Fix a core dump that would occur if a packet was sent with no
d728 2
a729 133
	        Changes since 3.0 Beta 2 Patchlevel 14

- Finish fixing a long-standing bug in the agent options code.   This
  was causing core dumps and failing to operate correctly - in
  particular, agent option stashing wasn't working.   Agent option
  stashing should now be working, meaning that agent options can be
  used in class statements to control address allocation.

- Fix up documentation.

- Fix a couple of small memory leaks that would have added up
  significantly in a high-demand situation.

- Add a log-facility configuration parameter.

- Fix a compile error on some older operating systems.

- Add the ability in the client to execute certain statements before
  transmitting packets to the server.   Handy for debugging; not much
  practical use otherwise.

- Don't send faked-out giaddr when renewing or bound - again, useful
  for debugging.

	        Changes since 3.0 Beta 2 Patchlevel 13

- Fixed a problem where the fqdn decoder would sometimes try to store
  an option with an (unsigned) negative length, resulting in a core
  dump on some systems.

- Work around the Win98 DHCP client, which NUL-terminates the FQDN
  option.

- Work around Win98 and Win2k clients that will claim they want to do
  the update even when they don't have any way to do it.

- Fix some log messages that can be printed when failover is operating
  that were not printing enough information.

- It was possible for a DHCPDISCOVER to get an allocation even when
  the state machine said the server shouldn't be responding.

- Don't load balance DHCPREQUESTs from clients in RENEWING and
  REBINDING, since in RENEWING, if we heard it, it's for us, and in
  REBINDING, the client wouldn't have got to REBINDING if its primary
  were answering.

- When we get a bogus state lease binding state transition, don't do
  the transition.
  

	        Changes since 3.0 Beta 2 Patchlevel 12

- Fixed a couple of silly compile errors.

		Changes since 3.0 Beta 2 Patchlevel 11

- Albert Herranz tracked down and fixed a subtle bug in the base64
  decoder that would prevent any key with an 'x' in its base64
  representation from working correctly.

- Thanks to Chris Cheney and Michael Sanders, we have a fix for the
  hang that they both spotted in the DHCP server - when
  one-lease-per-client was set, the code to release the "other" lease
  could spin.

- Fix a problem with alignment of the input buffer in bpf in cases
  where two packets arrive in the same bpf read.

- Fix a problem where the relay agent would crash if you specified an
  interface name on the command line.

- Add the ability to conditionalize client behaviour based on the
  client state.

- Add support for the FQDN option, and added support for a new way of
  doing ddns updates (ddns update style interim) that allows more than
  one DHCP server to update the DNS for the same network(s).   This
  was implemented by Damien Neil with some additional functionality
  added by Ted Lemon.

- Damien added a "log" statement, so that the configuration file can
  be made to log debugging information and other information.

- Fixed a bug that caused option buffers not to be terminated with an
  end option.

- Fixed a long-standing bug in the support for option spaces where the
  options are stored as an ordered list rather than in a hash table,
  which could theoretically result in memory pool corruption.

- Prevent hardware declarations with no actual hardware address from
  being written as something unparsable, and behave correctly in the
  face of a null hardware address on input.

- Allow key names to be FQDNs, and qualify the algorithm name if it is
  specified unqualified.

- Modify the DDNS update code so that it never prints the "resolver
  failed" message, but instead says *why* the resolver failed.

- Officially support the subnet selection option, which now has an
  RFC.

- Fix a build bug on MacOS X.

- Allow administrator to disable ping checking.

- Clean up dhcpd.conf documentation and add more information about how
  it works.

		Changes since 3.0 Beta 2 Patchlevel 10

- Fix a bug introduced during debugging (!) and accidentally committed
  to CVS.

		Changes since 3.0 Beta 2 Patchlevel 9

- Fix DHCP client handling of vendor encapsulated options.

- Fix a bug in the handling of relay agent information options introduced
  in patchlevel 9.

- Stash agent options on client leases by default, and use the stashed
  options at renewal time.

- Add the ability to test the client's binding state in the client
  configuration language.

- Fix a core dump in the DNS update code.

- Fix some expression evaluation bugs that were causing updates to be
  done when no client hostname was received.
d731 1
a731 1
- Fix expression evaluation debugging printfs.
d733 1
a733 2
- Teach pretty_print_option to print options in option spaces other than
  the DHCP option space.
d735 2
a736 1
- Add a warning message if the RHS of a not is not boolean.
d738 2
a739 2
- Never select for more than a day, because some implementations of
  select will just fail if the timeout is too long (!).
d741 2
a742 2
- Fix a case where a DHCPDISCOVER from an unknown network would be
  silently dropped.
d744 3
a746 2
- Fix a bug where if a client requested an IP address for which a different
  client had the lease, the DHCP server would reallocate it anyway.
d748 4
a751 2
- Fix the DNS update code so that if the client changes its name, the DNS
  will be correctly updated.
d753 2
a754 1
		Changes since 3.0 Beta 2 Patchlevel 8
d756 3
a758 145
- Oops, there was another subtle math error in the header-length
  bounds-checking.

		Changes since 3.0 Beta 2 Patchlevel 7

- Oops, forgot to byte-swap udp header length before bounds-checking it.

		Changes since 3.0 Beta 2 Patchlevel 6

- Fix a possible DoS attack where a client could cause the checksummer
  to dump core.   This was a read, not a write, so it shouldn't be
  possible to exploit it any further than that.

- Implement client- and server-side support for using the Client FQDN
  option.

- Support for other option spaces in the client has been added.   This
  means that it is now possible to define a vendor option space on the
  client, request options in that space from the server (which must
  define the same option space), and then use those options in the
  client.   This also allows NWIP and Client FQDN options to be used
  meaningfully.

- Add object initializer support.   This means that objects can now be
  initialized to something other than all-zeros when allocated, which
  makes, e.g., the interface object support code a little more robust.

- Fix an off-by-one bug in the host stuffer.   This was causing host
  deletes not the work, and may also have been causing OMAPI
  connections to get dropped.   Thanks to James Brister for tracking
  this one down!

- Fixed a core dump in the interface discovery code that is triggered
  when there is no subnet declaration for an interface, but the server
  decides to continue running.   Thanks to Shane Kerr for tracking
  down and fixing this problem.

		Changes since 3.0 Beta 2 Patchlevel 5

- Fix a bug in the recent enhancement to the interface discovery code
  to support arbitrary-length interface lists.

- Support NUL-terminated DHCP options when initializing client-script
  environment.

- Fix suffix operator.

- Fix NetWare/IP option parsing.

- Better error/status checking in dhcpctl initialization and omapi
  connection code.

- Fix a potential memory smash in dhcpctl code.

- Fix SunOS4 and (maybe) Ultrix builds.

- Fix a bug where a certain sort of incoming packet could cause a core
  dump on Solaris (and probably elsewhere).

- Add some more safety checks in error logging code.

- Add support for ISC_R_INCOMPLETE in OMAPI protocol connection code.

- Fix relay agent so that if an interface is specified on the command
  line, the relay agent does not dump core.

- Fix class matching so that match if can be combined with match or
  spawn with.

- Do not allow spurious leases in the lease database to introduce
  potentially bogus leases into the in-memory database.

- Fix a byte-order problem in the client hardware address type code
  for OMAPI.

- Be slightly less picky about what sort of hardware addresses OMAPI
  can install in host declarations.

		Changes since 3.0 Beta 2 Patchlevel 4

- Incorporated Peter Marschall's proposed change to array/record
  parsing, which allows things like the slp-agent option to be encoded
  correctly.   Thanks very much to Peter for taking the initiative to
  do this, and for doing such a careful job of it (e.g., updating the
  comments)!

- Added an encoding for the slp-agent option.   :')

- Fixed SunOS 4 build.  Thanks to Robert Elz for responding to my
  request for help on this with patches!

- Incorporated a change that should fix a problem reported by Philippe
  Jumelle where when the network connection between two servers is
  lost, they never reconnect.

- Fix client script files other than that for NetBSD to actually use
  make_resolv_conf as documented in the manual page.

- Fix a bug in the packet handling code that could result in a core
  dump.

- Fix a bug in the bootp code where responses on the local net would
  be sent to the wrong MAC address.   Thanks to Jerry Schave for
  catching this one.

		Changes since 3.0 Beta 2 Patchlevel 3

- In the DHCP client, execute client statements prior to using the values
  of options, so that the client configuration can overried, e.g., the
  lease renewal time.

- Fix a reference counting error that would result in very reproducible
  failures in updates, as well as occasional core dumps, if a zone was
  declared without a key.

- Fix some Linux 2.0 compilation problems.

- Fix a bug in scope evaluation during execution of "on" statements that
  caused values not to be recorded on leases.

- If the dhcp-max-message-size option is specified in scope, and the
  client didn't send this option, use the one specified in scope to
  determine the maximum size of the response.

		Changes since 3.0 Beta 2 Patchlevel 2

- Fix a case where spawning subclasses were being allocated
  incorrectly, resulting in a core dump.

- Fix a case where the DHCP server might inappropriately NAK a
  RENEWING client.

- Fix a place dhcprequest() where static leases could leak.

- Include memory.h in omapip_p.h so that we don't get warnings about
  using memcmp().

		Changes since 3.0 Beta 2 Patchlevel 1

- Notice when SIOCFIGCONF returns more data than fit in the buffer -
  allocate a larger buffer, and retry.   Thanks to Greg Fausak for
  pointing this out.

- In the server, if no interfaces were configured, report an error and
  exit.
d760 2
a761 1
- Don't ever record a state of 'startup'.
d763 4
a766 2
- Don't try to evaluate the local failover binding address if none was
  specified.   Thanks to Joseph Breu for finding this.
@


1.1.1.6.2.6
log
@MFC: ISC DHCP 3.0.1 RC11

Approved by:  re (scottl)
@
text
@d3 2
a4 2
			 Release Candidate 10
			       June, 2002
d6 1
a6 1
			     Release Notes
a48 103
			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).

- 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).

- 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.

d77 1
a77 1
- On Darwin, use the FreeBSD DHCP client script.
d265 1
a265 1
- Fix the Linux dhclient-script according to suggestions made by
d428 1
a428 1
- Support input of dotted quads and colon-separated hex lists as
d431 1
a431 1
- Fix a typo in the Linux interface discovery code.
d465 1
a465 1
- If a signature algorithm is not terminated with '.', terminate it so
d499 1
a499 1
  using the lease end time.   This may fix some problems with the
d678 1
a678 1
- Fix a problem where the server could write out a colon-separated
@


1.1.1.7
log
@Import Patchlevel 1 of the ISC 2.0 dhcp client.
@
text
@d3 2
a4 2
			Version 2 Patchlevel 1
			    June 24, 2000
a23 26

		       CHANGES FROM VERSION 2.0

- Clean up DHCPRELEASE support.

- Don't use the broadcast flag when doing BOOTP unless we need to.

- Clean up the fallback mess.

- Quote all shell special characters in the client script.

- Fix ethernet header alignment on arm32.

- Clarify the "no subnet declaration" message.

- Correctly store the tftp server name in the lease file and the
  client script file.

- Avoid a potential spin loop in client when script file creation
  fails for reasons other than the presence of an existing file of the
  same name.

- Add support for Linux kernel versions greater than 2.2.

- Fix a problem in raw.c on Irix.   Thanks to Don Badrak for the
  patch.
@


1.1.1.8
log
@Import Patchlevel 2 of the ISC 2.0 dhcp client.
@
text
@d3 2
a4 2
			Version 2 Patchlevel 2
			    June 30, 2000
a23 5

                CHANGES FROM VERSION 2.0 PATCHLEVEL 1

- Fix a case where an unitialized pointer could result from an exceptional
  case in DHCPRELEASE and cause a core dump.
@


1.1.1.9
log
@Import Patchlevel 3 of the ISC 2.0 dhcp client.
@
text
@d3 2
a4 2
			Version 2 Patchlevel 3
			    July 19, 2000
a23 7

		CHANGES FROM VERSION 2.0 PATCHLEVEL 2

- Rather than calling a client environment setup script, set the
  environment up directly, so as to avoid any possible exploit making
  use of clever shell metacharacter hacks.   This is a security fix
  that applies to the DHCP client *only*.
@


1.1.1.10
log
@Import Patchlevel 5 of the ISC 2.0 dhcp client.
@
text
@d3 2
a4 2
			Version 2 Patchlevel 5
			  September 6, 2000
a23 12

		CHANGES FROM VERSION 2.0 PATCHLEVEL 4

- Fix a prototype mismatch that causes compiles to fail on some architectures.

- Two minor cosmetic changes to manual pages.

		CHANGES FROM VERSION 2.0 PATCHLEVEL 3

- Fix a bug introduced in the client in the previous patchlevel where the
  broadcast would be set to the subnet number instead of the broadcast
  address.
@


1.1.1.11
log
@Import ISC DHCP 3.0.1 RC6 client.
@
text
@d1 4
a4 4
	    Internet Software Consortium DHCP Distribution
			     Version 3.0.1
			  Release Candidate 6
			   January 17, 2002
d8 2
a9 1
			     NEW FEATURES
d11 4
a14 26
Version 3 of the ISC DHCP Distribution includes the following features
that are new since version 2.0:

     - DHCP Failover Protocol support
     - OMAPI, an API for accessing and modifying the DHCP server and
       client state.
     - Conditional behaviour
     - Storing arbitrary information on leases
     - Address pools with access control
     - Client classing
     - Address allocation restriction by class
     - Relay agent information option support 
     - Dynamic DNS updates
     - Many bug fixes, performance enhancements, and minor new DHCP
       protocol features. 

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
has been provided to convert 3.0b1 lease files.   This is in
contrib/3.0b1-lease-convert.
d20 1
a20 7
The Dynamic DNS Update support is a descendent of an implementation
done by Lans Carstensen and Brian Dols at Rose-Hulman Institute of
Technology, Jim Watt at Applied Biosystems, Irina Goble at Integrated
Measurement Systems, Igor Sharfmesser at Kazakh Telecom, and Brian
Murrell at BC Tel Advanced Communications.  I'd like to express my
thanks to all of these good people here, both for working on the code
and for prodding me into improving it.
d22 2
a23 1
			Changes since 3.0.1rc5
d25 1
a25 1
- Include some new documentation and changes provided by Karl Auer.
d27 1
a27 2
- Add a workaround for some Lexmark printers that send a double-NUL-
  terminated host-name option, which would break DNS updates.
d29 1
a29 2
- Fix an off-by-one error in the MAC-address checking code for
  DHCPRELEASE that was added in 3.0.1rc5.
d31 1
a31 3
- Fix a bug where client-specific information was not being discarded
  from the lease when it expired or was released, resulting in
  problems if the lease was reallocated to a different client.
d33 3
a35 3
- If more than one allocation pool is specified that has the same set
  of constraints as another allocation pool on the same shared
  network, merge the two pools.
d37 1
a37 3
- Don't print an error in fallback_discard, since this just causes
  confusion and does not appear to be helping to encourage anyone to
  fix this bug.
d39 4
a42 1
			Changes since 3.0.1rc4
d44 1
a44 2
- Fix a bug that would cause the DHCP server to spin if asked to parse
  a certain kind of incorrect statement.
d46 2
a47 2
- Fix a related bug that would prevent an error from being reported in
  the same case.
d49 1
a49 1
- Additional documentation.
d51 1
a51 2
- Make sure that the hardware address matches the lease when
  processing a DHCPRELEASE message.
d53 1
a53 1
			Changes since 3.0.1rc3
d55 1
a55 2
- A minor bug fix in the arguments to a logging function call.
- Documentation update for dhcpd.conf.
d57 1
a57 1
		        Changes since 3.0.1rc2
d59 1
a59 5
- Allow the primary to send a POOLREQ message.   This isn't what the current
  failover draft says to do, so we may have to back it out if I can't get the
  authors to relent, but the scheme for balancing that's specified in the
  current draft seems needlessly hairy, so I'm floating a trial balloon.
  The rc1 code did not implement the method described in the draft either.
d61 1
a61 1
		        Changes since 3.0.1rc1
d63 2
a64 4
- Treat NXDOMAIN and NXRRSET as success when we are trying to delete a
  domain or RRSET.   This allows the DHCP server to forget about a name
  it added to the DNS once it's been removed, even if the DHCP server
  wasn't the one that removed it.
d66 3
a68 3
- Install defaults for failover maximum outstanding updates and maximum
  silent time.   This prevents problems that might occur if these values
  were not configured.
d70 1
a70 1
- Don't do DDNS deletes if ddns-update-style is none.
d72 2
a73 3
- Return relay agent information options in DHCPNAK.   This prevents DHCPNAK
  messages from being dropped when the relay agent information option contains
  routing information.
d75 1
a75 2
- Fix a problem where coming up in recover wouldn't result in an update
  request being sent.
d77 2
a78 2
- Add some more chatty messages when we start a recovery update and when it's
  done.
d80 2
a81 3
- Fix a possible problem where some state might have been left around
  after the peer lost contact and regained contact about how many updates
  were pending.
d83 2
a84 3
- Don't nix a lease update because of a lease conflict.   This test has
  never (as far as I know) prevented a mistake, and it appears to cause
  problems with failover.
d86 3
a88 3
- Add support in rc history code for keeping a selective history, rather
  than a history of all references and dereferences.   This code is only used
  when extensive additional debugging is enabled.
d90 1
a90 1
		           Changes since 3.0
d92 2
a93 2
- Make allocators for hash tables.   As a side effect, this fixes a memory
  smash in the subclass allocation code.
d95 1
a95 2
- Fix a small bug in omshell where if you try to close an object when
  no object is open, it dumps core.
d97 1
a97 1
- Fix an obscure coredump that could occur on shutdown.
d99 1
a99 1
- Fix a bug in the recording of host declaration rubouts in the lease file.
d101 1
a101 1
- Fix two potential spins in the host deletion code.
d103 1
a103 2
- Fix a core dump that would happen if an application tried to update
  a host object attribute with a null value.
d105 2
a106 1
		Changes since 3.0 Release Candidate 12
d108 1
a108 1
- Fix a memory leak in the evaluation code.
d110 2
a111 1
- Fix an obscure core dump.
d113 1
a113 2
- Print a couple of new warnings when parsing the configuration file
  when crucial information is left out.
d115 1
a115 1
- Log "no free leases" as an error.
d117 1
a117 1
- Documentation updates.
d119 1
a119 1
		Changes since 3.0 Release Candidate 11
d121 1
a121 1
- Always return a subnet selection option if one is sent.
d123 1
a123 2
- Fix a warning that was being printed because an automatic data
  structure wasn't zeroed.
d125 2
a126 2
- Fix some failover state transitions that were being handled
  incorrectly.
d128 1
a128 7
- When supersede_lease is called on a lease whose end time has already
  expired, but for which a state transition has not yet been done, do
  a state transition.   This fixes the case where if the secondary
  allocated a lease to a client and the lease "expired" while the
  secondary was in partner-down, no expiry event would actually
  happen, so the lease would remain active until the primary was
  restarted.
d130 1
a130 1
		Changes since 3.0 Release Candidate 10
d132 1
a132 2
- Fix a bug that was preventing released leases from changing state
  in failover-enabled pools.
d134 4
a137 2
- Fix a core dump in the client identifier finder code (for host
  declarations).
d139 2
a140 2
- Finish fixing a bug where bogus data would sometimes get logged to
  the dhclient.leases file because it was opened as descriptor 2.
d142 1
a142 2
- Fix the linux dhclient-script according to suggestions made by
  several people on the dhcp-client mailing list.
d144 1
a144 1
- Log successful DNS updates at LOG_INFO, not LOG_ERROR.
d146 1
a146 2
- Print an error message and refuse to run if a failover peer is
  defined but not referenced by any pools.
d148 3
a150 1
- Correct a confusing error message in failover.
d152 1
a152 1
		Changes since 3.0 Release Candidate 9
d154 1
a154 1
- Fix a bug in lease allocation for Dynamic BOOTP clients.
d156 1
a156 1
	  Changes since 3.0 Release Candidate 8 Patchlevel 2
d158 1
a158 1
- Fix a bug that prevented update-static-leases from working.
d160 1
a160 1
- Document failover-state OMAPI object.
d162 1
a162 1
- Fix a compilation error on SunOS 4.
d164 1
a164 1
	  Changes since 3.0 Release Candidate 8 Patchlevel 1
d166 1
a166 3
- Fix a parsing bug that broke dns updates (both interim and ad-hoc).
  This was introduced in rc8pl1 as an unintended result of the memory
  leakage fixes that were in pl1.
d168 1
a168 5
- Fix a long-standing bug where the server would record that an update
  had been done for a client with no name, even though no update had
  been done, and then when the client's lease expired the deletion of
  that nonexistant record would time out because the name was the null
  string. 
d170 2
a171 1
- Clean up the omshell, dhcpctl and omapi man pages a bit.
d173 1
a173 1
		Changes since 3.0 Release Candidate 8
d175 2
a176 2
- Fix a bug that could cause the DHCP server to spin if
  one-lease-per-client was enabled.
d178 1
a178 2
- Fix a bug that was causing core dumps on BSD/os in the presence of
  malformed packets.
d180 1
a180 1
- In partner-down state, don't restrict lease lengths to MCLT.
d182 1
a182 3
- On the failover secondary, record the MCLT received from the primary
  so that if we come up without a connection to the primary we don't
  wind up giving out zero-length leases.
d184 1
a184 1
- Fix some compilation problems on BSD/os.
d186 3
a188 1
- Fix a bunch of memory leaks.
d190 3
a192 1
- Fix a couple of bugs in the option printer.
d194 2
a195 2
- Fix an obscure error reporting bug in the dns update code, and also
  make the message clearer when a key algorithm isn't supported.
d197 2
a198 2
- Fix a bug in the tracing code that prevented trace runs that used
  tcp connections from being played back.
d200 2
a201 2
- Add some additional debugging capability for catching memory leaks
  on exit.
d203 1
a203 1
- Make the client release the lease correctly on shutdown.
d205 1
a205 1
- Add some configurability to the build system.
d207 1
a207 1
- Install omshell manual page in man1, not man8.
d209 3
a211 3
- Craig Gwydir sent in a patch that fixes a long-standing bug in the
  DHCP client that could cause core dumps, but that for some reason
  hadn't been noticed until now.
d213 2
a214 1
		Changes since 3.0 Release Candidate 7
d216 1
a216 2
- Fix a bug in failover where we weren't sending updates after a
  transition from communications-interrupted to normal.
d218 1
a218 3
- Handle expired/released/reset -> free transition according to the
  protocol specification (this works - the other way not only wasn't
  conformant, but also didn't work).
d220 1
a220 2
- Add a control object in both client and server that allows either
  daemon to be shut down cleanly.
d222 1
a222 2
- When writing a lease, if we run out of disk space, shut down the
  output file and insist on writing a new one before proceeding.
d224 2
a225 2
- In the server, if the OMAPI listener port is occupied, keep trying
  to get it, rather than simply giving up and exiting.
d227 2
a228 2
- Support fetching variables from leases and also updating and adding
  variables to leases via OMAPI.
d230 2
a231 2
- If two failover peers have wildly different clocks, refuse to start
  doing failover.
d233 5
a237 2
- Fix a bug in the DNS update code that could cause core dumps when
  running on alpha processors.
d239 3
a241 2
- Fixed a bug in ddns updates for static lease entries, thanks to a
  patch from Andrey M Linkevitch.
d243 2
a244 1
- Add support for Darwin/MacOS X
d246 2
a247 1
- Install omshell (including new documentation).
d249 1
a249 2
- Support DNS updates in the client (this is a very obscure feature
  that most DHCP client users probably will not be able to use).
d251 1
a251 1
- Somewhat cleaner status logging in the client.
d253 1
a253 2
- Make OMAPI key naming syntax compatible with the way keys are
  actually named (key names are domain names).
d255 5
a259 1
- Fix a bug in the lease file writer.
d261 2
a262 2
- Install DHCP ISC headers in a different place than BIND 9 ISC
  headers, to avoid causing trouble in BIND 9 builds.
d264 2
a265 2
- Don't send updates for attributes on an object when the attributes
  haven't changed.   Support deleting attributes on remote objects.
d267 1
a267 2
- Fix a number of bugs in omshell, and add the unset and refresh
  statements.
d269 2
a270 2
- Handle disconnects in OMAPI a little bit more intelligently (so that
  the caller gets ECONNRESET instead of EINVAL).
d272 1
a272 3
- Fix a bunch of bugs in the handling of clients that have existing
  leases when the try to renew their leases while failover is
  operating.
d274 1
a274 1
		Changes since 3.0 Release Candidate 6
d276 1
a276 4
- Fix a core dump that could happen when processing a DHCPREQUEST from
  a client that had a host declaration that contained both a
  fixed-address declaration and a dhcp-client-identifier option
  declaration, if the client identifier was longer than nine bytes.
d278 2
a279 2
- Fix a memory leak that could happen in certain obscure cases when
  using omapi to manipulate leases.
d281 2
a282 1
- Fix some bugs and omissions in omshell.
d284 1
d286 2
a287 1
		Changes since 3.0 Release Candidate 5
d289 1
a289 2
- Fix a bug in omapi_object_dereference that prevented objects in
  chains from having their reference counts decreased on dereference.
d291 5
a295 5
- Fix a bug in omapi_object_dereference that would prevent object
  chains from being freed upon removal of the last reference external
  to the chain.

- Fix a number of other memory leaks in the OMAPI protocol subsystem.
d297 1
a297 1
- Add code in the OMAPI protocol handler to trace memory leakage.
d299 3
a301 1
- Clean up the memory allocation/reference history printer.
d303 2
a304 2
- Support input of dotted quads and colon-seperated hex lists as
  attribute values in omshell.
d306 1
a306 1
- Fix a typo in the linux interface discovery code.
d308 1
a308 1
- Conditionalize a piece of trace code that wasn't conditional.
d310 2
a311 1
		Changes since 3.0 Release Candidate 4
d313 2
a314 2
- Fix a bug that would prevent leases from being abandoned properly on
  DHCPDECLINE.
d316 2
a317 1
- Fix failover peer OMAPI support.
d319 3
a321 3
- In failover, correctly handle expiration of leases.   Previously,
  leases would never be reclaimed because they couldn't make the
  transition from EXPIRED to FREE.
d323 2
a324 1
- Fix some broken failover state transitions.
d326 1
a326 1
- Documentation fixes.
d328 1
a328 2
- Take out an unnecessary check in DHCP relay agent information option
  stashing code that was preventing REBINDING clients from rebinding.
d330 1
a330 2
- Prevent failover peers from allocating leases in DHCPREQUEST
  processing if the lease belongs to the other server.
d332 1
a332 1
- Record server version in lease file introductory comment.
d334 2
a335 1
- Correctly report connection errors in OMAPI and failover.
d337 2
a338 2
- Make authentication signature algorithm name comparisons in OMAPI
  case-insensitive.
d340 4
a343 1
- Fix compile problem on SunOS 4.x
d345 1
a345 3
- If a signature algorithm is not termined with '.', terminate it so
  that comparisons between fully-qualified names will work
  consistently.
d347 2
a348 2
- Different SIOCGIFCONF probe code, may "fix" problem on some Linux
  systems with the probe not working correctly.
d350 1
a350 1
- Don't allow user to type omapi key on command line of omshell.
d352 2
a353 1
		Changes since 3.0 Release Candidate 3
d355 1
a355 3
- Do lease billing on startup in a way that I *think* will finally do
  the billing correctly - the previous method could overbill as a
  result of duplicate leases.
d357 1
a357 1
- Document OMAPI server objects.
d359 2
a360 1
	  Changes since 3.0 Release Candidate 2 Patchlevel 1
d362 1
a362 2
- Fix some problems in the DDNS update code.   Thanks to Albert
  Herranz for figuring out the main problem.
d364 2
a365 2
- Fix some reference counting errors on host entries that were causing
  core dumps.
d367 1
a367 2
- Fix a byte-swap bug in the token ring code, thanks to Jochen
  Friedrich.
d369 2
a370 1
- Fix a bug in lease billing, thanks to Jonas Bulow.
d372 1
a372 1
		Changes since 3.0 Release Candidate 2
d374 1
a374 4
- Change the conditions under which a DHCPRELEASE is actually
  committed to be consistent with lease binding states rather than
  using the lease end time.   THis may fix some problems with the
  billing class code.
d376 1
a376 2
- Fix a bug where lease updates would fail on Digital Unix (and maybe
  others) because malloc was called with a size of zero.
d378 3
a380 2
- Fix a core dump that happens when the DHCP server can't create its
  trace file.
d382 1
a382 1
	  Changes since 3.0 Release Candidate 1 Patchlevel 1
d384 2
a385 4
- Fix the dhcp_failover_put_message to not attempt to allocate a
  zero-length buffer.   Some versions of malloc() fail if you try to
  allocate a zero-length buffer, and this was causing problems on,
  e.g., Digital Unix.
d387 1
a387 2
- Fix a case where the failover code was printing an error message
  when no error had occurred.
d389 2
a390 3
- Fix a problem where when a server went down and back up again, the
  peer would not see a state transition and so would stay in the
  non-communicating state.
d392 1
a392 1
- Be smart about going into recover_wait.
d394 5
a398 3
- Fix a problem in the failover implementation where peers would fail
  to come into sync if interrupted in the RECOVER state.   This could
  have been the cause of some problems people have reported recently.
d400 2
a401 2
- Fix a problem with billing classes where they would not be unbilled
  when the client lease expired.
d403 2
a404 4
- If select fails, figure out which descriptor is bad, and cut it out
  of the I/O loop.   This prevents a potentially nasty spin.  I
  haven't heard any report it in a while, but it came up consistently
  in testing.
d406 1
a406 2
- Fix a bug in the relay agent where if you specified interfaces on
  the command line, it would fail.
d408 3
a410 2
- Fix a couple of small bugs in the omapi connection object (no known
  user impact).
d412 2
a413 1
- Add the missing 3.0 Beta 1 lease conversion script.
d415 2
a416 2
- Read dhcp client script hooks if they exist, rather than only if
  they're executable.
d418 2
a419 1
		Changes since 3.0 Release Candidate 1
d421 3
a423 4
- Fix a memory smash that happens when fixed-address leases are used.
  ANY SITE AT WHICH FIXED-ADDRESS STATEMENTS ARE BEING USED SHOULD
  UPGRADE IMMEDIATELY.   This has been a long-standing bug - thanks to
  Alvise Nobile for discovering it and helping me to find it!
d425 3
a427 2
- Fix a small bug in binary-to-ascii, thanks to H. Peter Anvin of
  Transmeta.
d429 4
a432 4
- There is a known problem with the DHCP server doing failover on
  Compaq Alpha systems.   This patchlevel is not a release candidate
  because of this bug.   The bug should be straightforward to fix, so
  a new release candidate is expected shortly.
d434 1
a434 2
- There is a known problem in the DDNS update code that is probably a
  bug, and is not, as far as we know, fixed in this patchlevel.
d436 2
a437 1
		Changes since 3.0 Beta 2 Patchlevel 24
d439 2
a440 2
- Went over problematic failover state transitions and made them all
  work, so that failover should now much less fragile.
d442 2
a443 1
- Add some dhcpctl and omapi documentation
d445 1
a445 1
- Fix compile errors when compiling with unusual predefines.
d447 2
a448 1
- Make Token Ring work on Linux 2.4
d450 2
a451 1
- Fix the Digital Unix BPF_WORDALIGN bug.
d453 2
a454 1
- Fix some dhcp client documentation errors.
d456 3
a458 1
- Update some parts of the README file.
d460 2
a461 1
- Support GCC on SCO.
d463 3
a465 1
	        Changes since 3.0 Beta 2 Patchlevel 23
d467 3
a469 2
- Fix a bug in the DNS update code where a status code was not being
  checked.   This may have been causing core dumps.
d471 1
a471 3
- When parsing the lease file, if a lease declaration includes a
  billing class statement, and the lease already has a billing class,
  unbill the old class.
d473 1
a473 2
- When processing failover transactions, where acks will be deferred,
  process the state transition immediately.
d475 1
a475 2
-  Don't try to use the new SIOCGIFCONF buffer size detection code on
   Linux 2.0, which doesn't provide this functionality.
d477 1
a477 1
- Apply a patch suggested by Tuan Uong for a problem in dlpi.c.
d479 1
a479 1
- Fix a problem in using the which command in the configure script.
d481 1
a481 1
- Fix a parse error in the client when setting up an omapi listener.
d483 1
a483 1
- Document the -n and -g flags to the client.
d485 1
a485 3
- Make sure there is always a stdin and stdout on startup.   This
  prevents shell scripts from accidentally writing error messages into
  configuration files that happen to be opened as stderr.
d487 2
a488 2
- If an interface is removed, the client will now notice that it is
  gone rather than spinning.   This has only been tested on NetBSD.
d490 1
a490 2
- The client will attempt to get an address even if it can't create a
  lease file.
d492 4
a495 1
- Don't overwrite tracefiles.
d497 4
a500 1
- Fix some memory allocation bugs in failover.
d502 3
a504 1
	        Changes since 3.0 Beta 2 Patchlevel 22
d506 1
a506 2
- Apply some patches suggested by Cyrille Lefevre, who is maintaining
  the FreeBSD ISC DHCP Distribution port.
d508 2
a509 1
- Fix a core dump in DHCPRELEASE.
d511 2
a512 1
	        Changes since 3.0 Beta 2 Patchlevel 21
d514 2
a515 1
- This time for sure: fix the spin described in the changes for pl20.
d517 3
a519 1
	        Changes since 3.0 Beta 2 Patchlevel 20
d521 2
a522 1
- Fix a problem with Linux detecting large numbers of interfaces (Ben)
d524 1
a524 2
- Fix a memory smash in the quotify code, which was introduced in
  pl19.
d526 1
a526 3
- Actually fix the spin described in the changes for pl20.   The
  previous fix only partially fixed the problem - enough to get it
  past the regression test.
d528 2
a529 1
	        Changes since 3.0 Beta 2 Patchlevel 19
d531 1
a531 2
- Fix a bug that could cause the server to abort if compiled with
  POINTER_DEBUG enabled.
d533 1
a533 2
- Fix a bug that could cause the server to spin when responding to a
  DHCPREQUEST.
d535 1
a535 1
- Apply Joost Mulders' suggested patches for DLPI on x86.
d537 1
a537 1
- Support NUL characters in quoted strings.
d539 2
a540 1
- Install unformatted man pages on SunOS.
d542 3
a544 1
	        Changes since 3.0 Beta 2 Patchlevel 18
d546 1
a546 2
- Allow the server to be placed in partner-down state using OMAPI.
  (Damien Neil)
d548 2
a549 2
- Implement omshell, which can be used to do arbitrary things to the
  server (in theory). (Damien Neil)
d551 2
a552 3
- Fix a case where if a client had two different leases the server could
  actually dereference the second one when it hadn't been referenced,
  leading to memory corruption and a core dump. (James Brister)
d554 1
a554 4
- Fix a case where a client could request the address of another client's
  lease, but find_lease wouldn't detect that the other client had it, and
  would attempt to allocate it to the client, resulting in a lease conflict
  message.
d556 1
a556 3
- Fix a case where a client with more than one client identifier could be
  given a lease where the hardware address was correct but the client
  identifier was not, resulting in a lease conflict message.
d558 2
a559 6
- Fix a problem where the server could write out a colon-seperated
  hex list as a value for a variable, which would then not parse.
  The fix is to always write strings as quoted strings, with any
  non-printable characters quoted as octal escape sequences.   So
  a file written the old way still won't work, but new files written
  this way will work.
d561 4
a564 1
- Fix documentation for sending non-standard options.
d566 3
a568 4
- Use unparsable names for unknown options.    WARNING: this will
  break any configuration files that use the option-nnn convention.
  If you want to continue to use this convention for some options,
  please be sure to write a definition, like this:
d570 2
a571 1
  option option-nnn code nnn = string;
d573 1
a573 1
  You can use a descriptive name instead of option-nnn if you like.
d575 2
a576 3
- Fix a problem where we would see a DHCPDISCOVER/DHCPOFFER/
  DHCPREQUEST/DHCPACK/DHCPREQUEST/DHCPNAK sequence.   This was the
  result of a deceptively silly bug in supersede_lease.
d578 2
a579 2
- Fix client script exit status check, according to a fix supplied by
  Hermann Lauer.
d581 1
a581 2
- Fix an endianness bug in the tracefile support, regarding ICMP
  messages.
d583 1
a583 2
- Fix a bug in the client where the medium would not work correctly if
  it contained quoted strings.
d585 3
a587 1
		       ** there was no pl17 **
d589 2
a590 1
	        Changes since 3.0 Beta 2 Patchlevel 16
d592 1
a592 9
- Add support for transaction tracing.   This allows the state of the
  DHCP server on startup, and all the subsequent transactions, to be
  recorded in a file which can then be played back to reproduce the
  behaviour of the DHCP server.   This can be used to quickly
  reproduce bugs that cause core dumps or corruption, and also for
  tracking down memory leaks.

- Incorporate some bug fixes provided by Joost Mulders for the DLPI
  package which should clear up problems people have been seeing on
d595 1
a595 3
- Fix bugs in the handling of options stored as linked lists (agent
  options, fqdn options and nwip options) that could cause memory
  corruption and core dumps.
d597 2
a598 2
- Fix a bug in DHCPREQUEST handling that resulted in DHCPNAK messages
  not being send in some cases when they were needed.
d600 1
a600 1
- Make the lease structure somewhat more compact.
d602 2
a603 2
- Make initial failover startup *much* faster.   This was researched
  and implemented by Damien Neil.
d605 1
a605 2
- Add a --version flag to all executables, which prints the program
  name and version to standard output.
d607 2
a608 1
- Don't rewrite the lease file every thousand leases.
d610 1
a610 2
- A bug in nit.c for older SunOS machines was fixed by a patch sent in
  by Takeshi Hagiwara.
d612 1
a612 1
- Fix a memory corruption bug in the DHCP client.
d614 1
a614 1
- Lots of documentation updates.
d616 2
a617 2
- Add a feature allowing environment variables to be passed to the
  DHCP client script on the DHCP client command line.
d619 1
a619 1
- Fix client medium support, which had been broken for some time.
d621 1
a621 2
- Fix a bug in the DHCP client initial startup backoff interval, which
  would cause two DHCPDISCOVERS to be sent back-to-back on startup.
d623 2
d626 2
a627 1
	        Changes since 3.0 Beta 2 Patchlevel 15
d629 3
a631 1
- Some documentation tweaks.
d633 3
a635 1
- Maybe fix a problem in the DLPI code.
d637 2
a638 1
- Fix some error code space inconsistencies in ddns update code.
d640 1
a640 2
- Support relay agents that intercept unicast DHCP messages to stuff
  agent options into them.
d642 1
a642 1
- Fix a small memory leak in the relay agent option support code.
d644 2
a645 2
- Fix a core dump that would occur if a packet was sent with no
  options.
d647 1
a647 1
	        Changes since 3.0 Beta 2 Patchlevel 14
d649 1
a649 5
- Finish fixing a long-standing bug in the agent options code.   This
  was causing core dumps and failing to operate correctly - in
  particular, agent option stashing wasn't working.   Agent option
  stashing should now be working, meaning that agent options can be
  used in class statements to control address allocation.
d651 1
a651 1
- Fix up documentation.
d653 1
a653 2
- Fix a couple of small memory leaks that would have added up
  significantly in a high-demand situation.
d655 1
a655 1
- Add a log-facility configuration parameter.
d657 2
a658 1
- Fix a compile error on some older operating systems.
d660 1
a660 3
- Add the ability in the client to execute certain statements before
  transmitting packets to the server.   Handy for debugging; not much
  practical use otherwise.
d662 3
a664 2
- Don't send faked-out giaddr when renewing or bound - again, useful
  for debugging.
d666 1
a666 1
	        Changes since 3.0 Beta 2 Patchlevel 13
d668 1
a668 3
- Fixed a problem where the fqdn decoder would sometimes try to store
  an option with an (unsigned) negative length, resulting in a core
  dump on some systems.
d670 4
a673 2
- Work around the Win98 DHCP client, which NUL-terminates the FQDN
  option.
d675 1
a675 2
- Work around Win98 and Win2k clients that will claim they want to do
  the update even when they don't have any way to do it.
d677 3
a679 2
- Fix some log messages that can be printed when failover is operating
  that were not printing enough information.
d681 2
a682 2
- It was possible for a DHCPDISCOVER to get an allocation even when
  the state machine said the server shouldn't be responding.
d684 4
a687 4
- Don't load balance DHCPREQUESTs from clients in RENEWING and
  REBINDING, since in RENEWING, if we heard it, it's for us, and in
  REBINDING, the client wouldn't have got to REBINDING if its primary
  were answering.
d689 3
a691 3
- When we get a bogus state lease binding state transition, don't do
  the transition.
  
d693 3
a695 1
	        Changes since 3.0 Beta 2 Patchlevel 12
d697 1
a697 1
- Fixed a couple of silly compile errors.
d699 3
a701 1
		Changes since 3.0 Beta 2 Patchlevel 11
d703 2
a704 3
- Albert Herranz tracked down and fixed a subtle bug in the base64
  decoder that would prevent any key with an 'x' in its base64
  representation from working correctly.
d706 3
a708 4
- Thanks to Chris Cheney and Michael Sanders, we have a fix for the
  hang that they both spotted in the DHCP server - when
  one-lease-per-client was set, the code to release the "other" lease
  could spin.
d710 4
a713 2
- Fix a problem with alignment of the input buffer in bpf in cases
  where two packets arrive in the same bpf read.
d715 2
a716 2
- Fix a problem where the relay agent would crash if you specified an
  interface name on the command line.
d718 2
a719 2
- Add the ability to conditionalize client behaviour based on the
  client state.
d721 3
a723 5
- Add support for the FQDN option, and added support for a new way of
  doing ddns updates (ddns update style interim) that allows more than
  one DHCP server to update the DNS for the same network(s).   This
  was implemented by Damien Neil with some additional functionality
  added by Ted Lemon.
d725 2
a726 82
- Damien added a "log" statement, so that the configuration file can
  be made to log debugging information and other information.

- Fixed a bug that caused option buffers not to be terminated with an
  end option.

- Fixed a long-standing bug in the support for option spaces where the
  options are stored as an ordered list rather than in a hash table,
  which could theoretically result in memory pool corruption.

- Prevent hardware declarations with no actual hardware address from
  being written as something unparsable, and behave correctly in the
  face of a null hardware address on input.

- Allow key names to be FQDNs, and qualify the algorithm name if it is
  specified unqualified.

- Modify the DDNS update code so that it never prints the "resolver
  failed" message, but instead says *why* the resolver failed.

- Officially support the subnet selection option, which now has an
  RFC.

- Fix a build bug on MacOS X.

- Allow administrator to disable ping checking.

- Clean up dhcpd.conf documentation and add more information about how
  it works.

		Changes since 3.0 Beta 2 Patchlevel 10

- Fix a bug introduced during debugging (!) and accidentally committed
  to CVS.

		Changes since 3.0 Beta 2 Patchlevel 9

- Fix DHCP client handling of vendor encapsulated options.

- Fix a bug in the handling of relay agent information options introduced
  in patchlevel 9.

- Stash agent options on client leases by default, and use the stashed
  options at renewal time.

- Add the ability to test the client's binding state in the client
  configuration language.

- Fix a core dump in the DNS update code.

- Fix some expression evaluation bugs that were causing updates to be
  done when no client hostname was received.

- Fix expression evaluation debugging printfs.

- Teach pretty_print_option to print options in option spaces other than
  the DHCP option space.

- Add a warning message if the RHS of a not is not boolean.

- Never select for more than a day, because some implementations of
  select will just fail if the timeout is too long (!).

- Fix a case where a DHCPDISCOVER from an unknown network would be
  silently dropped.

- Fix a bug where if a client requested an IP address for which a different
  client had the lease, the DHCP server would reallocate it anyway.

- Fix the DNS update code so that if the client changes its name, the DNS
  will be correctly updated.

		Changes since 3.0 Beta 2 Patchlevel 8

- Oops, there was another subtle math error in the header-length
  bounds-checking.

		Changes since 3.0 Beta 2 Patchlevel 7

- Oops, forgot to byte-swap udp header length before bounds-checking it.

		Changes since 3.0 Beta 2 Patchlevel 6
d728 2
a729 3
- Fix a possible DoS attack where a client could cause the checksummer
  to dump core.   This was a read, not a write, so it shouldn't be
  possible to exploit it any further than that.
d731 1
a731 2
- Implement client- and server-side support for using the Client FQDN
  option.
d733 1
a733 6
- Support for other option spaces in the client has been added.   This
  means that it is now possible to define a vendor option space on the
  client, request options in that space from the server (which must
  define the same option space), and then use those options in the
  client.   This also allows NWIP and Client FQDN options to be used
  meaningfully.
d735 2
a736 3
- Add object initializer support.   This means that objects can now be
  initialized to something other than all-zeros when allocated, which
  makes, e.g., the interface object support code a little more robust.
d738 2
a739 4
- Fix an off-by-one bug in the host stuffer.   This was causing host
  deletes not the work, and may also have been causing OMAPI
  connections to get dropped.   Thanks to James Brister for tracking
  this one down!
d741 2
a742 4
- Fixed a core dump in the interface discovery code that is triggered
  when there is no subnet declaration for an interface, but the server
  decides to continue running.   Thanks to Shane Kerr for tracking
  down and fixing this problem.
d744 3
a746 1
		Changes since 3.0 Beta 2 Patchlevel 5
d748 4
a751 2
- Fix a bug in the recent enhancement to the interface discovery code
  to support arbitrary-length interface lists.
d753 2
a754 2
- Support NUL-terminated DHCP options when initializing client-script
  environment.
d756 3
a758 100
- Fix suffix operator.

- Fix NetWare/IP option parsing.

- Better error/status checking in dhcpctl initialization and omapi
  connection code.

- Fix a potential memory smash in dhcpctl code.

- Fix SunOS4 and (maybe) Ultrix builds.

- Fix a bug where a certain sort of incoming packet could cause a core
  dump on Solaris (and probably elsewhere).

- Add some more safety checks in error logging code.

- Add support for ISC_R_INCOMPLETE in OMAPI protocol connection code.

- Fix relay agent so that if an interface is specified on the command
  line, the relay agent does not dump core.

- Fix class matching so that match if can be combined with match or
  spawn with.

- Do not allow spurious leases in the lease database to introduce
  potentially bogus leases into the in-memory database.

- Fix a byte-order problem in the client hardware address type code
  for OMAPI.

- Be slightly less picky about what sort of hardware addresses OMAPI
  can install in host declarations.

		Changes since 3.0 Beta 2 Patchlevel 4

- Incorporated Peter Marschall's proposed change to array/record
  parsing, which allows things like the slp-agent option to be encoded
  correctly.   Thanks very much to Peter for taking the initiative to
  do this, and for doing such a careful job of it (e.g., updating the
  comments)!

- Added an encoding for the slp-agent option.   :')

- Fixed SunOS 4 build.  Thanks to Robert Elz for responding to my
  request for help on this with patches!

- Incorporated a change that should fix a problem reported by Philippe
  Jumelle where when the network connection between two servers is
  lost, they never reconnect.

- Fix client script files other than that for NetBSD to actually use
  make_resolv_conf as documented in the manual page.

- Fix a bug in the packet handling code that could result in a core
  dump.

- Fix a bug in the bootp code where responses on the local net would
  be sent to the wrong MAC address.   Thanks to Jerry Schave for
  catching this one.

		Changes since 3.0 Beta 2 Patchlevel 3

- In the DHCP client, execute client statements prior to using the values
  of options, so that the client configuration can overried, e.g., the
  lease renewal time.

- Fix a reference counting error that would result in very reproducible
  failures in updates, as well as occasional core dumps, if a zone was
  declared without a key.

- Fix some Linux 2.0 compilation problems.

- Fix a bug in scope evaluation during execution of "on" statements that
  caused values not to be recorded on leases.

- If the dhcp-max-message-size option is specified in scope, and the
  client didn't send this option, use the one specified in scope to
  determine the maximum size of the response.

		Changes since 3.0 Beta 2 Patchlevel 2

- Fix a case where spawning subclasses were being allocated
  incorrectly, resulting in a core dump.

- Fix a case where the DHCP server might inappropriately NAK a
  RENEWING client.

- Fix a place dhcprequest() where static leases could leak.

- Include memory.h in omapip_p.h so that we don't get warnings about
  using memcmp().

		Changes since 3.0 Beta 2 Patchlevel 1

- Notice when SIOCFIGCONF returns more data than fit in the buffer -
  allocate a larger buffer, and retry.   Thanks to Greg Fausak for
  pointing this out.

- In the server, if no interfaces were configured, report an error and
  exit.
d760 2
a761 1
- Don't ever record a state of 'startup'.
d763 4
a766 2
- Don't try to evaluate the local failover binding address if none was
  specified.   Thanks to Joseph Breu for finding this.
@


1.1.1.12
log
@Import ISC DHCP 3.0.1 RC8 client.
@
text
@d3 2
a4 2
			  Release Candidate 8
			   February 21, 2002
a47 74

			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.

- Fix a bug where the FQDN option would not be returned if the client
  requested it, contrary to the standard.

- On Darwin, use the freebsd DHCP client script.

- On NetBSD/sparc, don't check for casting warnings.

- Add a flag in the DHCP client to disable updating the client's A
  record when sending an FQDN option indicating that the client is
  going to update its A record.

- In the client, don't attempt a DNS update until one second after
  configuring the new IP address, and if the update times out, keep
  trying until a response, positive or negative, is received from the
  DNS server.

- Fix an uninitialized memory bug in the DHCP client.

- Apply some FreeBSD-specific bug fixes suggested by Murray Stokely.

- Fix a bug in ns_parserr(), where it was returning the wrong sort
  of result code in some cases (suggested by Ben Harris of the
  NetBSD project).

- Fix a bug in is_identifier(), where it was checking against EOF
  instead of the END_OF_FILE token (also suggested by Ben Harris).

- Fix a bug where if an option universe contained no options, the
  DHCP server could dump core (Walter Steiner).

- Fix a bug in the handling of encapsulated options.

- Fix a bug that prevented NWIP suboptions from being processed.

- Delete the FTS_BOOTP and FTS_RESERVED states and implement them
  as modifier flags to the FTS_ACTIVE state, as called for in the
  failover protocol standard.

- Fix bugs in the pool merging code that resulted in references and
  dereferences of null pointers.   This bug had no impact unless the
  POINTER_DEBUG flag was defined.

- In the server, added a do-forward-updates flag that can be used to
  disable forward updates in all cases, so that sites that want the
  clients to take sole responsibility for updating their A record can
  do so.

- Make it possible to disable optimization of PTR record updates.
@


1.1.1.13
log
@Import ISC DHCP 3.0.1 RC9 client.
@
text
@d3 2
a4 2
			  Release Candidate 9
			    April 30, 2002
d6 1
a6 1
			     Release Notes
a48 37
			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.

d77 1
a77 1
- On Darwin, use the FreeBSD DHCP client script.
d265 1
a265 1
- Fix the Linux dhclient-script according to suggestions made by
d428 1
a428 1
- Support input of dotted quads and colon-separated hex lists as
d431 1
a431 1
- Fix a typo in the Linux interface discovery code.
d465 1
a465 1
- If a signature algorithm is not terminated with '.', terminate it so
d499 1
a499 1
  using the lease end time.   This may fix some problems with the
d678 1
a678 1
- Fix a problem where the server could write out a colon-separated
@


1.1.1.13.2.1
log
@MFC: isc_dhcp_3_0_1_rc11

Approved by:	scottl(re)
@
text
@d3 2
a4 2
			 Release Candidate 10
			       June, 2002
a47 66

			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).

- 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).

- 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.
@


1.1.1.14
log
@Import ISC DHCP 3.0.1 RC10 client.
@
text
@d3 2
a4 2
			 Release Candidate 10
			       June, 2002
a47 40

			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).

- 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.
@


1.1.1.15
log
@Import isc-dhcpd-3.0.1rc11.
This fixes a security vulnerability in the bundled resolver library.

Requested by:	scottl(re)
@
text
@a48 26
			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).

- Missing non-optional failover peer configurations will now result in a soft
  error rather than a null dereference.

@


1.1.1.16
log
@Import ISC DHCP 3.0.1 RC12 client.
@
text
@d3 1
a3 1
			 Release Candidate 12
a47 47

			Changes since 3.0.1rc11

- A patch from Steve Campbell was applied with minor modifications to
  permit reverse dns PTR record updates with values containing spaces.

- A patch from Florian Lohoff was applied with some modifications to
  dhcrelay.  It now discards packets whose hop count exceeds 10 by default,
  and a command-line option (-c) can be used to set this threshold.

- A failover bug relating to identifying peers by name length instead of
  by name was fixed.

- Delcaring failover configs within shared-network statements should no
  longer result in error.

- The -nw command line option to dhclient now works.

- Thanks to a patch from Michael Richardson:
	- Some problems with long option processing have been fixed.
	- Some fixes to minires so that updates of KEY records will work.

- contrib/ms2isc was updated by Shu-Min Chang of the Intel Corporation.
  see contrib/ms2isc/readme.txt for revision notes.

- Dhclient no longer uses shell commands to kill another instance of
  itself, it sends the signal directly.  Thanks to a patch from Martin
  Blapp.

- The FreeBSD dhclient-script was changed so that a failure to write to
  /etc/resolv.conf does not prematurely end the script.  This keeps dhclient
  from looping infinitely when this is the case.  Thanks to a patch from
  Martin Blapp.

- A patch from Bill Stephens was applied which resolves a problem with lease
  expiry times in failover configurations.

- A memory leak in configuration parsing was closed thanks to a patch from
  Steve G.

- The function which discovers interfaces will now skip non-broadcast or
  point-to-point interfaces, thanks to a patch from David Brownlee.

- Options not yet known by the dhcpd or dhclient have had their names
  changed such that they do not contain # symbols, in case they should ever
  appear in a lease file.  An option that might have been named "#144" is
  now "unknown-144".
@


1.1.1.17
log
@Import ISC DHCP 3.0.1 RC14 client.
@
text
@d1 4
a4 3
	      Internet Systems Consortium DHCP Distribution
			   Version 3.0.1rc14
			     June 09, 2004
d26 5
a30 3
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.
a48 49
			Changes since 3.0.1rc13

! CAN-2004-0460 - CERT VU#317350: Five stack overflow exploits were closed
  in logging messages with excessively long hostnames provided by the
  clients.  It is highly probable that these could have been used by
  attackers to gain arbitrary root access on systems using ISC DHCP 3.0.1
  release candidates 12 or 13.  Special thanks to Gregory Duchemin for
  both finding and solving the problem.

! CAN-2004-0461 - CERT VU#654390: Once the above was closed, an opening
  in log_*() functions was evidented, on some specific platforms where
  vsnprintf() was not believed to be available and calls were wrapped to
  sprintf() instead.  Again, credit goes to Gregory Duchemin for finding
  the problem.  Calls to snprintf() are now linked to a distribution-local
  snprintf implementation, only in those cases where the architecture is
  not known to provide one (see includes/cf/[arch].h).  If you experience
  linking problems with snprintf/vsnprintf or 'isc_print_' functions, this
  is where to look.  This vulnerability did not exist in any previously
  published version of ISC DHCP.

- Compilation on hpux 11.11 was repaired.

- 'The cross-compile bug fix' was backed out.

			Changes since 3.0.1rc12

- Fixed a bug in omapi lease lookup function, to form the hardware
  address for the hash lookup correctly, thanks to a patch from
  Richard Hirst.

- Fixed a bug where dhcrelay was sending relayed responses back to the
  broadcast address, but with the source's unicast mac address.  Should
  now conform to rfc2131 section 4.1.

- Cross-compile bug fix; use $(AR) instead of ar.  Thanks to Morten Brorup.

- Fixed a crash bug in dhclient where dhcpd servers that do not provide
  renewal times results in an FPE.  As a side effect, dhclient can now
  properly handle 0xFFFFFFFF (-1) expiry times supplied by servers.  Thanks
  to a patch from Burt Silverman.

- The 'ping timeout' debugs from rc12 were removed to -DDEBUG only,
  and reformatted to correct a compilation error on solaris platforms.

- A patch was applied which fixes a case where leases read from the
  leases database do not properly over-ride previously read leases.

- dhcpctl.3 manpage was tweaked.

a94 3

- Another patch from Bill Stephens which allows the ping-check timeout to
  be configured as 'ping-timeout'.  Defaults to 1.
@


1.1.1.18
log
@Import ISC DHCP 3.0.1 client.
@
text
@d2 2
a3 2
			     Version 3.0.1
			     July 14, 2004
a44 19

			Changes since 3.0.1rc14

- The global variable 'cur_time' was centralized and is now uniformly of a
  type #defined in system-dependent headers.  It had previously been defined
  in one of many places as a 32-bit value, and this causes mayhem on 64-bit
  big endian systems.  It probably wasn't too healthy on little endian
  systems either.

- A printf format string error introduced in rc14 was repaired.

- AIX system-dependent header file was altered to only define NO_SNPRINTF
  if the condition used to #ifdef in vsnprintf in AIX' header files
  is false.

- The Alpha/OSF system-dependent header file was altered to define
  NO_SNPRINTF on OS revisions older than 4.0G.

- omapip/test.c had string.h added to its includes.
@


1.1.1.2.2.1
log
@Mr. 3.1-STABLE, meet Ms. DHCP client
@
text
@@


1.1.1.2.2.2
log
@Complete MFC.  (update to 2.0b1pl18)
@
text
@d3 2
a4 2
		   Version 2, Beta 1, Patchlevel 18
			    March 5, 1998
a55 123
	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 17

- Fix a bug in the relay agent where messages to the client would be
  unicast in the IP header but broadcast in the link header.   The
  Microsoft DHCP client would reject such packets, preventing it from
  being configured.   This was only a problem on non-socket-API
  platforms.

- Do not attempt to reclaim requested abandoned leases in response to
  DHCPDISCOVER messages.

- Allow the maximum lease time parameter in a host declaration to
  override the maximum lease time parameter in a subnet declaration.

- Better document the -p flag for dhclient, dhcrelay and dhcpd.

- Apply John Wehle's patch to fix the endianness bug in the dlpi
  packet filter on Solaris.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 16

- Fix linux man page install location.

- Fix some confusion in the dhclient-script man page.

- Fix error in includes/cf/linux.h that would have made network API
  selections in site.h work incorrectly.

- Fix some major stupidity in the code that figures out where or not a
  client owns a particular lease. 

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 15

- Fix Makefile.conf on Linux to refer to /var/state/dhcp instead of
  /var/state/dhcpd.

- Eliminate redundant #defines in includes/cf/linux.h (for neatness).

- Fix an obscure case where dhcpd is started by the /etc/rc system
  with exactly the same pid each time, dhcpd.pid is not erased on
  reboot, and therefore dhcpd would detect a server (itself) with the
  pid in dhcpd.pid and decide that another server was running and
  exit.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 14

- Install the dhcp databases in /var/state/dhcp instead of /etc or
  /var/dhcpd, as suggested in the Linux Filesystem Hierarchy
  Standard.

- Fix an endianness bug in dlpi.c.   As a consequence, make the
  Solaris/i386 use dlpi again.

- Fix a bunch of bugs in the Solaris client script.

- Add some more information about Solaris to the README file.

- Adjust startup message in interface probe so that the relay agent
  and client's unattached status will not trigger questions.

- Update some error messages to provide more help to new users for
  some common mistakes.

- Create an interface alias on Solaris when setting up IP aliases,
  rather than trying to do things the *BSD way.

- Fix a null pointer dereference bug (this time I went through the
  whole function and audited it for more null pointer dereferences,
  and I didn't find any, for what that's worth).

- Don't ever release leases in response to a DHCPDISCOVER (I think
  this was unlikely anyway, but why not be correct?).

- Remove the shared-network example from the sample dhcpd.conf file.

- Make ``make install'' make all first.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 13

- Support DESTDIR on installs.

- Fix a bug in dhcp.c where a store through a null pointer would
  be made under some reasonably common circumstances.

- Add test for ARPHRD_TUNNEL so that client and server do not fail on
  versions of Linux running IPsec implementations or the like.

- Move tests for constants defined in O.S. headers into osdep.h - test
  for HAVE_whatever in .c files.   Define relevant HAVE_whatevers in
  linux.h, so that versions of linux that define these constants as
  enums will still work.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 12

- Initialize the "quiet" variable in dhclient.c to zero (it was used
  without first having been initialized).

- Fix the parser code for the authoritative keyword.

- Adjust lease discovery code to NAK more aggressively for addresses
  the server knows it owns.

- Add several new messages for DHCPNAK.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 11

- Use DLPI only on sparcs running Solaris, since it seems not to work
  on i386 boxes running Solaris for reasons yet to be determined.

- In the client, close standard I/O descriptors when forking a daemon.

- Don't let large lease lengths wrap lease expiry times - just use
  what fits into a TIME value.

- Fix a bug in the SIOCGIFCONF interface scanning code.

- Fix a core dump in the interface scanner that crops up on Linux when
  an interface is specified on the command line.

- Don't use %D in strftime because egcs complains about it.

- Print the error message if SO_BINDTODEVICE fails.

d252 1
@


1.1.1.2.2.3
log
@MFC: update to v2.0b1pl27
@
text
@d3 2
a4 2
		   Version 2, Beta 1, Patchlevel 27
			    April 23, 1999
a54 132

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 26

- Fix UDP/IP checksum code

- Fix UDP payload length computation to prevent logging of spurious
  errors.

- Support compilation on MacOS X

- Add support for some options that were added in RFC2132.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 25

- Use the udp header's length rather than computing the length based
  on the number of bytes received, because some broken relay agents
  send packets with ip lengths that are longer than then sum of the ip
  header size and the udp length.

- Do path keyword substitution on unformatted manual pages before
  installing them.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 24

- D'oh!   Fix a really stupid mistake in hash.c.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 23

- Support an always-reply-rfc1048 flag, which says to reply with an
  RFC1048-style vendor extensions buffer even if the client didn't
  send an RFC1048-style magic number.

- Fix a null pointer dereference.

- Use netmask from subnet if no netmask option specified.

- IRIX support (thanks to Don Badrak).

- Install unformatted manual pages on Linux.

- Add note in README about zcat vs. gzcat on BSD/os.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 22

- Test for lease before dereferencing it in dhcprequest.

- Free the client parameter request list in dhcpnak if there is one. 

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 21

- Fix a pasto in options.c that will cause a core dump whenever a
  client sends in a request without a parameter request list.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 20

- Actually do the client fix mentioned below - Patchlevel 20 only contained
  half of the fix.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 19

- Removed arp table clearing code from solaris client script.

- Document Linux "protocol not configured" error more thoroughly.

- Clean up some unused variables.

- Add entry and exit hooks to all dhcp client scripts, along with a
  make_resolv_conf function that can be redefined in the entry hooks.
  Document this new feature set.

- Fix client to take advantage of network APIs that allow it to
  receive a unicast instead of requesting that the DHCP server
  broadcast its response.

- Add -pf flag to all daemons allowing user to specify PID file name
  on command line.

- Undo a previous change that attempted to be clever about testing
  interface flags but wound up being stupid instead.

- Enforce access control on DHCPREQUEST messages as well as
  DHCPDISCOVER messages.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 18

- Support added for AIX 4.1.5.0 (and hopefully other versions).

- Use /var/run instead of /etc on Digital Unix.

- Change DHCP client exponential backoff code to back off more slowly,
  so that it is more robust in lossy environments, at the expense of
  being a bit less polite to the server.

- Don't request a specific lease interval in the client unless the
  user says to do so.

- Don't print DHCPXXX in wrong xxx messages unless DEBUG is defined.

- Fix handling of secs field.

- Fix handling of append statement.

- Fix documentation for append and prepend statements.

- Fix server support for parameter request list and maximum message
  size.

- Parameterize more hardware types in discover_interfaces.   Check for
  IFF_BROADCAST instead of !IFF_POINTOPOINT

- Print kernel configuration warning message if we get EINVAL when
  opening or configuring the Linux packet filter.

- Fix a bug in UDP checksum code (thanks to John Nemeth for figuring
  this out) and re-enable UDP checksumming.   This allows the client
  to work with some buggy DHCP servers that can't handle zero
  checksums in the UDP header - in particular, the one John's cable
  modem ISP is using.

- Don't report packet header checksum errors unless we see a lot of
  them.   It's perfectly normal for some number of checksum errors to
  occur.

- Refer to the dhcpd.leases man page when printing an error message
  prior to exiting because there's no lease database.

- Add information to the README telling the reader how to get to the
  manual pages.

- Fix the server packet transmission code to unicast when it can.

- Fix a typo in the dhcpd.conf manual page.
@


1.1.1.2.2.4
log
@MFC: ISC's dhclient version 2.0.
@
text
@d3 2
a4 2
			      Version 2
			    June 22, 1999
d8 27
a34 2
Version 2 of the ISC DHCP Distribution includes the ISC DHCP server,
DHCP Client and DHCP/BOOTP Relay Agent.
d37 18
a54 58
was in Beta test from that time to June of 1999, and has now been
released in its final form.  It has a number of important features,
and is the release that we would expect most sites to run.

For information on how to install, configure and run this software,
as well as how to find documentation and report bugs, please consult
the README file.

			      CHANGELOG

This log describes the changes that have been made in version 2.0
since June of 1997.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 29

- Define BYTE_ORDER in includes/cf/hpux.h so that ip.h will compile
  correctly on HP-UX.

- Fix a long-standing but minor bug in the way the program name for
  syslog was derived.

- Fix a long-standing bug that prevented the DHCP server from broadcasting
  responses to BOOTP clients that requested a broadcast response.

- In dhcprequest(), check to make sure that there's a lease before trying
  to acknowledge it to the client.   This fixes a potential core dump that
  a few people observed.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 28

- Fix some pastos I introduced when merging Andrew Chittenden's token
  ring support.

- Apply a patch to the token ring support from Andrew Chittenden.

	    CHANGES FROM VERSION 2.0 BETA 1 PATCHLEVEL 27

- Add dependencies to makefiles.

- Don't use ping -w 1 in freebsd client script.

- Token ring support for LPF, contributed by Andrew Chittenden.

- Fix a subtle bug that would cause the server to respond incorrectly
  in some cases when the client sent duplicate DHCPREQUEST packets.

- Fix option pretty printing for 'X' format.

- Add some special cases to deal with DHCPREQUEST packets from RFC1541
  clients.

- Fix an obscure bug in nested subnet mask handling.

- Fix a bug in abandoned lease reclamation.

- Allow maximum message size to be set in configuration file.

- Allow parameter request list to be supplied in configuration file.
@


1.1.1.2.2.5
log
@Ugrade to version 2.0 PL 1.
@
text
@d3 2
a4 2
			Version 2 Patchlevel 1
			    June 24, 2000
a23 26

		       CHANGES FROM VERSION 2.0

- Clean up DHCPRELEASE support.

- Don't use the broadcast flag when doing BOOTP unless we need to.

- Clean up the fallback mess.

- Quote all shell special characters in the client script.

- Fix ethernet header alignment on arm32.

- Clarify the "no subnet declaration" message.

- Correctly store the tftp server name in the lease file and the
  client script file.

- Avoid a potential spin loop in client when script file creation
  fails for reasons other than the presence of an existing file of the
  same name.

- Add support for Linux kernel versions greater than 2.2.

- Fix a problem in raw.c on Irix.   Thanks to Don Badrak for the
  patch.
@


