2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

604 Commits

Author SHA1 Message Date
Thomas Markwalder
04daf4fe4b [master] Fixed concatenation of "Dc" formatted options such as domain-search
Merges in rt20558.
2014-11-25 15:22:52 -05:00
Thomas Markwalder
f3a44c1037 [master] Enabling dhcp-cache-threshold no longer causes unnecessary DNS updates
Merges in rt37368.
2014-11-24 07:36:13 -05:00
Thomas Markwalder
d9b2a590e8 [master] Host declaration name can now be used in DNS forward name
Merges in rt21323.
2014-11-19 10:56:17 -05:00
Shawn Routhier
21d3034757 [master] 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.
2014-11-10 19:04:13 -08:00
Thomas Markwalder
6444928cf5 [master] Fixes compilation error in dst_api.c
Merger in rt37708.
2014-11-05 13:48:40 -05:00
Thomas Markwalder
6067cd48da [master] Set signal action to ingore for SIGPIPE
Merges in rt32222.
2014-11-05 07:31:17 -05:00
Shawn Routhier
f542e92b7b [master] Add # to some ticket numbers 2014-10-30 12:25:46 -07:00
Thomas Markwalder
0a7e1a8ab0 [master] Add use-host-decl-names support to BOOTP
Merges in rt36233.
2014-10-27 14:51:20 -04:00
Thomas Markwalder
e046c82621 [master] Added echo-client-id server parameter
Merges in rt35958 which includes fix for rt32545
    Also updated dhcp/.gitignore
2014-10-17 07:56:01 -04:00
Thomas Markwalder
7ff6ae5aa8 [master] Checkum handling fixes
Merges in rt22806
2014-09-18 15:25:02 -04:00
Thomas Markwalder
bd49432ff4 [master] Added subnet address validation checks
Merges in rt32453.
2014-09-11 15:45:10 -04:00
Shawn Routhier
1dceab6c75 [master] Remove unneeded defines for errors
As part of 4.2.0 we renamed a number of errors but continued
to include the old ones in case somebody was building something
using our libraries.  This #ifdefs them and by defaults removes them
from the compile.
2014-09-10 20:26:40 -07:00
Thomas Markwalder
2a537542d6 [master] Server now supports a failover split value of 256.
Merges in rt36664
2014-09-09 07:32:37 -04:00
Thomas Markwalder
fa54ba102c [master] Updated release notes with contributor.
Gave Tobias Stoeckmann credit for his contributions.
2014-09-08 16:08:56 -04:00
Thomas Markwalder
e1b18c6960 [master] Added check for invalid failover message type.
Merges in rt36653
2014-09-08 16:05:23 -04:00
Thomas Markwalder
71d7e9aa4c [master] Corrected right brace detection in parsing
Merges in rt36021
2014-09-08 13:29:57 -04:00
Thomas Markwalder
267a248dbb [master] Fixed release notes. 2014-09-08 13:04:34 -04:00
Thomas Markwalder
3ffc07defb [master] Addes addtional HMAC TSIG algorithms to DDNS
Merges in rt36947
2014-09-08 11:26:57 -04:00
Thomas Markwalder
0ce1aa9445 [master] Corrected error in UDP bad packet logging
Merges in rt36897
2014-09-08 09:31:32 -04:00
Thomas Markwalder
3956569b0d [master] Server file names now logged after config parsing
Merges in rt36671
2014-09-08 07:45:42 -04:00
Thomas Markwalder
c7c11ea1fb [master] minor fix to RELNOTES 2014-08-28 10:13:54 -04:00
Thomas Markwalder
a07d99bbef [master] Corrects medium impact issues reported by Coverity.
Merges in rt36933
2014-08-28 08:12:30 -04:00
Thomas Markwalder
36e2c22493 [master] Corrects high impact issues reported by Coverity.
Merges in rt36712
2014-08-25 13:22:29 -04:00
Shawn Routhier
906ec9a72a [master] Updates for 4.3.1 final 2014-08-06 15:38:59 -07:00
Shawn Routhier
1ba263d0ed [master] Update version stamp for 4.3.1rc1 2014-07-28 15:19:47 -07:00
Shawn Routhier
29c6b4f102 [master] Remove unneeded rcsid and sccsid tags 2014-07-16 11:06:11 -07:00
Thomas Markwalder
7d9dd30689 [master] Squashed commit of the following:
commit d911f58de00fd97f0e041cd12bd6b43804c32f4b
Author: Shawn Routhier <sar@isc.org>
Date:   Mon Jul 7 19:20:13 2014 -0700

    [rt36102] Add release note

