diff options
author | Matt Johnston <matt@ucc.asn.au> | 2014-07-09 00:15:20 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2014-07-09 00:15:20 +0800 |
commit | c884e5000e881f45e5c2328e219eebd07b0560ca (patch) | |
tree | 59c2280892aff108c15690290ad4adbc1f4e2012 /options.h | |
parent | 1ccac01cee0222be332b46d7102336465760aa11 (diff) |
Make -K keepalive behave like OpenSSH's ServerAliveInterval
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -308,6 +308,11 @@ much traffic. */ be overridden at runtime with -K. 0 disables keepalives */ #define DEFAULT_KEEPALIVE 0 +/* If this many KEEPALIVES are sent with no packets received from the +other side, exit. Not run-time configurable - if you have a need +for runtime configuration please mail the Dropbear list */ +#define DEFAULT_KEEPALIVE_LIMIT 3 + /* Ensure that data is received within IDLE_TIMEOUT seconds. This can be overridden at runtime with -I. 0 disables idle timeouts */ #define DEFAULT_IDLE_TIMEOUT 0 |