summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-09-22 15:28:52 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-09-22 15:28:52 +0000
commitf8ac549a49a4cd9f2d704c8c6b0ac9eab42ce941 (patch)
tree9b28099ad9ce33e6e61d44074e466989e99cc95f /session.h
parent1fe94f62f3f1a1f04517d8b8b49a73e2afa23157 (diff)
downloaddropbear-idle-timeout.tar.gz
Idle-timeout patch from Farrell Aultman, need to figure whether to onlyidle-timeout
account DATA packets and whether server->client data makes sense too.
Diffstat (limited to 'session.h')
-rw-r--r--session.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/session.h b/session.h
index b63a258..aa90457 100644
--- a/session.h
+++ b/session.h
@@ -134,12 +134,16 @@ struct sshsession {
unsigned char lastpacket; /* What the last received packet type was */
- int signal_pipe[2]; /* stores endpoints of a self-pipe used for
+ int signal_pipe[2]; /* stores endpoints of a self-pipe used for
race-free signal handling */
time_t last_packet_time; /* time of the last packet transmission, for
keepalive purposes */
+ time_t last_recv_packet_time; /* time of the last packet received, for
+ idle timeout purposes */
+
+
/* KEX/encryption related */
struct KEXState kexstate;
struct key_context *keys;