Shawn Routhier [Tue, 16 Dec 2014 16:46:40 +0000 (08:46 -0800)]
[v4_1_esv] Move the check for another server to be earlier
[rt38078] Move the check for another server to be earlier
Move the code that checks if there is already a server
running to be executed earlier in the process. This
puts it before the server touches the database which
should avoid problems with rewriting a database from
under a running server.
[v4_1_esv] Server will move FTS_BACKUP to FTS_FREE when pool has no peer
Merges in rt36960. Note that for v4_1_esv a new compile switch,
CONVERT_BACKUP_TO_FREE, was created which must be defined to
enable the conversion of leases. It is off by default.
Shawn Routhier [Tue, 11 Nov 2014 03:22:24 +0000 (19:22 -0800)]
[v4_1_esv] Patch the failover code to avoid deadlocks
Patch for 36810 & 20352
This coves several related problems
1) When the primary is in conflict done it allows the secondary to
transition around resolution interrupted and potentical conflict previously
the primary would die on an illegal state.
2) It allows the servers to restart a bind update request. Previously if
one of the servers sent an udpate request and there died (or had the communications
interrupted) in some states the first server wouldn't retransmit a new
update request and the other server wouldn't send any bind updates. This
was noticed in potential conflict.
3) Updated the state transitions to move the leases on the ack queue
back to the update queue in case of conflict-done as we might need to
retransmit them all.
4) Updated a transition from startup to potentical conflict instead
of resolution interrupted when the servers reconnect during the startup
phase in order to avoid a diffferent dead lock.
[v4_1_esv] Use global server-identifier in NAKS when subnet is unknown.
Merged in a portion of 35958:
Added else-clause to logic in setup_server_source_address to execute
global scope statements when packet->shared_network is NULL. This ensures
a global definition of server-identifier (if one) will be used.
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
Added release note.
Shawn Routhier [Fri, 13 Jun 2014 16:45:49 +0000 (09:45 -0700)]
[v4_1_esv] 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 wedon't.
Shawn Routhier [Wed, 7 May 2014 15:49:53 +0000 (08:49 -0700)]
[v4_1_esv] 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]
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]