comparison session.h @ 1139:43a8ea69b24c

Fix problem where auth timeout wasn't checked when waiting for ident
author Matt Johnston <matt@ucc.asn.au>
date Mon, 03 Aug 2015 21:59:40 +0800
parents 2ebf450edc2d
children 80b45616e1f3
comparison
equal deleted inserted replaced
1138:cc3916a7afd9 1139:43a8ea69b24c
107 struct sshsession { 107 struct sshsession {
108 108
109 /* Is it a client or server? */ 109 /* Is it a client or server? */
110 unsigned char isserver; 110 unsigned char isserver;
111 111
112 time_t connect_time; /* time the connection was established
113 (cleared after auth once we're not
114 respecting AUTH_TIMEOUT any more).
115 A monotonic time, not realworld */
116
112 int sock_in; 117 int sock_in;
113 int sock_out; 118 int sock_out;
114 119
115 /* remotehost will be initially NULL as we delay 120 /* remotehost will be initially NULL as we delay
116 * reading the remote version string. it will be set 121 * reading the remote version string. it will be set
229 char * addrstring; 234 char * addrstring;
230 235
231 /* The resolved remote address, used for lastlog etc */ 236 /* The resolved remote address, used for lastlog etc */
232 char *remotehost; 237 char *remotehost;
233 238
234 time_t connect_time; /* time the connection was established
235 (cleared after auth once we're not
236 respecting AUTH_TIMEOUT any more).
237 A monotonic time, not realworld */
238
239 #ifdef USE_VFORK 239 #ifdef USE_VFORK
240 pid_t server_pid; 240 pid_t server_pid;
241 #endif 241 #endif
242 242
243 }; 243 };