2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-01 06:45:27 +00:00

Update license.

This commit is contained in:
Ted Lemon
1999-03-16 05:50:46 +00:00
parent 494a48266e
commit f39b6e0089
81 changed files with 1553 additions and 2728 deletions

17
COPYRIGHT Normal file
View File

@@ -0,0 +1,17 @@
/*
* Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
*
* http://www.isc.org/isc-license-1.0.html.
*
* This file is part of the ISC DHCP distribution. The documentation
* associated with this file is listed in the file DOCUMENTATION,
* included in the top-level directory of this release.
*
* Support and other services are available for ISC products - see
* http://www.isc.org for more information.
*/

13
DOCUMENTATION Normal file
View File

@@ -0,0 +1,13 @@
README
RELNOTES
common/dhcp-options.5
common/dhcp-eval.5
client/dhclient.8
client/dhclient.conf.5
client/dhclient.leases.5
client/dhcp-script.5
relay/dhcrelay.8
server/dhcpd.8
server/dhcpd.conf.5
server/dhcpd.leases.5
common/dhcp-contrib.html (the Contributions Manual Page)

161
ISC-LICENSE Normal file
View File

@@ -0,0 +1,161 @@
ISC LICENSE, Version 1.0
1. This license covers any file containing a statement following its
copyright message indicating that it is covered by this license.
It also covers any text or binary file, executable, electronic or
printed image that is derived from a file that is covered by this
license, or is a modified version of a file covered by this
license, whether such works exist now or in the future.
Hereafter, such works will be referred to as "works covered by
this license," or "covered works."
2. Each source file covered by this license contains a sequence of
text starting with the copyright message and ending with "Support
and other services are available for ISC products - see
http://www.isc.org for more information." This will hereafter be
referred to as the file's Bootstrap License.
3. If you take significant portions of any source file covered by
this license and include those portions in some other file, then
you must also copy the Bootstrap License into that other file,
and that file becomes a covered file. You may make a good-faith
judgement as to where in this file the bootstrap license should
appear.
4. The acronym "ISC", when used in this license or generally in the
context of works covered by this license, is an abbreviation for
the words "Internet Software Consortium."
5. A distribution, as referred to hereafter, is any file, collection
of printed text, CD ROM, boxed set, or other collection, physical
or electronic, which can be distributed as a single object and which
contains one or more works covered by this license.
6. You may make distributions containing covered files and provide
copies of such distributions to whomever you choose, with or
without charge, as long as you obey the other terms of this
license. Except as stated in (9), you may include as many or as
few covered files as you choose in such distributions.
7. When making copies of covered works to distribute to others, you
must not remove or alter the Bootstrap License. You may not place
your own copyright message, license, or similar statements in the
file prior to the original copyright message or anywhere within
the Bootstrap License. Object files and executable files are
exempt from the restrictions specified in this clause.
8. If the version of a covered source file as you received it, when
compiled, would normally produce executable code that would print
a copyright message followed by a message referring to an ISC web
page or other ISC documentation, you may not modify the the file
in such a way that, when compiled, it no longer produces
executable code to print such a message.
9. Any source file covered by this license will specify within the
Bootstrap License the name of the ISC distribution from which it
came, as well as a list of associated documentation files. The
associated documentation for a binary file is the same as the
associated documentation for the source file or files from which
it was derived. Associated documentation files contain
human-readable documentation which the ISC intends to accompany
any distribution.
If you produce a distribution, then for every covered file in that
distribution, you must include all of the associated documentation
files for that file. You need only include one copy of each such
documentation file in such distributions.
Absence of required documentation files from a distribution you
receive or absence of the list of documentation files from a
source file covered by this license does not excuse you from this
from this requirement. If the distribution you receive does not
contain these files, you must obtain them from the ISC and include
them in any redistribution of any work covered by this license.
For information on how to obtain required documentation not
included with your distribution, see:
http://www.isc.org/getting-documentation.html.
If the list of documentation files was removed from your copy of a
covered work, you must obtain such a list from the ISC. The
web page at http://www.isc.org/getting-documentation.html contains
pointers to lists of files for each ISC distribution covered by
this license.
It is permissible in a source or binary distribution containing
covered works to include reformatted versions of the documentation
files. It is also permissible to add to or modify the
documentation files, as long as the formatting is similar in
legibility, readability, font, and font size to other documentation
in the derived product, as long as any sections labeled
CONTRIBUTIONS in these files are unchanged except with respect to
formatting, as long as the order in which the CONTRIBUTIONS section
appears in these files is not changed, and as long as the manual
page which describes how to contribute to the Internet Software
Consortium (hereafter referred to as the Contributions Manual Page)
is unchanged except with respect to formatting.
Documentation that has been translated into another natural
language may be included in place of or in addition to the
required documentation, so long as the CONTRIBUTIONS section and
the Contributions Manual Page are either left in their original
language or translated into the new language with such care and
diligence as is required to preserve the original meaning.
10. You must include this license with any distribution that you make,
in such a way that it is clearly associated with such covered works
as are present in that distribution. In any electronic
distribution, the license must be in a file called "ISC-LICENSE".
If you make a distribution that contains works from more than one
ISC distribution, you may either include a copy of the ISC-LICENSE
file that accompanied each such ISC distribution in such a way that
works covered by each license are all clearly grouped with that
license, or you may include the single copy of the ISC-LICENSE that
has the highest version number of all the ISC-LICENSE files
included with such distributions, in which case all covered works
will be covered by that single license file. The version number
of a license appears at the top of the file containing the text of
that license, or if in printed form, at the top of the first page
of that license.
11. If the list of associated documentation is in a seperated file,
you must include that file with any distribution you make, in such
a way that the relationship between that file and the files that
refer to it is clear. It is not permissible to merge such files
in the event that you make a distribution including files from
more than one ISC distribution, unless all the Bootstrap Licenses
refer to files for their lists of associated documentation, and
those references all list the same filename.
12. If a distribution that includes covered works includes a mechanism
for automatically installing covered works, following that
installation process must not cause the person following that
process to violate this license, knowingly or unknowingly. In the
event that the producer of a distribution containing covered files
accidentally or wilfully violates this clause, persons other than
the producer of such a distribution shall not be held liable for
such violations, but are not otherwise excused from any
requirement of this license.
13. COVERED WORKS ARE PROVIDED "AS IS". ISC DISCLAIMS ALL WARRANTIES
WITH REGARD TO COVERED WORKS INCLUDING THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
14. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OF COVERED WORKS.
Use of covered works under different terms is prohibited unless you
have first obtained a license from ISC granting use pursuant to
different terms. Such terms may be negotiated by contacting ISC as
follows:
Internet Software Consortium
950 Charter Street
Redwood City, CA 94063
Tel: 1-888-868-1001
Fax: 1-650-779-7055
Email: licensing@isc.org

View File

@@ -1,33 +1,20 @@
# Makefile.conf # Makefile.conf
# #
# Copyright (c) 1996, 1997, 1998, 1999 The Internet Software Consortium. # Copyright (c) 1996-1999 Internet Software Consortium.
# All rights reserved. # Use is subject to license terms which appear in the file named
# ISC-LICENSE that should have accompanied this file when you
# received it. If a file named ISC-LICENSE did not accompany this
# file, or you are not sure the one you have is correct, you may
# obtain an applicable copy of the license at:
# #
# Redistribution and use in source and binary forms, with or without # http://www.isc.org/isc-license-1.0.html.
# modification, are permitted provided that the following conditions
# are met:
# #
# 1. Redistributions of source code must retain the above copyright # This file is part of the ISC DHCP distribution. The documentation
# notice, this list of conditions and the following disclaimer. # associated with this file is listed in the file DOCUMENTATION,
# 2. Redistributions in binary form must reproduce the above copyright # included in the top-level directory of this release.
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. Neither the name of The Internet Software Consortium nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND # Support and other services are available for ISC products - see
# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, # http://www.isc.org for more information.
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
# THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
# #
## Defaults... ## Defaults...

View File

@@ -1,36 +1,23 @@
# Makefile.dist # Makefile.dist
# #
# Copyright (c) 1996, 1997, 1998, 1999 The Internet Software Consortium. # Copyright (c) 1996-1999 Internet Software Consortium.
# All rights reserved. # Use is subject to license terms which appear in the file named
# ISC-LICENSE that should have accompanied this file when you
# received it. If a file named ISC-LICENSE did not accompany this
# file, or you are not sure the one you have is correct, you may
# obtain an applicable copy of the license at:
# #
# Redistribution and use in source and binary forms, with or without # http://www.isc.org/isc-license-1.0.html.
# modification, are permitted provided that the following conditions
# are met:
# #
# 1. Redistributions of source code must retain the above copyright # This file is part of the ISC DHCP distribution. The documentation
# notice, this list of conditions and the following disclaimer. # associated with this file is listed in the file DOCUMENTATION,
# 2. Redistributions in binary form must reproduce the above copyright # included in the top-level directory of this release.
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. Neither the name of The Internet Software Consortium nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND # Support and other services are available for ISC products - see
# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, # http://www.isc.org for more information.
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
# THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
# #
SUBDIRS= common server client relay statmsg sysconfd dhcpctl SUBDIRS= common server client relay
all: all:
@for dir in ${SUBDIRS}; do \ @for dir in ${SUBDIRS}; do \

View File

@@ -1,33 +1,20 @@
# Makefile.dist # Makefile.dist
# #
# Copyright (c) 1996, 1997, 1998 The Internet Software Consortium. # Copyright (c) 1996-1999 Internet Software Consortium.
# All rights reserved. # Use is subject to license terms which appear in the file named
# ISC-LICENSE that should have accompanied this file when you
# received it. If a file named ISC-LICENSE did not accompany this
# file, or you are not sure the one you have is correct, you may
# obtain an applicable copy of the license at:
# #
# Redistribution and use in source and binary forms, with or without # http://www.isc.org/isc-license-1.0.html.
# modification, are permitted provided that the following conditions
# are met:
# #
# 1. Redistributions of source code must retain the above copyright # This file is part of the ISC DHCP distribution. The documentation
# notice, this list of conditions and the following disclaimer. # associated with this file is listed in the file DOCUMENTATION,
# 2. Redistributions in binary form must reproduce the above copyright # included in the top-level directory of this release.
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. Neither the name of The Internet Software Consortium nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND # Support and other services are available for ISC products - see
# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, # http://www.isc.org for more information.
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
# THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
# #
CATMANPAGES = dhclient.cat8 dhclient.conf.cat5 dhclient-script.cat8 \ CATMANPAGES = dhclient.cat8 dhclient.conf.cat5 dhclient-script.cat8 \

View File

