diff options
author | djm@openbsd.org <djm@openbsd.org> | 2023-01-17 09:44:48 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2023-01-17 20:50:41 +1100 |
commit | 0293c19807f83141cdf33b443154459f9ee471f6 (patch) | |
tree | b24a66100ba0d93f33bd420e40cb2fb8b30477a5 /servconf.h | |
parent | 8ec2e3123802d2beeca06c1644b0b647f6d36dab (diff) | |
download | openssh-git-0293c19807f83141cdf33b443154459f9ee471f6.tar.gz |
upstream: Add a sshd_config UnusedConnectionTimeout option to terminate
client connections that have no open channels for some length of time. This
complements the recently-added ChannelTimeout option that terminates inactive
channels after a timeout.
ok markus@
OpenBSD-Commit-ID: ca983be74c0350364c11f8ba3bd692f6f24f5da9
Diffstat (limited to 'servconf.h')
-rw-r--r-- | servconf.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.h,v 1.158 2023/01/06 02:47:19 djm Exp $ */ +/* $OpenBSD: servconf.h,v 1.159 2023/01/17 09:44:48 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -233,6 +233,8 @@ typedef struct { char **channel_timeouts; /* inactivity timeout by channel type */ u_int num_channel_timeouts; + + int unused_connection_timeout; } ServerOptions; /* Information about the incoming connection as used by Match */ |