comparison options.h @ 513:a3748e54273c

Idle timeout patch from Farrell Aultman. Needs testing, unsure if server code works
author Matt Johnston <matt@ucc.asn.au>
date Fri, 07 Nov 2008 14:11:06 +0000
parents b85507ade010
children 0d8782043d05
comparison
equal deleted inserted replaced
510:b85507ade010 513:a3748e54273c
147 * a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c). 147 * a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c).
148 * It's useful for systems like OS X where standard password crypts don't work, 148 * It's useful for systems like OS X where standard password crypts don't work,
149 * but there's an interface via a PAM module - don't bother using it otherwise. 149 * but there's an interface via a PAM module - don't bother using it otherwise.
150 * You can't enable both PASSWORD and PAM. */ 150 * You can't enable both PASSWORD and PAM. */
151 151
152 #define ENABLE_SVR_PASSWORD_AUTH 152 /*#define ENABLE_SVR_PASSWORD_AUTH*/
153 /* PAM requires ./configure --enable-pam */ 153 /* PAM requires ./configure --enable-pam */
154 /*#define ENABLE_SVR_PAM_AUTH*/ 154 #define ENABLE_SVR_PAM_AUTH
155 #define ENABLE_SVR_PUBKEY_AUTH 155 #define ENABLE_SVR_PUBKEY_AUTH
156 156
157 /* Wether to ake public key options in authorized_keys file into account */ 157 /* Wether to ake public key options in authorized_keys file into account */
158 #ifdef ENABLE_SVR_PUBKEY_AUTH 158 #ifdef ENABLE_SVR_PUBKEY_AUTH
159 #define ENABLE_SVR_PUBKEY_OPTIONS 159 #define ENABLE_SVR_PUBKEY_OPTIONS
256 256
257 /* Ensure that data is transmitted every KEEPALIVE seconds. This can 257 /* Ensure that data is transmitted every KEEPALIVE seconds. This can
258 be overridden at runtime with -K. 0 disables keepalives */ 258 be overridden at runtime with -K. 0 disables keepalives */
259 #define DEFAULT_KEEPALIVE 0 259 #define DEFAULT_KEEPALIVE 0
260 260
261 /* Ensure that data is received within IDLE_TIMEOUT seconds. This can
262 be overridden at runtime with -I. 0 disables idle timeouts */
263 #define DEFAULT_IDLE_TIMEOUT 0
264
261 /* The default path. This will often get replaced by the shell */ 265 /* The default path. This will often get replaced by the shell */
262 #define DEFAULT_PATH "/usr/bin:/bin" 266 #define DEFAULT_PATH "/usr/bin:/bin"
263 267
264 /* Some other defines (that mostly should be left alone) are defined 268 /* Some other defines (that mostly should be left alone) are defined
265 * in sysoptions.h */ 269 * in sysoptions.h */