@@ -3,46 +3,26 @@
Parser for dhclient config and lease files... */ Parser for dhclient config and lease files... */
/* /*
* Copyright (c) 1997, 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: clparse.c,v 1.26 1999/03/10 23:47:39 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n"; "$Id: clparse.c,v 1.27 1999/03/16 05:50:29 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -1,40 +1,20 @@
.\" dhclient-script.8 .\" dhclient-script.8
.\" .\"
.\" Copyright (c) 1997 The Internet Software Consortium. .\" Copyright (c) 1996-1999 Internet Software Consortium.
.\" All rights reserved. .\" Use is subject to license terms which appear in the file named
.\" ISC-LICENSE that should have accompanied this file when you
.\" received it. If a file named ISC-LICENSE did not accompany this
.\" file, or you are not sure the one you have is correct, you may
.\" obtain an applicable copy of the license at:
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" http://www.isc.org/isc-license-1.0.html.
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" .\"
.\" 1. Redistributions of source code must retain the above copyright .\" This file is part of the ISC DHCP distribution. The documentation
.\" notice, this list of conditions and the following disclaimer. .\" associated with this file is listed in the file DOCUMENTATION,
.\" 2. Redistributions in binary form must reproduce the above copyright .\" included in the top-level directory of this release.
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of The Internet Software Consortium nor the names
.\" of its contributors may be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" .\"
.\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND .\" Support and other services are available for ISC products - see
.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, .\" http://www.isc.org for more information.
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.\" DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" This software has been written for the Internet Software Consortium
.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
.\" Enterprises. To learn more about the Internet Software Consortium,
.\" see ``http://www.isc.org/isc''. To learn more about Vixie
.\" Enterprises, see ``http://www.vix.com''.
.TH dhclient 8 .TH dhclient 8
.SH NAME .SH NAME
dhclient-script - DHCP client network configuration script dhclient-script - DHCP client network configuration script

View File

@@ -34,8 +34,7 @@ OOPPEERRAATTIIOONN
variety of variables. In all cases, $reason is set to the variety of variables. In all cases, $reason is set to the
name of the reason why the script has been invoked. The name of the reason why the script has been invoked. The
following reasons are currently defined: MEDIUM, PREINIT, following reasons are currently defined: MEDIUM, PREINIT,
ARPCHECK, ARPSEND, BOUND, RENEW, REBIND, REBOOT, EXPIRE, BOUND, RENEW, REBIND, REBOOT, EXPIRE, FAIL and TIMEOUT.
FAIL and TIMEOUT.
MMEEDDIIUUMM MMEEDDIIUUMM
@@ -61,6 +60,7 @@ PPRREEIINNIITT
1 1
@@ -70,23 +70,6 @@ PPRREEIINNIITT
dhclient(8) dhclient(8) dhclient(8) dhclient(8)
AARRPPSSEENNDD
The DHCP client is requesting that an address that has
been offered to it be checked to see if somebody else is
using it, by sending an ARP request for that address.
It's not clear how to implement this, so no examples exist
yet. The IP address to check is passed in
$new_ip_address, and the interface name is passed in
$interface.
AARRPPCCHHEECCKK
The DHCP client wants to know if a response to the ARP
request send using ARPCHECK has been received. If one
has, the script should exit with a nonzero status, indi<64>
cating that the offered address has already been requested
and should be declined. $new_ip_address and $interface
are set as with ARPSEND.
BBOOUUNNDD BBOOUUNNDD
The DHCP client has done an initial binding to a new The DHCP client has done an initial binding to a new
address. The new ip address is passed in address. The new ip address is passed in
@@ -99,6 +82,14 @@ BBOOUUNNDD
new_. So for example, the new subnet mask would be new_. So for example, the new subnet mask would be
passed in $new_subnet_mask. passed in $new_subnet_mask.
Before actually configuring the address, dhclient-script
should somehow ARP for it and exit with a nonzero status
if it receives a reply. In this case, the client will
send a DHCPDECLINE message to the server and acquire a
different address. This may also be done in the RENEW,
REBIND, or REBOOT states, but is not required, and indeed
may not be desirable.
When a binding has been completed, a lot of network param<61> When a binding has been completed, a lot of network param<61>
eters are likely to need to be set up. A new eters are likely to need to be set up. A new
/etc/resolv.conf needs to be created, using the values of /etc/resolv.conf needs to be created, using the values of
@@ -124,6 +115,15 @@ RREENNEEWW
starting with $old_. Persistent settings that may have starting with $old_. Persistent settings that may have
changed need to be deleted - for example, if a local route changed need to be deleted - for example, if a local route
to the bound address is being configured, the old local to the bound address is being configured, the old local
route should be deleted. If the default route has
changed, the old default route should be deleted. If the
static routes have changed, the old ones should be
deleted. Otherwise, processing can be done as with BOUND.
RREEBBIINNDD
The DHCP client has rebound to a new DHCP server. This
can be handled as with RENEW, except that if the IP
address has changed, the ARP table should be cleared.
@@ -136,16 +136,6 @@ RREENNEEWW
dhclient(8) dhclient(8) dhclient(8) dhclient(8)
route should be deleted. If the default route has
changed, the old default route should be deleted. If the
static routes have changed, the old ones should be
deleted. Otherwise, processing can be done as with BOUND.
RREEBBIINNDD
The DHCP client has rebound to a new DHCP server. This
can be handled as with RENEW, except that if the IP
address has changed, the ARP table should be cleared.
RREEBBOOOOTT RREEBBOOOOTT
The DHCP client has successfully reacquired its old The DHCP client has successfully reacquired its old
address after a reboot. This can be processed as with address after a reboot. This can be processed as with
@@ -189,7 +179,17 @@ FFIILLEESS
tems may be similar or even identical. The script files tems may be similar or even identical. The script files
included in the Internet Software Consortium DHCP distri<72> included in the Internet Software Consortium DHCP distri<72>
bution appear in the distribution tree under bution appear in the distribution tree under
client/scripts, and bear the names of the operating client/scripts, and bear the names of the operating sys<79>
tems on which they are intended to work.
BBUUGGSS
If more than one interface is being used, there's no obvi<76>
ous way to avoid clashes between server-supplied configu<67>
ration parameters - for example, the stock dhclient-script
rewrites /etc/resolv.conf. If more than one interface is
being configured, /etc/resolv.conf will be repeatedly ini<6E>
tialized to the values provided by one server, and then
the other. Assuming the information provided by both
@@ -202,16 +202,6 @@ FFIILLEESS
dhclient(8) dhclient(8) dhclient(8) dhclient(8)
systems on which they are intended to work.
BBUUGGSS
If more than one interface is being used, there's no obvi<76>
ous way to avoid clashes between server-supplied configu<67>
ration parameters - for example, the stock dhclient-script
rewrites /etc/resolv.conf. If more than one interface is
being configured, /etc/resolv.conf will be repeatedly ini<6E>
tialized to the values provided by one server, and then
the other. Assuming the information provided by both
servers is valid, this shouldn't cause any real problems, servers is valid, this shouldn't cause any real problems,
but it could be confusing. but it could be confusing.
@@ -248,6 +238,16 @@ AAUUTTHHOORR

View File

@@ -1,40 +1,20 @@
.\" dhclient.8 .\" dhclient.8
.\" .\"
.\" Copyright (c) 1997 The Internet Software Consortium. .\" Copyright (c) 1996-1999 Internet Software Consortium.
.\" All rights reserved. .\" Use is subject to license terms which appear in the file named
.\" ISC-LICENSE that should have accompanied this file when you
.\" received it. If a file named ISC-LICENSE did not accompany this
.\" file, or you are not sure the one you have is correct, you may
.\" obtain an applicable copy of the license at:
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" http://www.isc.org/isc-license-1.0.html.
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" .\"
.\" 1. Redistributions of source code must retain the above copyright .\" This file is part of the ISC DHCP distribution. The documentation
.\" notice, this list of conditions and the following disclaimer. .\" associated with this file is listed in the file DOCUMENTATION,
.\" 2. Redistributions in binary form must reproduce the above copyright .\" included in the top-level directory of this release.
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of The Internet Software Consortium nor the names
.\" of its contributors may be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" .\"
.\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND .\" Support and other services are available for ISC products - see
.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, .\" http://www.isc.org for more information.
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.\" DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" This software has been written for the Internet Software Consortium
.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
.\" Enterprises. To learn more about the Internet Software Consortium,
.\" see ``http://www.isc.org/isc''. To learn more about Vixie
.\" Enterprises, see ``http://www.vix.com''.
.TH dhclient 8 .TH dhclient 8
.SH NAME .SH NAME
dhclient - Dynamic Host Configuration Protocol Client dhclient - Dynamic Host Configuration Protocol Client

View File

@@ -3,60 +3,26 @@
DHCP Client. */ DHCP Client. */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*
* This client was substantially modified and enhanced by Elliot Poger
* for use on Linux while he was working on the MosquitoNet project at
* Stanford.
*
* The current version owes much to Elliot's Linux enhancements, but
* was substantially reorganized and partially rewritten by Ted Lemon
* so as to use the same networking framework that the Internet Software
* Consortium DHCP server uses. Much system-specific configuration code
* was moved into a shell script so that as support for more operating
* systems is added, it will not be necessary to port and maintain
* system-specific configuration code to these operating systems - instead,
* the shell script can invoke the native tools to accomplish the same
* purpose.
*/ */
#ifndef lint #ifndef lint
static char ocopyright[] = static char ocopyright[] =
"$Id: dhclient.c,v 1.61 1999/03/16 00:17:20 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: dhclient.c,v 1.62 1999/03/16 05:50:30 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"
@@ -277,9 +243,6 @@ int main (argc, argv, envp)
/* Set up the bootp packet handler... */ /* Set up the bootp packet handler... */
bootp_packet_handler = do_packet; bootp_packet_handler = do_packet;
/* Start listening on the sysconf socket... */
sysconf_startup (status_message);
/* Start dispatching packets and timeouts... */ /* Start dispatching packets and timeouts... */
dispatch (); dispatch ();
@@ -2168,20 +2131,6 @@ void write_client_pid_file ()
} }
} }
void status_message (header, data)
struct sysconf_header *header;
void *data;
{
switch (header -> type) {
case NETWORK_LOCATION_CHANGED:
client_location_changed ();
break;
default:
break;
}
}
void client_location_changed () void client_location_changed ()
{ {
struct interface_info *ip; struct interface_info *ip;

View File

@@ -1,40 +1,20 @@
.\" dhclient.conf.5 .\" dhclient.conf.5
.\" .\"
.\" Copyright (c) 1997 The Internet Software Consortium. .\" Copyright (c) 1996-1999 Internet Software Consortium.
.\" All rights reserved. .\" Use is subject to license terms which appear in the file named
.\" ISC-LICENSE that should have accompanied this file when you
.\" received it. If a file named ISC-LICENSE did not accompany this
.\" file, or you are not sure the one you have is correct, you may
.\" obtain an applicable copy of the license at:
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" http://www.isc.org/isc-license-1.0.html.
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" .\"
.\" 1. Redistributions of source code must retain the above copyright .\" This file is part of the ISC DHCP distribution. The documentation
.\" notice, this list of conditions and the following disclaimer. .\" associated with this file is listed in the file DOCUMENTATION,
.\" 2. Redistributions in binary form must reproduce the above copyright .\" included in the top-level directory of this release.
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of The Internet Software Consortium nor the names
.\" of its contributors may be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" .\"
.\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND .\" Support and other services are available for ISC products - see
.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, .\" http://www.isc.org for more information.
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.\" DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" This software has been written for the Internet Software Consortium
.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
.\" Enterprises. To learn more about the Internet Software Consortium,
.\" see ``http://www.isc.org/isc''. To learn more about Vixie
.\" Enterprises, see ``http://www.vix.com''.
.TH dhclient.conf 5 .TH dhclient.conf 5
.SH NAME .SH NAME
dhclient.conf - DHCP client configuration file dhclient.conf - DHCP client configuration file
@@ -534,6 +514,6 @@ RFC2131.
.B dhclient(8) .B dhclient(8)
was written by Ted Lemon <mellon@vix.com> was written by Ted Lemon <mellon@vix.com>
under a contract with Vixie Labs. Funding under a contract with Vixie Labs. Funding
for this project was provided by the Internet Software Corporation. for this project was provided by the Internet Software Consortium.
Information about the Internet Software Consortium can be found at Information about the Internet Software Consortium can be found at
.B http://www.isc.org/isc. .B http://www.isc.org/isc.

View File

@@ -57,6 +57,6 @@ dhcpd.conf(5), RFC2132, RFC2131.
.B dhclient(8) .B dhclient(8)
was written by Ted Lemon <mellon@vix.com> was written by Ted Lemon <mellon@vix.com>
under a contract with Vixie Labs. Funding under a contract with Vixie Labs. Funding
for this project was provided by the Internet Software Corporation. for this project was provided by the Internet Software Consortium.
Information about the Internet Software Consortium can be found at Information about the Internet Software Consortium can be found at
.B http://www.isc.org/isc. .B http://www.isc.org/isc.

View File

@@ -1,33 +1,20 @@
# Makefile.dist # Makefile.dist
# #
# Copyright (c) 1996, 1997, 1998, 1999 The Internet Software Consortium. # Copyright (c) 1996-1999 Internet Software Consortium.
# All rights reserved. # Use is subject to license terms which appear in the file named
# ISC-LICENSE that should have accompanied this file when you
# received it. If a file named ISC-LICENSE did not accompany this
# file, or you are not sure the one you have is correct, you may
# obtain an applicable copy of the license at:
# #
# Redistribution and use in source and binary forms, with or without # http://www.isc.org/isc-license-1.0.html.
# modification, are permitted provided that the following conditions
# are met:
# #
# 1. Redistributions of source code must retain the above copyright # This file is part of the ISC DHCP distribution. The documentation
# notice, this list of conditions and the following disclaimer. # associated with this file is listed in the file DOCUMENTATION,
# 2. Redistributions in binary form must reproduce the above copyright # included in the top-level directory of this release.
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. Neither the name of The Internet Software Consortium nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND # Support and other services are available for ISC products - see
# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, # http://www.isc.org for more information.
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
# THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
# #
CATMANPAGES = dhcp-options.cat5 CATMANPAGES = dhcp-options.cat5

View File

@@ -3,46 +3,26 @@
Memory allocation... */ Memory allocation... */
/* /*
* Copyright (c) 1995, 1996, 1998 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: alloc.c,v 1.24 1999/02/25 23:30:33 mellon Exp $ Copyright (c) 1995, 1996, 1998 The Internet Software Consortium. All rights reserved.\n"; "$Id: alloc.c,v 1.25 1999/03/16 05:50:31 mellon Exp $ Copyright (c) 1995, 1996, 1998 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,98 +3,26 @@
Subroutines having to do with authentication. */ Subroutines having to do with authentication. */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use of this source file, source files derived in whole * http://www.isc.org/isc-license-1.0.html.
* or in part from this source file, and binary files derived in whole or in
* part from this source file, with or without modification, are permitted
* provided that the following conditions are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* This copyright notice must appear directly below any initial commentary * included in the top-level directory of this release.
* describing the file, and may not be preceded by any other copyright
* notice.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium (hereafter
* referred to as "the ISC") nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
* 4. This software is a part of the ISC DHCP Distribution. Redistributions
* of this source file or binary files derived from this source file
* MUST include all documentation accompanying the ISC release from
* which such redistributions are derived of this source file, specifically
* the following files (listed relative to the top of the ISC DHCP
* distribution directory tree):
* *
* README * Support and other services are available for ISC products - see
* common/dhcp-contrib.5 * http://www.isc.org for more information.
* common/dhcp-options.5
* server/dhcpd.8
* server/dhcpd.conf.5
* server/dhcpd.leases.5
* client/dhclient.8
* client/dhclient.conf.5
* client/dhclient-script.8
* client/dhclient.leases.5
* relay/dhcrelay.8
*
* Absence of these files from a distribution you receive does not excuse
* you from this requirement - if the distribution you receive does not
* contain these files, you must get them from the ISC and include them
* in any redistribution of this source file or any derivative work based
* wholly or in part on this source file. It is permissible in a binary
* redistribution derived from this source file to include formatted
* versions of the manual pages mentioned above, and also to add to or
* correct the manual pages and README file mentioned above so long as the
* sections labeled CONTRIBUTIONS in these documents are unchanged except
* with respect to formatting, so long as the order in which the
* CONTRIBUTIONS section appears in these documents is not changed, and
* so long as the dhcp-contrib.5 manual page is unchanged except with
* respect to formatting. It is also permissible to redistribute this
* source file, source files derived wholly or in part from this source
* file, and binaries derived wholly or in part from this source file
* accompanied by the aforementioned manual pages translated into another
* language. In this case, the CONTRIBUTIONS section and the
* dhcp-contrib.5 section may either be left in their original language
* or translated into the new language with such care and diligence as
* is required to preserve the original meaning.
* 5. If, in addition to the documentation mentioned in section 4, this
* source file, a source file derived wholly or in part from this source
* file, or a binary file derived wholly or in part from this source file
* is redistributed with additional printed or electronic documentation,
* then that documentation must refer to the dhcp-contrib.5 manual page
* in as conspicuous a way as the aforementioned documentation refers to
* it, and the dhcp-contrib.5 manual page must be converted into the same
* format and be made easily accessible to any recipient of such
* redistributions.
*
* THIS SOFTWARE IS PROVIDED BY THE ISC AND CONTRIBUTORS ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE ISC OR CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the ISC by Ted Lemon <mellon@isc.org>
* in cooperation with Vixie Enterprises and Internet Engines, Inc. To
* learn more about the ISC, see ``http://www.vix.com/isc''. Development
* of this software is funded through contributions and support contracts.
* Please see the dhcp-contrib manual page that accompanies this file for
* information on how you can contribute.
*/ */
#ifndef lint #ifndef lint
static char ocopyright[] = static char ocopyright[] =
"$Id: auth.c,v 1.1 1999/02/25 23:30:33 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium."; "$Id: auth.c,v 1.2 1999/03/16 05:50:31 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.";
#endif #endif
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
BPF socket interface code, originally contributed by Archie Cobbs. */ BPF socket interface code, originally contributed by Archie Cobbs. */
/* /*
* Copyright (c) 1995, 1996, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: bpf.c,v 1.24 1999/03/13 18:56:46 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; "$Id: bpf.c,v 1.25 1999/03/16 05:50:31 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
Lexical scanner for dhcpd config file... */ Lexical scanner for dhcpd config file... */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: conflex.c,v 1.39 1999/03/09 23:39:41 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: conflex.c,v 1.40 1999/03/16 05:50:32 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -4,46 +4,26 @@
can't be assumed to be aligned. */ can't be assumed to be aligned. */
/* /*
* Copyright (c) 1995, 1996, 1998 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: convert.c,v 1.5 1998/03/16 06:09:32 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; "$Id: convert.c,v 1.6 1999/03/16 05:50:32 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -1,40 +1,20 @@
.\" dhcp-eval.5 .\" dhcp-eval.5
.\" .\"
.\" Copyright (c) 1995, 1996, 1997, 1998, 1999 .\" Copyright (c) 1996-1999 Internet Software Consortium.
.\" The Internet Software Consortium. All rights reserved. .\" Use is subject to license terms which appear in the file named
.\" ISC-LICENSE that should have accompanied this file when you
.\" received it. If a file named ISC-LICENSE did not accompany this
.\" file, or you are not sure the one you have is correct, you may
.\" obtain an applicable copy of the license at:
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" http://www.isc.org/isc-license-1.0.html.
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" .\"
.\" 1. Redistributions of source code must retain the above copyright .\" This file is part of the ISC DHCP distribution. The documentation
.\" notice, this list of conditions and the following disclaimer. .\" associated with this file is listed in the file DOCUMENTATION,
.\" 2. Redistributions in binary form must reproduce the above copyright .\" included in the top-level directory of this release.
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of The Internet Software Consortium nor the names
.\" of its contributors may be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" .\"
.\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND .\" Support and other services are available for ISC products - see
.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, .\" http://www.isc.org for more information.
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.\" DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" This software has been written for the Internet Software Consortium
.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
.\" Enterprises. To learn more about the Internet Software Consortium,
.\" see ``http://www.isc.org/isc''. To learn more about Vixie
.\" Enterprises, see ``http://www.vix.com''.
.TH dhcpd-options 5 .TH dhcpd-options 5
.SH NAME .SH NAME
dhcp-conditionals - ISC DHCP conditional evaluation dhcp-conditionals - ISC DHCP conditional evaluation

View File

@@ -1,40 +1,20 @@
.\" dhcp-options.5 .\" dhcp-options.5
.\" .\"
.\" Copyright (c) 1995, 1996, 1997, 1998, 1999 .\" Copyright (c) 1996-1999 Internet Software Consortium.
.\" The Internet Software Consortium. All rights reserved. .\" Use is subject to license terms which appear in the file named
.\" ISC-LICENSE that should have accompanied this file when you
.\" received it. If a file named ISC-LICENSE did not accompany this
.\" file, or you are not sure the one you have is correct, you may
.\" obtain an applicable copy of the license at:
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" http://www.isc.org/isc-license-1.0.html.
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" .\"
.\" 1. Redistributions of source code must retain the above copyright .\" This file is part of the ISC DHCP distribution. The documentation
.\" notice, this list of conditions and the following disclaimer. .\" associated with this file is listed in the file DOCUMENTATION,
.\" 2. Redistributions in binary form must reproduce the above copyright .\" included in the top-level directory of this release.
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of The Internet Software Consortium nor the names
.\" of its contributors may be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" .\"
.\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND .\" Support and other services are available for ISC products - see
.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, .\" http://www.isc.org for more information.
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.\" DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" This software has been written for the Internet Software Consortium
.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
.\" Enterprises. To learn more about the Internet Software Consortium,
.\" see ``http://www.isc.org/isc''. To learn more about Vixie
.\" Enterprises, see ``http://www.vix.com''.
.TH dhcpd-options 5 .TH dhcpd-options 5
.SH NAME .SH NAME
dhcp-options - Dynamic Host Configuration Protocol options dhcp-options - Dynamic Host Configuration Protocol options

View File

@@ -533,16 +533,16 @@ dhcpd-options(5) dhcpd-options(5)
SSEEEE AALLSSOO SSEEEE AALLSSOO
dhcpd.conf(5), dhcpd.leases(5), dhclient.conf(5), dhcpd.conf(5), dhcpd.leases(5), dhclient.conf(5), dhcp-
dhcpd(8), dhclient(8), RFC2132, RFC2131. eval(5), dhcpd(8), dhclient(8), RFC2132, RFC2131.
AAUUTTHHOORR AAUUTTHHOORR
ddhhccppdd((88)) was written by Ted Lemon <mellon@vix.com> under a The Internet Software Consortium DHCP Distribution was
contract with Vixie Labs. Funding for this project was written by Ted Lemon <mellon@isc.org> under a contract
provided by the Internet Software Corporation. Informa<6D> with Vixie Labs. Funding for this project was provided
tion about the Internet Software Consortium can be found through the Internet Software Consortium. Information
at hhttttpp::////wwwwww..iisscc..oorrgg//iisscc.. about the Internet Software Consortium can be found at
hhttttpp::////wwwwww..iisscc..oorrgg//iisscc..

View File

@@ -3,46 +3,26 @@
Network input dispatcher... */ Network input dispatcher... */
/* /*
* Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: discover.c,v 1.5 1999/02/25 23:30:34 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: discover.c,v 1.6 1999/03/16 05:50:33 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
Network input dispatcher... */ Network input dispatcher... */
/* /*
* Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: dispatch.c,v 1.53 1999/02/24 17:56:44 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: dispatch.c,v 1.54 1999/03/16 05:50:33 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,37 +3,23 @@
Data Link Provider Interface (DLPI) network interface code. */ Data Link Provider Interface (DLPI) network interface code. */
/* /*
* Copyright (c) 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* *
* This software has been written for the Internet Software Consortium * This software was written for the Internet Software Consortium
* by Eric James Negaard, <lmdejn@lmd.ericsson.se>. To learn more about * by Eric James Negaard, <lmdejn@lmd.ericsson.se>. To learn more about
* the Internet Software Consortium, see ``http://www.vix.com/isc''. * the Internet Software Consortium, see ``http://www.vix.com/isc''.
*/ */
@@ -122,7 +108,7 @@
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: dlpi.c,v 1.7 1999/03/13 18:56:46 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: dlpi.c,v 1.8 1999/03/16 05:50:33 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
static int strioctl PROTO ((int fd, int cmd, int timeout, int len, char *dp)); static int strioctl PROTO ((int fd, int cmd, int timeout, int len, char *dp));

View File

@@ -3,52 +3,26 @@
Domain Name Service subroutines. */ Domain Name Service subroutines. */
/* /*
* Copyright (C) 1992 by Ted Lemon. * Copyright (c) 1996-1999 Internet Software Consortium.
* Copyright (c) 1997, 1998 The Internet Software Consortium. * Use is subject to license terms which appear in the file named
* All rights reserved. * ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This file is based on software written in 1992 by Ted Lemon for
* a portable network boot loader. That original code base has been
* substantially modified for use in the Internet Software Consortium
* DHCP suite.
*
* These later modifications were done on behalf of the Internet
* Software Consortium by Ted Lemon <mellon@fugue.com> in cooperation
* with Vixie Enterprises. To learn more about the Internet Software
* Consortium, see ``http://www.vix.com/isc''. To learn more about
* Vixie Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: dns.c,v 1.10 1999/02/24 17:56:44 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n"; "$Id: dns.c,v 1.11 1999/03/16 05:50:34 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,36 +3,23 @@
Errors and warnings... */ Errors and warnings... */
/* /*
* Copyright (c) 1996 The Internet Software Consortium. * Copyright (c) 1995 RadioMail Corporation.
* All Rights Reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Copyright (c) 1995 RadioMail Corporation. All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Use is subject to license terms which appear in the file named
* modification, are permitted provided that the following conditions * ISC-LICENSE that should have accompanied this file when you
* are met: * received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* 1. Redistributions of source code must retain the above copyright * http://www.isc.org/isc-license-1.0.html.
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of RadioMail Corporation, the Internet Software
* Consortium nor the names of its contributors may be used to endorse
* or promote products derived from this software without specific
* prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY RADIOMAIL CORPORATION, THE INTERNET * This file is part of the ISC DHCP distribution. The documentation
* SOFTWARE CONSORTIUM AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR * associated with this file is listed in the file DOCUMENTATION,
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * included in the top-level directory of this release.
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE *
* ARE DISCLAIMED. IN NO EVENT SHALL RADIOMAIL CORPORATION OR CONTRIBUTORS * Support and other services are available for ISC products - see
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * http://www.isc.org for more information.
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* This software was written for RadioMail Corporation by Ted Lemon * This software was written for RadioMail Corporation by Ted Lemon
* under a contract with Vixie Enterprises. Further modifications have * under a contract with Vixie Enterprises. Further modifications have
@@ -42,7 +29,7 @@
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: errwarn.c,v 1.16 1999/02/24 17:56:45 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n"; "$Id: errwarn.c,v 1.17 1999/03/16 05:50:34 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
Support for executable statements. */ Support for executable statements. */
/* /*
* Copyright (c) 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: execute.c,v 1.7 1999/03/09 23:40:22 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: execute.c,v 1.8 1999/03/16 05:50:34 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
Routines for manipulating hash tables... */ Routines for manipulating hash tables... */
/* /*
* Copyright (c) 1995, 1996 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: hash.c,v 1.11 1999/02/24 17:56:45 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; "$Id: hash.c,v 1.12 1999/03/16 05:50:34 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -4,46 +4,26 @@
responses. */ responses. */
/* /*
* Copyright (c) 1997, 1998 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: icmp.c,v 1.12 1999/02/24 17:56:45 mellon Exp $ Copyright (c) 1997, 1998 The Internet Software Consortium. All rights reserved.\n"; "$Id: icmp.c,v 1.13 1999/03/16 05:50:34 mellon Exp $ Copyright (c) 1997, 1998 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -4,40 +4,21 @@
way... */ way... */
/* /*
* Copyright (c) 1996 The Internet Software Consortium. All rights reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -4,46 +4,26 @@
Support Services in Vancouver, B.C. */ Support Services in Vancouver, B.C. */
/* /*
* Copyright (c) 1995, 1996, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: lpf.c,v 1.6 1999/03/13 18:56:47 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: lpf.c,v 1.7 1999/03/16 05:50:34 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
Memory-resident database... */ Memory-resident database... */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: memory.c,v 1.47 1999/02/25 23:30:35 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: memory.c,v 1.48 1999/03/16 05:50:35 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -4,45 +4,26 @@
with one crucial tidbit of help from Stu Grossmen. */ with one crucial tidbit of help from Stu Grossmen. */
/* /*
* Copyright (c) 1996, 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''. */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: nit.c,v 1.20 1999/03/13 18:56:47 mellon Exp $ Copyright (c) 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: nit.c,v 1.21 1999/03/16 05:50:35 mellon Exp $ Copyright (c) 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
DHCP options parsing and reassembly. */ DHCP options parsing and reassembly. */
/* /*
* Copyright (c) 1995, 1996, 1998 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: options.c,v 1.36 1999/03/10 20:39:22 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; "$Id: options.c,v 1.37 1999/03/16 05:50:35 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#define DHCP_OPTION_DATA #define DHCP_OPTION_DATA

View File

@@ -3,46 +3,26 @@
Packet assembly code, originally contributed by Archie Cobbs. */ Packet assembly code, originally contributed by Archie Cobbs. */
/* /*
* Copyright (c) 1995, 1996, 1998 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: packet.c,v 1.20 1999/02/24 17:56:47 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n"; "$Id: packet.c,v 1.21 1999/03/16 05:50:36 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
Common parser code for dhcpd and dhclient. */ Common parser code for dhcpd and dhclient. */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: parse.c,v 1.15 1999/03/16 00:42:03 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: parse.c,v 1.16 1999/03/16 05:50:36 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
Turn data structures into printable text. */ Turn data structures into printable text. */
/* /*
* Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: print.c,v 1.20 1999/02/24 17:56:47 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: print.c,v 1.21 1999/03/16 05:50:36 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -16,45 +16,26 @@
Sigh. */ Sigh. */
/* /*
* Copyright (c) 1995, 1996, 1997, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''. */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: raw.c,v 1.13 1999/02/25 23:30:35 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; "$Id: raw.c,v 1.14 1999/03/16 05:50:36 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
Parser for /etc/resolv.conf file. */ Parser for /etc/resolv.conf file. */
/* /*
* Copyright (c) 1995, 1996, 1997 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: resolv.c,v 1.7 1999/02/24 17:56:48 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; "$Id: resolv.c,v 1.8 1999/03/16 05:50:37 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,41 +3,21 @@
BSD socket interface code... */ BSD socket interface code... */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
/* SO_BINDTODEVICE support added by Elliot Poger (poger@leland.stanford.edu). /* SO_BINDTODEVICE support added by Elliot Poger (poger@leland.stanford.edu).
@@ -50,7 +30,7 @@
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: socket.c,v 1.33 1999/03/13 18:56:47 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: socket.c,v 1.34 1999/03/16 05:50:37 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
Tables of information... */ Tables of information... */
/* /*
* Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: tables.c,v 1.21 1999/03/16 00:46:46 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: tables.c,v 1.22 1999/03/16 05:50:37 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
Routines for manipulating parse trees... */ Routines for manipulating parse trees... */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: tree.c,v 1.22 1999/03/16 00:48:21 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n"; "$Id: tree.c,v 1.23 1999/03/16 05:50:37 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
Ultrix PacketFilter interface code. Ultrix PacketFilter interface code.
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: upf.c,v 1.8 1999/03/13 18:56:47 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: upf.c,v 1.9 1999/03/16 05:50:38 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,42 +3,24 @@
Definitions for dhcpd... */ Definitions for dhcpd... */
/* /*
* Copyright (c) 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
/* State structure for ongoing computation of a packet signature. */ /* State structure for ongoing computation of a packet signature. */
struct signature_state { struct signature_state {

View File

@@ -3,36 +3,23 @@
Standard C definitions... */ Standard C definitions... */
/* /*
* Copyright (c) 1996 The Internet Software Consortium.
* All Rights Reserved.
* Copyright (c) 1995 RadioMail Corporation. All rights reserved. * Copyright (c) 1995 RadioMail Corporation. All rights reserved.
* Copyright (c) 1996-1999 Internet Software Consortium.
* *
* Redistribution and use in source and binary forms, with or without * Use is subject to license terms which appear in the file named
* modification, are permitted provided that the following conditions * ISC-LICENSE that should have accompanied this file when you
* are met: * received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* 1. Redistributions of source code must retain the above copyright * http://www.isc.org/isc-license-1.0.html.
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of RadioMail Corporation, the Internet Software
* Consortium nor the names of its contributors may be used to endorse
* or promote products derived from this software without specific
* prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY RADIOMAIL CORPORATION, THE INTERNET * This file is part of the ISC DHCP distribution. The documentation
* SOFTWARE CONSORTIUM AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR * associated with this file is listed in the file DOCUMENTATION,
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * included in the top-level directory of this release.
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE *
* ARE DISCLAIMED. IN NO EVENT SHALL RADIOMAIL CORPORATION OR CONTRIBUTORS * Support and other services are available for ISC products - see
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * http://www.isc.org for more information.
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* This software was written for RadioMail Corporation by Ted Lemon * This software was written for RadioMail Corporation by Ted Lemon
* under a contract with Vixie Enterprises. Further modifications have * under a contract with Vixie Enterprises. Further modifications have

View File

@@ -3,36 +3,21 @@
System dependencies for DEC Alpha/OSF1... */ System dependencies for DEC Alpha/OSF1... */
/* /*
* Copyright (c) 1996 The Internet Software Consortium. All rights reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, * http://www.isc.org for more information.
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software was written for the Internet Software Consortium by Ted Lemon
* under a contract with Vixie Laboratories.
*/ */
/* Define the basic integer types... */ /* Define the basic integer types... */

View File

@@ -3,36 +3,21 @@
System dependencies for BSDI BSD/OS... */ System dependencies for BSDI BSD/OS... */
/* /*
* Copyright (c) 1996 The Internet Software Consortium. All rights reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, * http://www.isc.org for more information.
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software was written for the Internet Software Consortium by Ted Lemon
* under a contract with Vixie Laboratories.
*/ */
#include <syslog.h> #include <syslog.h>

View File

@@ -3,36 +3,21 @@
System dependencies for Win32, compiled with Cygwin32... */ System dependencies for Win32, compiled with Cygwin32... */
/* /*
* Copyright (c) 1997 The Internet Software Consortium. All rights reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, * http://www.isc.org for more information.
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software was written for the Internet Software Consortium by Ted Lemon
* under a contract with Vixie Laboratories.
*/ */
#include <sys/time.h> #include <sys/time.h>

View File

@@ -3,37 +3,21 @@
System dependencies for FreeBSD... */ System dependencies for FreeBSD... */
/* /*
* Copyright (c) 1996, 1998 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, * http://www.isc.org for more information.
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software was written for the Internet Software Consortium by Ted Lemon
* under a contract with Vixie Laboratories.
*/ */
#define _ANSI_SOURCE #define _ANSI_SOURCE

View File

@@ -1,33 +1,20 @@
/* hpux.h */ /* hpux.h */
/* /*
* Copyright (c) 1996 The Internet Software Consortium. All rights reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* Support and other services are available for ISC products - see
* http://www.isc.org for more information.
*/ */
#define int8_t char #define int8_t char

View File

@@ -5,34 +5,21 @@
Based on a configuration originally supplied by Jonathan Stone. */ Based on a configuration originally supplied by Jonathan Stone. */
/* /*
* Copyright (c) 1996, 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, * http://www.isc.org for more information.
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <features.h> #include <features.h>

View File

@@ -3,36 +3,21 @@
System dependencies for NetBSD... */ System dependencies for NetBSD... */
/* /*
* Copyright (c) 1996 The Internet Software Consortium. All rights reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, * http://www.isc.org for more information.
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software was written for the Internet Software Consortium by Ted Lemon
* under a contract with Vixie Laboratories.
*/ */
#include <syslog.h> #include <syslog.h>

View File

@@ -1,34 +1,21 @@
/* sample.h /* sample.h
System dependencies for NEXTSTEP 3 & 4 (tested on 4.2PR2)... */ System dependencies for NEXTSTEP 3 & 4 (tested on 4.2PR2)... */
/* /*
* Copyright (c) 1996 The Internet Software Consortium. All rights reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* Support and other services are available for ISC products - see
* http://www.isc.org for more information.
*/ */
/* NeXT needs BSD44 ssize_t */ /* NeXT needs BSD44 ssize_t */
typedef int ssize_t; typedef int ssize_t;

View File

@@ -4,36 +4,21 @@
*/ */
/* /*
* Copyright (c) 1996 The Internet Software Consortium. All rights reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of RadioMail Corporation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY RADIOMAIL CORPORATION AND CONTRIBUTORS * Support and other services are available for ISC products - see
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * http://www.isc.org for more information.
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* RADIOMAIL CORPORATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software was written for the Internet Software Consortium by Ted Lemon
* under a contract with Vixie Labs.
*/ */
#include <sys/types.h> #include <sys/types.h>

View File

@@ -7,34 +7,21 @@
comments here and in other files as guides for what to change. */ comments here and in other files as guides for what to change. */
/* /*
* Copyright (c) 1996 The Internet Software Consortium. All rights reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* Support and other services are available for ISC products - see
* http://www.isc.org for more information.
*/ */
/* Porting:: /* Porting::

View File

@@ -5,36 +5,21 @@
Based on changes contributed by Gerald Rosenberg. */ Based on changes contributed by Gerald Rosenberg. */
/* /*
* Copyright (c) 1996 The Internet Software Consortium. All rights reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, * http://www.isc.org for more information.
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software was written for the Internet Software Consortium by Ted Lemon
* under a contract with Vixie Laboratories.
*/ */
#include <syslog.h> #include <syslog.h>

View File

@@ -3,36 +3,21 @@
System dependencies for SunOS 4 (tested on 4.1.4)... */ System dependencies for SunOS 4 (tested on 4.1.4)... */
/* /*
* Copyright (c) 1996 The Internet Software Consortium. All rights reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, * http://www.isc.org for more information.
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software was written for the Internet Software Consortium by Ted Lemon
* under a contract with Vixie Laboratories.
*/ */
/* Basic Integer Types not defined in SunOS headers... */ /* Basic Integer Types not defined in SunOS headers... */

View File

@@ -3,37 +3,21 @@
System dependencies for Solaris 2.x (tested on 2.5 with gcc)... */ System dependencies for Solaris 2.x (tested on 2.5 with gcc)... */
/* /*
* Copyright (c) 1996, 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, * http://www.isc.org for more information.
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software was written for the Internet Software Consortium by Ted Lemon
* under a contract with Vixie Laboratories.
*/ */
/* Basic Integer Types not defined in SunOS headers... */ /* Basic Integer Types not defined in SunOS headers... */

View File

@@ -3,37 +3,21 @@
System dependencies for Ultrix 4.2 (tested on 4.2a+multicast)... */ System dependencies for Ultrix 4.2 (tested on 4.2a+multicast)... */
/* /*
* Copyright (c) 1996, 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, * http://www.isc.org for more information.
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software was written for the Internet Software Consortium by Ted Lemon
* under a contract with Vixie Laboratories.
*/ */
/* Ultrix uses the old 4.2BSD-style syslog(). */ /* Ultrix uses the old 4.2BSD-style syslog(). */

View File

@@ -3,41 +3,21 @@
Definitions for dhcpd... */ Definitions for dhcpd... */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef __CYGWIN32__ #ifndef __CYGWIN32__

View File

@@ -3,41 +3,21 @@
Tokens for config file lexer and parser. */ Tokens for config file lexer and parser. */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
enum dhcp_token { enum dhcp_token {

View File

@@ -3,41 +3,21 @@
Definitions for hashing... */ Definitions for hashing... */
/* /*
* Copyright (c) 1995, 1998 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#define DEFAULT_HASH_SIZE 97 #define DEFAULT_HASH_SIZE 97

View File

@@ -3,40 +3,21 @@
Portable definitions for internet addresses */ Portable definitions for internet addresses */
/* /*
* Copyright (c) 1996 The Internet Software Consortium. All rights reserved. * Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
/* An internet address of up to 128 bits. */ /* An internet address of up to 128 bits. */

View File

@@ -3,37 +3,21 @@
Operating system dependencies... */ Operating system dependencies... */
/* /*
* Copyright (c) 1996, 1997, 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, * http://www.isc.org for more information.
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software was written for the Internet Software Consortium by Ted Lemon
* under a contract with Vixie Laboratories.
*/ */
#include "site.h" #include "site.h"

View File

@@ -3,41 +3,21 @@
Definitions for executable statements... */ Definitions for executable statements... */
/* /*
* Copyright (c) 1998 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
struct executable_statement { struct executable_statement {

View File

@@ -3,41 +3,21 @@
Definitions for address trees... */ Definitions for address trees... */
/* /*
* Copyright (c) 1995, 1998 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
/* A pair of pointers, suitable for making a linked list. */ /* A pair of pointers, suitable for making a linked list. */

View File

@@ -1,33 +1,20 @@
# Makefile.dist # Makefile.dist
# #
# Copyright (c) 1996, 1997, 1998, 1999 The Internet Software Consortium. # Copyright (c) 1996-1999 Internet Software Consortium.
# All rights reserved. # Use is subject to license terms which appear in the file named
# ISC-LICENSE that should have accompanied this file when you
# received it. If a file named ISC-LICENSE did not accompany this
# file, or you are not sure the one you have is correct, you may
# obtain an applicable copy of the license at:
# #
# Redistribution and use in source and binary forms, with or without # http://www.isc.org/isc-license-1.0.html.
# modification, are permitted provided that the following conditions
# are met:
# #
# 1. Redistributions of source code must retain the above copyright # This file is part of the ISC DHCP distribution. The documentation
# notice, this list of conditions and the following disclaimer. # associated with this file is listed in the file DOCUMENTATION,
# 2. Redistributions in binary form must reproduce the above copyright # included in the top-level directory of this release.
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. Neither the name of The Internet Software Consortium nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND # Support and other services are available for ISC products - see
# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, # http://www.isc.org for more information.
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
# THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
# #
CATMANPAGES = dhcrelay.cat8 CATMANPAGES = dhcrelay.cat8

View File

@@ -3,46 +3,26 @@
DHCP/BOOTP Relay Agent. */ DHCP/BOOTP Relay Agent. */
/* /*
* Copyright (c) 1997, 1998, 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char ocopyright[] = static char ocopyright[] =
"$Id: dhcrelay.c,v 1.22 1999/03/16 00:53:28 mellon Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: dhcrelay.c,v 1.23 1999/03/16 05:50:41 mellon Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -1,33 +1,20 @@
# Makefile.dist # Makefile.dist
# #
# Copyright (c) 1996, 1997, 1998, 1999 The Internet Software Consortium. # Copyright (c) 1996-1999 Internet Software Consortium.
# All rights reserved. # Use is subject to license terms which appear in the file named
# ISC-LICENSE that should have accompanied this file when you
# received it. If a file named ISC-LICENSE did not accompany this
# file, or you are not sure the one you have is correct, you may
# obtain an applicable copy of the license at:
# #
# Redistribution and use in source and binary forms, with or without # http://www.isc.org/isc-license-1.0.html.
# modification, are permitted provided that the following conditions
# are met:
# #
# 1. Redistributions of source code must retain the above copyright # This file is part of the ISC DHCP distribution. The documentation
# notice, this list of conditions and the following disclaimer. # associated with this file is listed in the file DOCUMENTATION,
# 2. Redistributions in binary form must reproduce the above copyright # included in the top-level directory of this release.
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. Neither the name of The Internet Software Consortium nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND # Support and other services are available for ISC products - see
# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, # http://www.isc.org for more information.
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
# THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
# #
CATMANPAGES = dhcpd.cat8 dhcpd.conf.cat5 dhcpd.leases.cat5 CATMANPAGES = dhcpd.cat8 dhcpd.conf.cat5 dhcpd.leases.cat5

View File

@@ -3,46 +3,26 @@
BOOTP Protocol support. */ BOOTP Protocol support. */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: bootp.c,v 1.40 1999/03/10 20:42:27 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: bootp.c,v 1.41 1999/03/16 05:50:42 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,140 +3,30 @@
Handling for client classes. */ Handling for client classes. */
/* /*
* Copyright (c) 1998 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: class.c,v 1.9 1999/03/16 00:54:09 mellon Exp $ Copyright (c) 1998 The Internet Software Consortium. All rights reserved.\n"; "$Id: class.c,v 1.10 1999/03/16 05:50:42 mellon Exp $ Copyright (c) 1998 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"
/*
* Internally, there are three basic kinds of classes: classes that are
* never matched, and must be assigned through classification rules (e.g.,
* known-clients and unknown-clients, above), classes that are assigned
* by doing a hash lookup, and classes that must be matched on an individual
* basis. These classes are all declared the same way:
*
* class [<class-name>] {
* match if <match-expr>;
* ...
* }
*
* It is possible to declare a class that spawns other classes - if a client
* matches the class, a new class is created that matches the client's
* parameters more specifically. Classes that are created in this way are
* attached to the class that spawned them with a hash table, and if a client
* matches the hash, the more general test is not done. Care should be taken
* in constructing such classes: a poorly-chosen spawn test can cause such a
* class to grow without bound.
*
* class [<class-name>] {
* match if <match-expr>;
* spawn <spawn-expr>;
* }
*
* Testing a whole litany of classes can take quite a bit of time for each
* incoming packet. In order to make this process more efficient, it may
* be desirable to group classes into collections, and then write a more
* complicated set of classification rules so as to perform fewer tests.
* Classes can be grouped into collections by writing a collection statement
* in the class declaration:
*
* collection <collection-name>;
*
* By default, all classes are members of the "default" collection.
*
* Beware: if you declare a class to be part of a collection other than
* "default" but do not update the classification rules, that class will
* never be considered during the client classification process.
*/
/*
* Expressions used to make matches:
*
* expression :== LPAREN expression RPAREN |
* expression OR expression |
* expression AND expression |
* NOT expression |
* test_expr
*
* test_expr :== extract_expr EQUALS extract_expr |
* CHECK_COLLECTION STRING
*
* extract_expr :== SUBSTRING extract_expr NUMBER NUMBER |
* SUFFIX extract_expr NUMBER |
* OPTION IDENTIFIER DOT IDENTIFIER |
* OPTION IDENTIFIER |
* CHADDR
* HTYPE
* HARDWARE
* data_expr
*
* data_expr :== STRING |
* hex_data_expr
*
* hex_data_expr :== HEX_NUMBER |
* hex_data_expr COLON HEX_NUMBER
*
* For example:
*
* chaddr = 08:00:2b:4c:2a:29 AND htype = 1;
*
* substring chaddr 0 3 = 08:00:2b;
*
* substring dhcp-client-identifier 1 3 = "RAS";
*
* substring relay.circuit-id = 04:2c:59:31;
*/
/*
* Clients are classified based on classification rules, which can be
* specified on a per-group basis. By default, the following classification
* rules apply:
*
* classification-rules {
* check-collection "default";
* }
*
*/
struct collection default_collection = { struct collection default_collection = {
(struct collection *)0, (struct collection *)0,
"default", "default",

View File

@@ -3,46 +3,26 @@
Parser for dhcpd config file... */ Parser for dhcpd config file... */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: confpars.c,v 1.63 1999/03/16 00:56:02 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; "$Id: confpars.c,v 1.64 1999/03/16 05:50:42 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
Persistent database management routines for DHCPD... */ Persistent database management routines for DHCPD... */
/* /*
* Copyright (c) 1995, 1996 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: db.c,v 1.21 1999/02/24 17:56:51 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; "$Id: db.c,v 1.22 1999/03/16 05:50:43 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -3,46 +3,26 @@
DHCP Protocol engine. */ DHCP Protocol engine. */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: dhcp.c,v 1.81 1999/03/13 18:58:00 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: dhcp.c,v 1.82 1999/03/16 05:50:43 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"

View File

@@ -1,40 +1,20 @@
.\" dhcpd.8 .\" dhcpd.8
.\" .\"
.\" Copyright (c) 1995, 1996 The Internet Software Consortium. .\" Copyright (c) 1996-1999 Internet Software Consortium.
.\" All rights reserved. .\" Use is subject to license terms which appear in the file named
.\" ISC-LICENSE that should have accompanied this file when you
.\" received it. If a file named ISC-LICENSE did not accompany this
.\" file, or you are not sure the one you have is correct, you may
.\" obtain an applicable copy of the license at:
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" http://www.isc.org/isc-license-1.0.html.
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" .\"
.\" 1. Redistributions of source code must retain the above copyright .\" This file is part of the ISC DHCP distribution. The documentation
.\" notice, this list of conditions and the following disclaimer. .\" associated with this file is listed in the file DOCUMENTATION,
.\" 2. Redistributions in binary form must reproduce the above copyright .\" included in the top-level directory of this release.
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of The Internet Software Consortium nor the names
.\" of its contributors may be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" .\"
.\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND .\" Support and other services are available for ISC products - see
.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, .\" http://www.isc.org for more information.
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.\" DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" This software has been written for the Internet Software Consortium
.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
.\" Enterprises. To learn more about the Internet Software Consortium,
.\" see ``http://www.isc.org/isc''. To learn more about Vixie
.\" Enterprises, see ``http://www.vix.com''.
.TH dhcpd 8 .TH dhcpd 8
.SH NAME .SH NAME
dhcpd - Dynamic Host Configuration Protocol Server dhcpd - Dynamic Host Configuration Protocol Server
@@ -327,6 +307,6 @@ dhclient(8), dhcrelay(8), dhcpd.conf(5), dhcpd.leases(5)
.B dhcpd(8) .B dhcpd(8)
was written by Ted Lemon <mellon@vix.com> was written by Ted Lemon <mellon@vix.com>
under a contract with Vixie Labs. Funding under a contract with Vixie Labs. Funding
for this project was provided by the Internet Software Corporation. for this project was provided by the Internet Software Consortium.
Information about the Internet Software Consortium can be found at Information about the Internet Software Consortium can be found at
.B http://www.isc.org/isc. .B http://www.isc.org/isc.

View File

@@ -3,98 +3,26 @@
DHCP Server Daemon. */ DHCP Server Daemon. */
/* /*
* Copyright (c) 1995, 1996, 1997, 1998, 1999 * Copyright (c) 1996-1999 Internet Software Consortium.
* The Internet Software Consortium. All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use of this source file, source files derived in whole * http://www.isc.org/isc-license-1.0.html.
* or in part from this source file, and binary files derived in whole or in
* part from this source file, with or without modification, are permitted
* provided that the following conditions are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* This copyright notice must appear directly below any initial commentary * included in the top-level directory of this release.
* describing the file, and may not be preceded by any other copyright
* notice.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium (hereafter
* referred to as "the ISC") nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
* 4. This software is a part of the ISC DHCP Distribution. Redistributions
* of this source file or binary files derived from this source file
* MUST include all documentation accompanying the ISC release from
* which such redistributions are derived of this source file, specifically
* the following files (listed relative to the top of the ISC DHCP
* distribution directory tree):
* *
* README * Support and other services are available for ISC products - see
* common/dhcp-contrib.5 * http://www.isc.org for more information.
* common/dhcp-options.5
* server/dhcpd.8
* server/dhcpd.conf.5
* server/dhcpd.leases.5
* client/dhclient.8
* client/dhclient.conf.5
* client/dhclient-script.8
* client/dhclient.leases.5
* relay/dhcrelay.8
*
* Absence of these files from a distribution you receive does not excuse
* you from this requirement - if the distribution you receive does not
* contain these files, you must get them from the ISC and include them
* in any redistribution of this source file or any derivative work based
* wholly or in part on this source file. It is permissible in a binary
* redistribution derived from this source file to include formatted
* versions of the manual pages mentioned above, and also to add to or
* correct the manual pages and README file mentioned above so long as the
* sections labeled CONTRIBUTIONS in these documents are unchanged except
* with respect to formatting, so long as the order in which the
* CONTRIBUTIONS section appears in these documents is not changed, and
* so long as the dhcp-contrib.5 manual page is unchanged except with
* respect to formatting. It is also permissible to redistribute this
* source file, source files derived wholly or in part from this source
* file, and binaries derived wholly or in part from this source file
* accompanied by the aforementioned manual pages translated into another
* language. In this case, the CONTRIBUTIONS section and the
* dhcp-contrib.5 section may either be left in their original language
* or translated into the new language with such care and diligence as
* is required to preserve the original meaning.
* 5. If, in addition to the documentation mentioned in section 4, this
* source file, a source file derived wholly or in part from this source
* file, or a binary file derived wholly or in part from this source file
* is redistributed with additional printed or electronic documentation,
* then that documentation must refer to the dhcp-contrib.5 manual page
* in as conspicuous a way as the aforementioned documentation refers to
* it, and the dhcp-contrib.5 manual page must be converted into the same
* format and be made easily accessible to any recipient of such
* redistributions.
*
* THIS SOFTWARE IS PROVIDED BY THE ISC AND CONTRIBUTORS ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE ISC OR CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the ISC by Ted Lemon <mellon@isc.org>
* in cooperation with Vixie Enterprises and Internet Engines, Inc. To
* learn more about the ISC, see ``http://www.vix.com/isc''. Development
* of this software is funded through contributions and support contracts.
* Please see the dhcp-contrib manual page that accompanies this file for
* information on how you can contribute.
*/ */
#ifndef lint #ifndef lint
static char ocopyright[] = static char ocopyright[] =
"$Id: dhcpd.c,v 1.58 1999/03/16 00:56:36 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium."; "$Id: dhcpd.c,v 1.59 1999/03/16 05:50:44 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.";
#endif #endif
static char copyright[] = static char copyright[] =

View File

@@ -1,40 +1,20 @@
.\" dhcpd.conf.5 .\" dhcpd.conf.5
.\" .\"
.\" Copyright (c) 1995, 1996, 1997, 1998, 1999 .\" Copyright (c) 1996-1999 Internet Software Consortium.
.\" The Internet Software Consortium. All rights reserved. .\" Use is subject to license terms which appear in the file named
.\" ISC-LICENSE that should have accompanied this file when you
.\" received it. If a file named ISC-LICENSE did not accompany this
.\" file, or you are not sure the one you have is correct, you may
.\" obtain an applicable copy of the license at:
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" http://www.isc.org/isc-license-1.0.html.
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" .\"
.\" 1. Redistributions of source code must retain the above copyright .\" This file is part of the ISC DHCP distribution. The documentation
.\" notice, this list of conditions and the following disclaimer. .\" associated with this file is listed in the file DOCUMENTATION,
.\" 2. Redistributions in binary form must reproduce the above copyright .\" included in the top-level directory of this release.
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of The Internet Software Consortium nor the names
.\" of its contributors may be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" .\"
.\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND .\" Support and other services are available for ISC products - see
.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, .\" http://www.isc.org for more information.
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.\" DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" This software has been written for the Internet Software Consortium
.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
.\" Enterprises. To learn more about the Internet Software Consortium,
.\" see ``http://www.isc.org/isc''. To learn more about Vixie
.\" Enterprises, see ``http://www.vix.com''.
.TH dhcpd.conf 5 .TH dhcpd.conf 5
.SH NAME .SH NAME
dhcpd.conf - dhcpd configuration file dhcpd.conf - dhcpd configuration file
@@ -924,6 +904,6 @@ dhcpd.conf(5), dhcpd.leases(5), RFC2132, RFC2131.
.B dhcpd(8) .B dhcpd(8)
was written by Ted Lemon <mellon@vix.com> was written by Ted Lemon <mellon@vix.com>
under a contract with Vixie Labs. Funding under a contract with Vixie Labs. Funding
for this project was provided by the Internet Software Corporation. for this project was provided by the Internet Software Consortium.
Information about the Internet Software Consortium can be found at Information about the Internet Software Consortium can be found at
.B http://www.isc.org/isc. .B http://www.isc.org/isc.

View File

@@ -115,15 +115,15 @@ EEXXAAMMPPLLEESS
_g_l_o_b_a_l _p_a_r_a_m_e_t_e_r_s_._._. _g_l_o_b_a_l _p_a_r_a_m_e_t_e_r_s_._._.
shared-network ISC-BIGGIE {
_s_h_a_r_e_d_-_n_e_t_w_o_r_k_-_s_p_e_c_i_f_i_c _p_a_r_a_m_e_t_e_r_s_._._.
subnet 204.254.239.0 netmask 255.255.255.224 { subnet 204.254.239.0 netmask 255.255.255.224 {
_s_u_b_n_e_t_-_s_p_e_c_i_f_i_c _p_a_r_a_m_e_t_e_r_s_._._. _s_u_b_n_e_t_-_s_p_e_c_i_f_i_c _p_a_r_a_m_e_t_e_r_s_._._.
range 204.254.239.10 204.254.239.30; range 204.254.239.10 204.254.239.30;
} }
subnet 204.254.239.32 netmask 255.255.255.224 { subnet 204.254.239.32 netmask 255.255.255.224 {
_s_u_b_n_e_t_-_s_p_e_c_i_f_i_c _p_a_r_a_m_e_t_e_r_s_._._. _s_u_b_n_e_t_-_s_p_e_c_i_f_i_c _p_a_r_a_m_e_t_e_r_s_._._.
range 204.254.239.42 204.254.239.62; range 204.254.239.42 204.254.239.62;
}
@@ -136,9 +136,6 @@ EEXXAAMMPPLLEESS
dhcpd.conf(5) dhcpd.conf(5) dhcpd.conf(5) dhcpd.conf(5)
}
}
subnet 204.254.239.64 netmask 255.255.255.224 { subnet 204.254.239.64 netmask 255.255.255.224 {
_s_u_b_n_e_t_-_s_p_e_c_i_f_i_c _p_a_r_a_m_e_t_e_r_s_._._. _s_u_b_n_e_t_-_s_p_e_c_i_f_i_c _p_a_r_a_m_e_t_e_r_s_._._.
range 204.254.239.74 204.254.239.94; range 204.254.239.74 204.254.239.94;
@@ -171,36 +168,12 @@ dhcpd.conf(5) dhcpd.conf(5)
Figure 2 Figure 2
As you can see in Figure 2, it's legal to specify host As you can see in Figure 2, you can specify host addresses
addresses in parameters as domain names rather than as in parameters using their domain names rather than their
numeric IP addresses. If a given hostname resolves to numeric IP addresses. If a given hostname resolves to
more than one IP address (for example, if that host has more than one IP address (for example, if that host has
two ethernet interfaces), both addresses are supplied to two ethernet interfaces), then where possible, both
the client. addresses are supplied to the client.
In Figure 1, you can see that both the shared-network
statement and the subnet statements can have parameters.
Let us say that the shared network _I_S_C_-_B_I_G_G_I_E supports an
entire department - perhaps the accounting department.
If accounting has its own domain, then a shared-network-
specific parameter might be:
option domain-name "accounting.isc.org";
All subnet declarations appearing in the shared-network
declaration would then have the domain-name option set to
"accounting.isc.org" instead of just "isc.org".
3
dhcpd.conf(5) dhcpd.conf(5)
The most obvious reason for having subnet-specific parame<6D> The most obvious reason for having subnet-specific parame<6D>
ters as shown in Figure 1 is that each subnet, of neces<65> ters as shown in Figure 1 is that each subnet, of neces<65>
@@ -217,6 +190,18 @@ dhcpd.conf(5) dhcpd.conf(5)
only one domain name for all of a router's IP addresses, only one domain name for all of a router's IP addresses,
and it would not be appropriate to use that name here. and it would not be appropriate to use that name here.
3
dhcpd.conf(5) dhcpd.conf(5)
In Figure 1 there is also a _g_r_o_u_p statement, which pro<72> In Figure 1 there is also a _g_r_o_u_p statement, which pro<72>
vides common parameters for a set of three hosts - zappo, vides common parameters for a set of three hosts - zappo,
beppo and harpo. As you can see, these hosts are all in beppo and harpo. As you can see, these hosts are all in
@@ -256,18 +241,6 @@ dhcpd.conf(5) dhcpd.conf(5)
nals. These terminals come in a variety of models, and nals. These terminals come in a variety of models, and
you want to specify the boot files for each models. One you want to specify the boot files for each models. One
way to do this would be to have host declarations for each way to do this would be to have host declarations for each
4
dhcpd.conf(5) dhcpd.conf(5)
server and group them by model: server and group them by model:
group { group {
@@ -283,6 +256,18 @@ dhcpd.conf(5) dhcpd.conf(5)
filename "Xncd19c"; filename "Xncd19c";
next-server ncd-booter; next-server ncd-booter;
4
dhcpd.conf(5) dhcpd.conf(5)
host ncd2 { hardware ethernet 0:c0:c3:88:2d:81; } host ncd2 { hardware ethernet 0:c0:c3:88:2d:81; }
host ncd3 { hardware ethernet 0:c0:c3:00:14:11; } host ncd3 { hardware ethernet 0:c0:c3:00:14:11; }
} }
@@ -296,6 +281,200 @@ dhcpd.conf(5) dhcpd.conf(5)
host ncd8 { hardware ethernet 0:c0:c3:cc:a:8f; } host ncd8 { hardware ethernet 0:c0:c3:cc:a:8f; }
} }
AADDDDRREESSSS PPOOOOLLSS
The ppooooll declaration can be used to specify a pool of
addresses that will be treated differently than another
pool of addresses, even on the same network segment or
subnet. For example, you may want to provide a large set
of addresses that can be assigned to DHCP clients that are
registered to your DHCP server, while providing a smaller
set of addresses, possibly with short lease times, that
are available for unknown clients. If you have a fire<72>
wall, you may be able to arrange for addresses from one
pool to be allowed access to the Internet, while addresses
in another pool are not, thus encouraging users to regis<69>
ter their DHCP clients. To do this, you would set up a
pair of pool declarations:
subnet 10.0.0.0 netmask 255.255.255.0 {
option routers 10.0.0.254;
# Unknown clients get this pool.
pool {
option domain-name-servers bogus.example.com;
max-lease-time 300;
range 10.0.0.200 10.0.0.253;
allow unknown clients;
}
# Known clients get this pool.
pool {
option domain-name-servers ns1.example.com, ns2.example.com;
max-lease-time 28800;
range 10.0.0.5 10.0.0.199;
deny unknown clients;
}
}
It is also possible to set up entirely different subnets
for known and unknown clients - address pools exist at the
level of shared networks, so address ranges within pool
declarations can be on different subnets.
5
dhcpd.conf(5) dhcpd.conf(5)
CCLLIIEENNTT CCLLAASSSSIINNGG
Clients can be seperated into classes, and treated differ<65>
ently depending on what class they are in. This sepera<72>
tion can be done either with a conditional statement, or
with a match statement within the class declaration. It
is possible to specify a limit on the total number of
clients within a particular class or subclass that may
hold leases at one time, and it is possible to specify
automatic subclassing based on the contents of the client
packet.
To add clients to classes based on conditional evaluation,
you would write an conditional statement to match the
clients you wanted in the class, and then put an aadddd
statement in the conditional's list of statements:
if substring (option dhcp-client-identifier, 0, 3) = "RAS" {
add ras-clients;
}
An equivalent way to do this is to simply specify the con<6F>
ditional expression as a matching expression in the class
statement:
class ras-clients {
match if substring (option dhcp-client-identifier, 0, 3) = "RAS";
}
In addition to classes, it is possible to declare sub<75>
classes. A subclass is a class with the same name as a
regular class, but with a specific submatch expression
which is hashed for quick matching. This is essentially a
speed hack - the main difference between five classes with
match expressions and one class with five subclasses is
that it will be quicker to find the subclasses. Sub<75>
classes work as follows:
class vendor-classes {
match option vendor-class-identifier;
}
subclass vendor-classes "SUNW.Ultra-5_10" {
option vendor-encapsulated-options
2:AC:11:41:1:
3:12:73:75:6e:64:68:63:70:2d:73:65:72:76:65:72:31:37:2d:31:
4:12:2f:65:78:70:6f:72:74:2f:72:6f:6f:74:2f:73:70:61:72:63;
}
subclass vendor-classes "SUNW.i86pc" {
option vendor-encapsulated-options
2:4:AC:11:41:1:
3:12:73:75:6e:64:68:63:70:2d:73:65:72:76:65:72:31:37:2d:31:
4:12:2f:65:78:70:6f:72:74:2f:72:6f:6f:74:2f:69:38:36:70:63;
}
6
dhcpd.conf(5) dhcpd.conf(5)
The string following the class name for the subclasses
specifies the string that is expected to match the expres<65>
sion in the class declaration for the vendor-classes
class.
You may specify a limit to the number of clients in a
class that can be assigned leases. The effect of this
will be to make it difficult for a new client in a class
to get an address. Once a class with such a limit has
reached its limit, the only way a new client in that class
can get a lease is for an existing client to relinquish
its lease, either by letting it expire, or by sending a
DHCPRELEASE packet. Classes with lease limits are speci<63>
fied as follows:
class limited-1 {
lease limit 4;
}
This will produce a class in which a maximum of four mem<65>
bers may hold a lease at one time.
It is possible to declare a _s_p_a_w_n_i_n_g _c_l_a_s_s. A spawning
class is a class that automatically produces subclasses
based on what the client sends. The reason that spawning
classes were created was to make it possible to create
lease-limited classes on the fly. The envisioned appli<6C>
cation is a cable-modem environment where the ISP wishes
to provide clients at a particular site with more than one
IP address, but does not wish to provide such clients with
their own subnet, nor give them an unlimited number of IP
addresses from the network segment to which they are con<6F>
nected.
Many cable modem head-end systems can be configured to add
a Relay Agent Information option to DHCP packets when
relaying them to the DHCP server. These systems typi<70>
cally add a circuit ID or remote ID option that uniquely
identifies the customer site. To take advantage of this,
you can write a class declaration as follows:
class customer {
match if exists agent.circuit-id;
spawn with agent.circuit-id;
lease limit 4;
}
Now whenever a request comes in from a customer site, the
circuit ID option will be checked against the class's hash
table. If a subclass is found that matches the circuit
ID, the client will be classified in that subclass and
treated accordingly. If no subclass is found matching
the circuit ID, a new one will be created and logged in
the ddhhccppdd..lleeaasseess file, and the client will be classified
in this new class. Once the client has been classified,
7
dhcpd.conf(5) dhcpd.conf(5)
it will be treated according to the rules of the class,
including, in this case, being subject to the per-site
limit of four leases.
The use of the subclass spawning mechanism is not
restricted to relay agent options - this particular exam<61>
ple is given only because it is a fairly straightforward
one.
RREEFFEERREENNCCEE:: DDEECCLLAARRAATTIIOONNSS RREEFFEERREENNCCEE:: DDEECCLLAARRAATTIIOONNSS
TThhee _s_h_a_r_e_d_-_n_e_t_w_o_r_k ssttaatteemmeenntt TThhee _s_h_a_r_e_d_-_n_e_t_w_o_r_k ssttaatteemmeenntt
@@ -322,18 +501,6 @@ RREEFFEERREENNCCEE:: DDEECCLLAARRAATTIIOONNSS
descriptive for the shared network. The name may have descriptive for the shared network. The name may have
the syntax of a valid domain name (although it will never the syntax of a valid domain name (although it will never
be used as such), or it may be any arbitrary name, be used as such), or it may be any arbitrary name,
5
dhcpd.conf(5) dhcpd.conf(5)
enclosed in quotes. enclosed in quotes.
TThhee _s_u_b_n_e_t ssttaatteemmeenntt TThhee _s_u_b_n_e_t ssttaatteemmeenntt
@@ -353,6 +520,18 @@ dhcpd.conf(5) dhcpd.conf(5)
The _s_u_b_n_e_t_-_n_u_m_b_e_r should be an IP address or domain name The _s_u_b_n_e_t_-_n_u_m_b_e_r should be an IP address or domain name
which resolves to the subnet number of the subnet being which resolves to the subnet number of the subnet being
described. The _n_e_t_m_a_s_k should be an IP address or domain described. The _n_e_t_m_a_s_k should be an IP address or domain
8
dhcpd.conf(5) dhcpd.conf(5)
name which resolves to the subnet mask of the subnet being name which resolves to the subnet mask of the subnet being
described. The subnet number, together with the netmask, described. The subnet number, together with the netmask,
are sufficient to determine whether any given IP address are sufficient to determine whether any given IP address
@@ -388,18 +567,6 @@ dhcpd.conf(5) dhcpd.conf(5)
There must be at least one hhoosstt statement for every BOOTP There must be at least one hhoosstt statement for every BOOTP
client that is to be served. hhoosstt statements may also be client that is to be served. hhoosstt statements may also be
6
dhcpd.conf(5) dhcpd.conf(5)
specified for DHCP clients, although this is not required specified for DHCP clients, although this is not required
unless booting is only enabled for known hosts. unless booting is only enabled for known hosts.
@@ -420,6 +587,17 @@ dhcpd.conf(5) dhcpd.conf(5)
ing the host. If a _h_o_s_t_n_a_m_e option is not specified for ing the host. If a _h_o_s_t_n_a_m_e option is not specified for
the host, _h_o_s_t_n_a_m_e is used. the host, _h_o_s_t_n_a_m_e is used.
9
dhcpd.conf(5) dhcpd.conf(5)
_H_o_s_t declarations are matched to actual DHCP or BOOTP _H_o_s_t declarations are matched to actual DHCP or BOOTP
clients by matching the dhcp-client-identifier option clients by matching the dhcp-client-identifier option
specified in the _h_o_s_t declaration to the one supplied by specified in the _h_o_s_t declaration to the one supplied by
@@ -454,18 +632,6 @@ RREEFFEERREENNCCEE:: AALLLLOOWW aanndd DDEENNYY
ddeennyy uunnkknnoowwnn--cclliieennttss;; ddeennyy uunnkknnoowwnn--cclliieennttss;;
The uunnkknnoowwnn--cclliieennttss flag is used to tell dhcpd whether or The uunnkknnoowwnn--cclliieennttss flag is used to tell dhcpd whether or
7
dhcpd.conf(5) dhcpd.conf(5)
not to dynamically assign addresses to unknown clients. not to dynamically assign addresses to unknown clients.
Dynamic address assignment to unknown clients is aalllloowwed Dynamic address assignment to unknown clients is aalllloowwed
by default. by default.
@@ -486,6 +652,18 @@ dhcpd.conf(5) dhcpd.conf(5)
The bboooottiinngg flag is used to tell dhcpd whether or not to The bboooottiinngg flag is used to tell dhcpd whether or not to
respond to queries from a particular client. This keyword respond to queries from a particular client. This keyword
10
dhcpd.conf(5) dhcpd.conf(5)
only has meaning when it appears in a host declaration. only has meaning when it appears in a host declaration.
By default, booting is aalllloowwed, but if it is disabled for By default, booting is aalllloowwed, but if it is disabled for
a particular client, then that client will not be able to a particular client, then that client will not be able to
@@ -520,18 +698,6 @@ RREEFFEERREENNCCEE:: PPAARRAAMMEETTEERRSS
mmiinn--sseeccss _s_e_c_o_n_d_s;; mmiinn--sseeccss _s_e_c_o_n_d_s;;
8
dhcpd.conf(5) dhcpd.conf(5)
_S_e_c_o_n_d_s should be the minimum number of seconds since a _S_e_c_o_n_d_s should be the minimum number of seconds since a
client began trying to acquire a new lease before the DHCP client began trying to acquire a new lease before the DHCP
server will respond to its request. The number of seconds server will respond to its request. The number of seconds
@@ -552,6 +718,18 @@ dhcpd.conf(5) dhcpd.conf(5)
TThhee _h_a_r_d_w_a_r_e ssttaatteemmeenntt TThhee _h_a_r_d_w_a_r_e ssttaatteemmeenntt
11
dhcpd.conf(5) dhcpd.conf(5)
hhaarrddwwaarree _h_a_r_d_w_a_r_e_-_t_y_p_e _h_a_r_d_w_a_r_e_-_a_d_d_r_e_s_s;; hhaarrddwwaarree _h_a_r_d_w_a_r_e_-_t_y_p_e _h_a_r_d_w_a_r_e_-_a_d_d_r_e_s_s;;
In order for a BOOTP client to be recognized, its network In order for a BOOTP client to be recognized, its network
@@ -587,17 +765,6 @@ dhcpd.conf(5) dhcpd.conf(5)
nneexxtt--sseerrvveerr _s_e_r_v_e_r_-_n_a_m_e;; nneexxtt--sseerrvveerr _s_e_r_v_e_r_-_n_a_m_e;;
9
dhcpd.conf(5) dhcpd.conf(5)
The _n_e_x_t_-_s_e_r_v_e_r statement is used to specify the host The _n_e_x_t_-_s_e_r_v_e_r statement is used to specify the host
address of the server from which the initial boot file address of the server from which the initial boot file
(specified in the _f_i_l_e_n_a_m_e statement) is to be loaded. (specified in the _f_i_l_e_n_a_m_e statement) is to be loaded.
@@ -616,10 +783,22 @@ dhcpd.conf(5) dhcpd.conf(5)
address which corresponds to the network on which it is address which corresponds to the network on which it is
booting. If none of the addresses in the _f_i_x_e_d_-_a_d_d_r_e_s_s booting. If none of the addresses in the _f_i_x_e_d_-_a_d_d_r_e_s_s
statement are on the network on which the client is boot<6F> statement are on the network on which the client is boot<6F>
ing, that client will not match the _h_o_s_t declaration con<6F> ing, that client will not match the _h_o_s_t declaration
taining that _f_i_x_e_d_-_a_d_d_r_e_s_s statement. Each _a_d_d_r_e_s_s should
be either an IP address or a domain name which resolves to
one or more IP addresses.
12
dhcpd.conf(5) dhcpd.conf(5)
containing that _f_i_x_e_d_-_a_d_d_r_e_s_s statement. Each _a_d_d_r_e_s_s
should be either an IP address or a domain name which
resolves to one or more IP addresses.
TThhee _d_y_n_a_m_i_c_-_b_o_o_t_p_-_l_e_a_s_e_-_c_u_t_o_f_f ssttaatteemmeenntt TThhee _d_y_n_a_m_i_c_-_b_o_o_t_p_-_l_e_a_s_e_-_c_u_t_o_f_f ssttaatteemmeenntt
@@ -652,18 +831,6 @@ dhcpd.conf(5) dhcpd.conf(5)
ddyynnaammiicc--bboooottpp--lleeaassee--lleennggtthh _l_e_n_g_t_h;; ddyynnaammiicc--bboooottpp--lleeaassee--lleennggtthh _l_e_n_g_t_h;;
10
dhcpd.conf(5) dhcpd.conf(5)
The _d_y_n_a_m_i_c_-_b_o_o_t_p_-_l_e_a_s_e_-_l_e_n_g_t_h statement is used to set The _d_y_n_a_m_i_c_-_b_o_o_t_p_-_l_e_a_s_e_-_l_e_n_g_t_h statement is used to set
the length of leases dynamically assigned to BOOTP the length of leases dynamically assigned to BOOTP
clients. At some sites, it may be possible to assume clients. At some sites, it may be possible to assume
@@ -683,6 +850,18 @@ dhcpd.conf(5) dhcpd.conf(5)
The _g_e_t_-_l_e_a_s_e_-_h_o_s_t_n_a_m_e_s statement is used to tell dhcpd The _g_e_t_-_l_e_a_s_e_-_h_o_s_t_n_a_m_e_s statement is used to tell dhcpd
whether or not to look up the domain name corresponding to whether or not to look up the domain name corresponding to
the IP address of each address in the lease pool and use the IP address of each address in the lease pool and use
13
dhcpd.conf(5) dhcpd.conf(5)
that address for the DHCP _h_o_s_t_n_a_m_e option. If _f_l_a_g is that address for the DHCP _h_o_s_t_n_a_m_e option. If _f_l_a_g is
true, then this lookup is done for all addresses in the true, then this lookup is done for all addresses in the
current scope. By default, or if _f_l_a_g is false, no current scope. By default, or if _f_l_a_g is false, no
@@ -719,17 +898,6 @@ dhcpd.conf(5) dhcpd.conf(5)
TThhee _a_u_t_h_o_r_i_t_a_t_i_v_e ssttaatteemmeenntt TThhee _a_u_t_h_o_r_i_t_a_t_i_v_e ssttaatteemmeenntt
11
dhcpd.conf(5) dhcpd.conf(5)
aauutthhoorriittaattiivvee;; aauutthhoorriittaattiivvee;;
nnoott aauutthhoorriittaattiivvee;; nnoott aauutthhoorriittaattiivvee;;
@@ -748,6 +916,18 @@ dhcpd.conf(5) dhcpd.conf(5)
"not authoritative" should be written in the appropriate "not authoritative" should be written in the appropriate
scope in the configuration file. scope in the configuration file.
14
dhcpd.conf(5) dhcpd.conf(5)
Usually, writing nnoott aauutthhoorriittaattiivvee;; at the top level of Usually, writing nnoott aauutthhoorriittaattiivvee;; at the top level of
the file should be sufficient. However, if a DHCP server the file should be sufficient. However, if a DHCP server
is to be set up so that it is aware of some networks for is to be set up so that it is aware of some networks for
@@ -784,18 +964,6 @@ dhcpd.conf(5) dhcpd.conf(5)
The server-identifier statement can be used to define the The server-identifier statement can be used to define the
value that is sent in the DHCP Server Identifier option value that is sent in the DHCP Server Identifier option
for a given scope. The value specified mmuusstt be an IP for a given scope. The value specified mmuusstt be an IP
12
dhcpd.conf(5) dhcpd.conf(5)
address for the DHCP server, and must be reachable by all address for the DHCP server, and must be reachable by all
clients served by a particular scope. clients served by a particular scope.
@@ -815,6 +983,17 @@ dhcpd.conf(5) dhcpd.conf(5)
server, and it is desired that the clients use this IP server, and it is desired that the clients use this IP
address when contacting the server. address when contacting the server.
15
dhcpd.conf(5) dhcpd.conf(5)
Supplying a value for the dhcp-server-identifier option is Supplying a value for the dhcp-server-identifier option is
equivalent to using the server-identifier statement. equivalent to using the server-identifier statement.
@@ -853,6 +1032,25 @@ AAUUTTHHOORR
13
16

View File

@@ -1,40 +1,20 @@
.\" dhcpd.leases.5 .\" dhcpd.leases.5
.\" .\"
.\" Copyright (c) 1997, 1998 The Internet Software Consortium. .\" Copyright (c) 1996-1999 Internet Software Consortium.
.\" All rights reserved. .\" Use is subject to license terms which appear in the file named
.\" ISC-LICENSE that should have accompanied this file when you
.\" received it. If a file named ISC-LICENSE did not accompany this
.\" file, or you are not sure the one you have is correct, you may
.\" obtain an applicable copy of the license at:
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" http://www.isc.org/isc-license-1.0.html.
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" .\"
.\" 1. Redistributions of source code must retain the above copyright .\" This file is part of the ISC DHCP distribution. The documentation
.\" notice, this list of conditions and the following disclaimer. .\" associated with this file is listed in the file DOCUMENTATION,
.\" 2. Redistributions in binary form must reproduce the above copyright .\" included in the top-level directory of this release.
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of The Internet Software Consortium nor the names
.\" of its contributors may be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" .\"
.\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND .\" Support and other services are available for ISC products - see
.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, .\" http://www.isc.org for more information.
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.\" DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" This software has been written for the Internet Software Consortium
.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
.\" Enterprises. To learn more about the Internet Software Consortium,
.\" see ``http://www.isc.org/isc''. To learn more about Vixie
.\" Enterprises, see ``http://www.vix.com''.
.TH dhcpd.leases 5 .TH dhcpd.leases 5
.SH NAME .SH NAME
dhcpd.leases - DHCP client lease database dhcpd.leases - DHCP client lease database

View File

@@ -3,46 +3,26 @@
Failover protocol support code... */ Failover protocol support code... */
/* /*
* Copyright (c) 1999 The Internet Software Consortium. * Copyright (c) 1996-1999 Internet Software Consortium.
* All rights reserved. * Use is subject to license terms which appear in the file named
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
* *
* Redistribution and use in source and binary forms, with or without * http://www.isc.org/isc-license-1.0.html.
* modification, are permitted provided that the following conditions
* are met:
* *
* 1. Redistributions of source code must retain the above copyright * This file is part of the ISC DHCP distribution. The documentation
* notice, this list of conditions and the following disclaimer. * associated with this file is listed in the file DOCUMENTATION,
* 2. Redistributions in binary form must reproduce the above copyright * included in the top-level directory of this release.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND * Support and other services are available for ISC products - see
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * http://www.isc.org for more information.
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
* Enterprises. To learn more about the Internet Software Consortium,
* see ``http://www.vix.com/isc''. To learn more about Vixie
* Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: failover.c,v 1.1 1999/02/23 19:26:21 mellon Exp $ Copyright (c) 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: failover.c,v 1.2 1999/03/16 05:50:46 mellon Exp $ Copyright (c) 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"