diff options
author | Matt Johnston <matt@ucc.asn.au> | 2008-09-22 15:28:52 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2008-09-22 15:28:52 +0000 |
commit | f8ac549a49a4cd9f2d704c8c6b0ac9eab42ce941 (patch) | |
tree | 9b28099ad9ce33e6e61d44074e466989e99cc95f /session.h | |
parent | 1fe94f62f3f1a1f04517d8b8b49a73e2afa23157 (diff) | |
download | dropbear-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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; |