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.
Shawn Routhier [Tue, 27 Aug 2013 18:09:12 +0000 (11:09 -0700)]
-n [master]
[rt26311]
Fix the issue with DDNS by checking to see if we have added a pointer
to the ddns_cb and skipping the cache threshold check if we did. Also
expand and correct the cache threshold check into the delayed ack code.
Shawn Routhier [Tue, 27 Aug 2013 17:31:27 +0000 (10:31 -0700)]
[master]
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:44:13 +0000 (10:44 -0700)]
[master]
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 [Thu, 13 Dec 2012 19:29:35 +0000 (11:29 -0800)]
-n [master]
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:54:09 +0000 (13:54 -0800)]
[master]
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 [Mon, 26 Nov 2012 20:14:27 +0000 (12:14 -0800)]
[master]
[rt31231]
Check the status when trying to read from a connection
and don't ask for more if we seem to have a closed
connection.
[ISC-Bugs #31231]
Shawn Routhier [Fri, 16 Nov 2012 23:02:13 +0000 (15:02 -0800)]
[master]
+- 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 20:56:02 +0000 (12:56 -0800)]
[master]
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:30:24 +0000 (14:30 -0700)]
[master]
[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:08:26 +0000 (14:08 -0700)]
[master]
[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 [Tue, 9 Oct 2012 20:28:14 +0000 (13:28 -0700)]
[master]
Relax the requirements for deleting an A or AAAA record.
Previously the DDNS removal code required both the A or AAAA
record and the TXT record to exist. This requirement could
cause problems if something interrupted the removal leaving
the TXT record alone. This relaxation was codified in RFC 4703.
[ISC-Bugs #30734]
Shawn Routhier [Fri, 17 Aug 2012 19:05:49 +0000 (12:05 -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.
make check no longer tries to run atf when ATF was not enabled
(make check target does not make much sense with tests disabled,
but it shouldn't fail complaining about missing atf-run)
Shawn Routhier [Mon, 13 Aug 2012 23:22:32 +0000 (16:22 -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