comparison session.h @ 940:e9dfb6d15193

Fix auth timeout regression
author Matt Johnston <matt@ucc.asn.au>
date Wed, 09 Jul 2014 22:02:22 +0800
parents a0819ecfee0b
children 5daedffd0769
comparison
equal deleted inserted replaced
939:a0819ecfee0b 940:e9dfb6d15193
102 struct sshsession { 102 struct sshsession {
103 103
104 /* Is it a client or server? */ 104 /* Is it a client or server? */
105 unsigned char isserver; 105 unsigned char isserver;
106 106
107 time_t connect_time; /* time the connection was established
108 (cleared after auth once we're not
109 respecting AUTH_TIMEOUT any more).
110 A monotonic time, not realworld */
111
112 int sock_in; 107 int sock_in;
113 int sock_out; 108 int sock_out;
114 109
115 /* remotehost will be initially NULL as we delay 110 /* remotehost will be initially NULL as we delay
116 * reading the remote version string. it will be set 111 * reading the remote version string. it will be set
219 char * addrstring; 214 char * addrstring;
220 215
221 /* The resolved remote address, used for lastlog etc */ 216 /* The resolved remote address, used for lastlog etc */
222 char *remotehost; 217 char *remotehost;
223 218
219 time_t connect_time; /* time the connection was established
220 (cleared after auth once we're not
221 respecting AUTH_TIMEOUT any more).
222 A monotonic time, not realworld */
223
224 #ifdef USE_VFORK 224 #ifdef USE_VFORK
225 pid_t server_pid; 225 pid_t server_pid;
226 #endif 226 #endif
227 227
228 }; 228 };