[master] Patched client scripts for linux and openwrt
36102 - Client scripts were not updatig resolv.conf when reason is
RENEW6 or REBIND6 and mode is stateless. Note this only affects
the linux and openwrt scripts as only these two flush the interface
of "stale" addresses in PREINIT6
[master] Add define to disable gentle shutodwn by default
Add a define to disable the gentle shutdown feature by default.
The feature has some effects (recover-wait in failvoer pairs)
and release in clients that are always desired. We plan to
revisit this in order to make it easier to use but with the
define it can be enabled if necessary.
Shawn Routhier [Fri, 13 Jun 2014 16:16:00 +0000 (09:16 -0700)]
[master] Clean up DDNS description
Remove the text about use-host-decl-names within DDNS.
This appears to have been correct when describing the
ad-hoc DDNS option but not the interim or standard
options. In the future we may choose to enhance
the latter two but for now we shouldn't claim we do
things we don't.
Shawn Routhier [Thu, 5 Jun 2014 21:55:01 +0000 (14:55 -0700)]
[master] Add support for pool thresholds
Add support to set high and low thresholds for pools for
v4 and v6. A message will be emitted when the usage of
the pool first exceeds the high threshold. More messages
will be skipped until the usage has gone below the low
threshold and then back above the high threshold.
Shawn Routhier [Fri, 16 May 2014 22:24:48 +0000 (15:24 -0700)]
[master] Add -df option to client code to help share DUIDs
Add the "-df <duid file>" option to the client code in order
to make it easier to share DUIDs between a v4 instance and
a v6 instance. This option instructs the client to search
the duid file for a DUID if it didn't find one in the main
lease file.
In addition add the infrastructure for running ATF tests
for the client and write some ATF tests for this patch.
Shawn Routhier [Wed, 7 May 2014 15:20:12 +0000 (08:20 -0700)]
[master] Some small client changes
18933 - add an extra server by name call
26735 - when requested via a command line option
have client exit afer 1 failure per the docs
33098 - expose next-server option to dhclient script
Tidy up several small tickets
Correct parsing of DUID from config file, previously the LL type
was put in the wrong place in the DUID string.
[ISC-Bugs #20962]
Add code to parse "do-forward-updates" as well as "do-forward-update"
[ISC-Bugs #31328]
Remove log_priority as it isn't currently used.
[ISC-Bugs #33397]
Increase the size of the buffer used for reading interface information.
[ISC-Bugs #34858]
Compress all of the 4.2.x sectionss into a single section under
Changes since 4.2.0 (bug fixes), add the changes since 4.3.0 heading
and change the version number to 4.3.1-pre-beta.
[master] Update bind.sh to include correct 4.2 info
Update bind.sh to include all the information for 4.2.
Hopefully this will make updates a bit neater - update master
and cherrypick to 4.2 as necessary.
[ISC-Bugs 33195]
Shawn Routhier [Thu, 23 Jan 2014 21:28:48 +0000 (13:28 -0800)]
[master] 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 [Fri, 8 Nov 2013 20:29:20 +0000 (12:29 -0800)]
[master] Emit log messages when the server is stable
Emit a log message when the server had completed initialization
and is about to start dispatching. And emit log messages when
both peers in a failover pair have reached the normal state.
-n [rt34924]
Modify the on_commit code to use a reasonable scope as the reply->lease
value may not be set, we should use the tmp->scope as we go through
the iasubopts.
Shawn Routhier [Fri, 30 Aug 2013 20:25:12 +0000 (13:25 -0700)]
-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 20:40:47 +0000 (13:40 -0700)]
-n [master]
[rt27912]
Add code to suppor on {commit expiry release} statements for DHCPv6.
There are several pieces to this change
1) Add space in the iasubopt structure to hold the statement pointers
2) Update the execute code to fill in the structures as necessary
3) Execute the statements when appropriate
Many of the changes in the non-v6 code are to pass the v6 structures
around to the execute code.