Commit a5b21e16 authored by Thomas Markwalder's avatar Thomas Markwalder

[master] Added configuration parameter, ping-cltt-secs (v4 operation only)

    Merges in rt36283.
parent cce04313
......@@ -88,7 +88,13 @@ Consortium. This product includes cryptographic software written
by Eric Young (
Changes since 4.4.1 (New Features)
- none
- A new configuration parameter, ping-cltt-secs (v4 operation only), has
been added to allow the user to specify the number of seconds that must
elapse since CLTT before a ping check is conducted. Prior to this, the
value was hard coded at 60 seconds. Please see the server man pages for
a more detailed discussion.
[ISC-Bugs #36283]
Changes since 4.4.1 (Bug Fixes)
......@@ -100,7 +106,6 @@ by Eric Young (
Changes since 4.4.0 (New Features)
- none
Changes since 4.4.0 (Bug Fixes)
- A delayed-ack value of 0 (the default), now correctly disables the delayed
......@@ -815,11 +815,17 @@ struct lease_state {
#define SV_LOCAL_ADDRESS6 96
#define SV_PING_CLTT_SECS 98
# define DEFAULT_PING_CLTT_SECS 60 /* in seconds */
#if !defined (DEFAULT_DELAYED_ACK)
# define DEFAULT_DELAYED_ACK 0 /* default 0 disables delayed acking */
This diff is collapsed.
......@@ -3027,6 +3027,36 @@ checking - if its value is false, no ping check is done.
.I ping-cltt-secs
.RS 0.25i
.B ping-cltt-secs
.I seconds\fR\fB;\fR
The server will conduct a ping check if all the following conditions are true:
1. Ping checking is enabled.
2. The server is responding to a DISCOVER.
3. The lease to be offered is neither static nor active (i.e. still a valid
4. And any of the following are true:
a. This will be the first offer of this lease (CLTT is 0).
b. The lease is being offered to a client other than its previous owner
c. The lease is being offered to its previous owner and more than
\fBping-cltt-secs\fR have elapsed since CLTT of the original lease.
d. The lease was abandoned and the server is attempting to reclaim it.
The \fBping-cltt-secs\fR statement allows the user to specify the amount of
time that must elaspe after CLTT before a ping check will be conducted.
The default value is sixty seconds.
.I ping-timeout
.RS 0.25i
......@@ -291,6 +291,7 @@ static struct option server_options[] = {
{ "release-on-roam", "f", &server_universe, SV_RELEASE_ON_ROAM, 1 },
{ "local-address6", "6", &server_universe, SV_LOCAL_ADDRESS6, 1 },
{ "bind-local-address6", "f", &server_universe, SV_BIND_LOCAL_ADDRESS6, 1 },
{ "ping-cltt-secs", "T", &server_universe, SV_PING_CLTT_SECS, 1 },
{ NULL, NULL, NULL, 0, 0 }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment