diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-29 17:05:35 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-29 17:05:35 +0000 |
commit | 31c24e7253ae989e3e134db4194c0e9fdf2da965 (patch) | |
tree | 2c43817554cd176de779467df4bd83d8722a808b /tools/libelf | |
parent | 49be87f44ec229ba03f57d0f777e6ecfe6e79d88 (diff) | |
download | upstream-31c24e7253ae989e3e134db4194c0e9fdf2da965.tar.gz upstream-31c24e7253ae989e3e134db4194c0e9fdf2da965.tar.bz2 upstream-31c24e7253ae989e3e134db4194c0e9fdf2da965.zip |
dropbear: add options SSHKeepAlive and IdleTimeout.
Without timeout mechanism, if ssh client disconnected without sending
FIN or RST, forked dropbear servers would hang there for
KEX_RETRY_TIMEOUT seconds (8 hours).
TCP keepalive is not implemented in dropbear yet, thus the name
SSHKeepAlive.
300 seconds in this patch is selected from the default value of
ServerAliveInterval for Debian ssh client (See man ssh_config).
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40299 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/libelf')
0 files changed, 0 insertions, 0 deletions