Shawn Routhier [Thu, 23 Jan 2014 21:37:41 +0000 (13:37 -0800)]
[v4_1_esv] Update 3rd party licnese issues
Instead of duplicating more third-party licenses here in LICENSE
file (there are many), just generically suggest to see the other files.
Per the md5 copyright license agreement, add mention of
required verbatim advertising statement in the release notes and
readme.
In the RELNOTES, I also mention ISC is open source software.
In the README, I added a HISTORY section and placed that
advertising statement there. If the HISTORY section is not wanted,
then remove it and just mention the required verbatim advertising statement.
By the way, some good history is in old READMEs and at
http://hack.org/mc/texts/dhcp-freenix.txt
(but I can't find the official hosted Lemon version of that paper).
Remove the advertising clause from the historical BSD
code copyrighted by The Regents of the University of California.
For details see
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
(To summarize: in 1999, the University said that distributors
are no longer required to acknowledge within advertising and the
paragraph in the license may be deleted.)
Shawn Routhier [Mon, 21 Oct 2013 22:14:47 +0000 (15:14 -0700)]
-n [v4_1_esv]
-n [master]
Fix the socket handling for DHCPv6 clients to allow multiple instances
of a clinet on a single machine to work properly.
[ISC-Bugs #34784]
Shawn Routhier [Fri, 30 Aug 2013 20:32:11 +0000 (13:32 -0700)]
-n [v4_1_esv]
-n [master]
fixes in openwrt script from the lwds-lite lab as well
as some cosmetic changes and updating other scripts to
use two double quotes instead of two single quotes for
empty zone ids.
[rt29843]
Shawn Routhier [Tue, 27 Aug 2013 17:41:54 +0000 (10:41 -0700)]
[v4_1_esv]
Add a sleep call after trying to kill a previous client. This
should make the "-r" option to the client work more consistently.
[ISC-Bugs: 18175]
Shawn Routhier [Tue, 4 Jun 2013 17:51:17 +0000 (10:51 -0700)]
[v4_1_esv]
Squashed commit of the following:
[rt33351]
Check for overly long whitespace in files we are parsing and
print a message and exit if we find it. We could try and continue
but given that the file is likely corrupt that doesn't seem useful.
commit e5cde5645b6cdeee04761fa3671d9e9f3b5abdd4
commit 25c632ab85e996f89a8e0337a3c5caef6ff4392a
Shawn Routhier [Wed, 16 Jan 2013 20:00:21 +0000 (12:00 -0800)]
[v4_1_esv]
Modify the server code to allow the administrator to configure
options 51, 58 and 59 in all universes except the dhcp universe.
[rt32309_41]
Shawn Routhier [Thu, 13 Dec 2012 19:37:19 +0000 (11:37 -0800)]
[v4_1_esv]
Clean up ATF issues:
describe patch to ATF code for solaris 11
remove unneeded options for use on solaris 11
comment out unused hash test
[rt32089]
Shawn Routhier [Wed, 28 Nov 2012 21:48:01 +0000 (13:48 -0800)]
-n [v4_1_esv]
Tidy up dhclient.8 file:
make use of man sections consistent for dhclient.conf, dhclient-script
and dhclient.lease
make port port-number and VAR=val VAR=value
correct desciptionof to description of
[ISC-Bugs #17368]
Shawn Routhier [Sat, 17 Nov 2012 00:00:09 +0000 (16:00 -0800)]
[v4_1_esv]
Add support for a simple check that the server id in a request message
to a failover peer matches the server id of the server. This support
is enabled by editing the file includes/site.h and uncommenting the
definition for SERVER_ID_CHECK. The option has several restrictions
and issues - please read the comment in the site.h file before
enabling it.
[ISC-Bugs #31463]
Shawn Routhier [Tue, 13 Nov 2012 21:08:41 +0000 (13:08 -0800)]
[v4_1_esv]
The client now passes information about the options it requested
from the server to the script code via environment variables.
These variables are of the form requested_<option_name>=1 with
the option name being the same as used in the new_* and old_*
variables. [ISC-Bugs #29068]
Shawn Routhier [Thu, 11 Oct 2012 21:45:42 +0000 (14:45 -0700)]
[v4_1_esv]
[ISC-Bugs #26108]
Add a compile time option, enable-secs-byteorder, to deal with
clients that do the byte ordering on the secs field incorrectly.
This field should be in network byte order but some clients
get it wrong. When this option is enabled the server will examine
the secs field and if it looks wrong (high byte non zero and low
byte zero) swap the bytes. The default is disabled. This option
is only useful when doing load balancing within failover.
Shawn Routhier [Tue, 9 Oct 2012 21:22:53 +0000 (14:22 -0700)]
[v4_1_esv]
[rt30320]
When processing a failover request with an unexpected name
create an option block the relationship_name instead of using
the one from the incoming message. This avoids problems when
the option is freed.
Also add code to free the relationship_name from the incoming
mesasage when we free the message.
Shawn Routhier [Fri, 17 Aug 2012 20:57:37 +0000 (13:57 -0700)]
[rt30281]
Modify the renew_lease6() code to properly handle a lease time
that is reduced rather than extended.
Fix the ATF tests for mdb6 and add a new test to check the
above condition.
Shawn Routhier [Tue, 14 Aug 2012 00:53:26 +0000 (17:53 -0700)]
[rt29771]
[rt29770]
[rt29846]
Tidy up man pages, mostly convert a period followed by 1
or 3 spaces to a period followed by 2 spaces. This also
covers tickets 29770 and 29846
Shawn Routhier [Wed, 27 Jun 2012 21:21:27 +0000 (21:21 +0000)]
Previously the server code was relaxed to allow packets with zero
length client ids to be processed. Under some situations use of
zero length client ids can cause the server to go into an infinite
loop. As such ids are not valid according to RFC 2132 section 9.14
the server no longer accepts them. Client ids with a length of 1
are also invalid but the server still accepts them in order to
minimize disruption. The restriction will likely be tightened in
the future to disallow ids with a length of 1.
Thanks to Markus Hietava of Codenomicon CROSS project for the
finding this issue and CERT-FI for vulnerability coordination.
[ISC-Bugs #29851]
CVE: CVE-2012-3571
Shawn Routhier [Wed, 6 Jun 2012 22:51:13 +0000 (22:51 +0000)]
Fix some issues in the code for parsing and printing options.
[ISC-Bugs #22625] - properly print options that have several fields
followed by an array of something for example "fIa"
[ISC-Bugs #27289] - properly parse options in declarations that have
several fields followed by an array of something for example "fIa"
[ISC-Bugs #27296] - properly determine if we parsed a 16 or 32 bit
value in evaluate_numeric_expression (extract-int).
[ISC-Bugs #27314] - properly parse a zero length option from
a lease file. Thanks to Marius Tomaschewski from SUSE for the report
and prototype patch for this ticket as well as ticket 27289.