commit 9dd4630b0653e7f7405a633e7f0163c163d3cb9a
Author: Thomas Markwalder <tmark@isc.org>
Date:   Mon Jul 7 09:11:35 2014 -0400

    [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
2014-07-08 13:14:19 -04:00
Shawn Routhier
5ade3c84ae [master] Typos from review 2014-07-07 20:08:03 -07:00
Shawn Routhier
7d1a2ce874 [master] Update version stamp for 4.3.1b1 2014-07-02 11:09:30 -07:00
Shawn Routhier
e9326fd0f4 [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.
2014-07-02 08:49:19 -07:00
Shawn Routhier
ad80055f72 [master] Add code to help clean up soft leases 2014-06-20 12:44:38 -07:00
Shawn Routhier
b05e05b731 [master] Address memory leak in dhclient code.
address memory leak
2014-06-10 10:30:32 -07:00
Shawn Routhier
a89fd0cd84 [master] fix typo 2014-06-05 15:03:58 -07:00
Shawn Routhier
250f7134bb [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.
2014-06-05 14:55:01 -07:00
Shawn Routhier
0ab4a71612 [master] Don't halt if we can't set the resovler
If we have an issue when trying to determine a resolver from resolv.conf
don't halt the process.  Print out a message and let the user handle it.
2014-05-20 19:35:05 -07:00
Shawn Routhier
59a351d6d5 [master] Enhance support for vlans on freebsd. 2014-05-19 14:01:20 -07:00
Shawn Routhier
8a2e40cff8 [master] When writing a client lease file use the fsync call 2014-05-19 13:22:03 -07:00
Shawn Routhier
79818c9344 [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.
2014-05-16 15:24:48 -07:00
Shawn Routhier
63c8800c3c [master] update release note for dhcp-2 2014-05-13 19:22:51 -07:00
Shawn Routhier
9279a3d722 [master] Add #define for length of prefix we send to v6 client script 2014-05-08 10:58:45 -07:00
Shawn Routhier
00e9af8ee0 [master] Add configure option to incude PID in syslog entries 2014-05-07 12:19:33 -07:00
Shawn Routhier
d8c7c34ef6 [master] Print out files used and move the dropping of privileges in paranoia
17551 - When starting up in verbose mode have the server print out
        the files it will use

25806 - Moving the paranoia code that drops the privileges to be after
        the server has written the PID file.
2014-05-07 11:54:27 -07:00
Shawn Routhier
02b0bdc3cf [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
2014-05-07 08:20:12 -07:00
Shawn Routhier
f950de775f [master] Add code to remove pid files and to log killing of clients 2014-05-07 08:03:19 -07:00
Shawn Routhier
b6ab3f6c2a [master] Correct calculation of client timeout to include MRD
Correc the calculation of the next climet timeout period to
properly include MRD.
2014-04-30 13:21:48 -07:00
Shawn Routhier
2c4be1d73e [master] Remove unneeded RCSID tags 2014-04-29 10:16:17 -07:00
Shawn Routhier
388cba45bb [master] Remove the pre-errata code for handling no addresses available 2014-04-29 09:59:21 -07:00
Shawn Routhier
1be2ba154d [master] Correct ordering for subnet mask and router and overload vs relay option
Conflicts:
	RELNOTES
2014-04-28 16:15:36 -07:00
Shawn Routhier
dceef8736e [master] Update partner's stos field when processing an update 2014-04-28 16:02:22 -07:00
Shawn Routhier
158a34fb68 [master] Add #ifdefs to allow code to compile if NSUPDATE isn't defined 2014-04-28 15:27:02 -07:00