diff options
Diffstat (limited to 'servconf.h')
-rw-r--r-- | servconf.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/servconf.h b/servconf.h index 68fcdb764..a23ef7f3a 100644 --- a/servconf.h +++ b/servconf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: servconf.h,v 1.105 2012/11/04 11:09:15 djm Exp $ */ | 1 | /* $OpenBSD: servconf.h,v 1.106 2012/12/02 20:46:11 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -42,6 +42,12 @@ | |||
42 | #define PRIVSEP_ON 1 | 42 | #define PRIVSEP_ON 1 |
43 | #define PRIVSEP_NOSANDBOX 2 | 43 | #define PRIVSEP_NOSANDBOX 2 |
44 | 44 | ||
45 | /* AllowTCPForwarding */ | ||
46 | #define FORWARD_DENY 0 | ||
47 | #define FORWARD_REMOTE (1) | ||
48 | #define FORWARD_LOCAL (1<<1) | ||
49 | #define FORWARD_ALLOW (FORWARD_REMOTE|FORWARD_LOCAL) | ||
50 | |||
45 | #define DEFAULT_AUTH_FAIL_MAX 6 /* Default for MaxAuthTries */ | 51 | #define DEFAULT_AUTH_FAIL_MAX 6 /* Default for MaxAuthTries */ |
46 | #define DEFAULT_SESSIONS_MAX 10 /* Default for MaxSessions */ | 52 | #define DEFAULT_SESSIONS_MAX 10 /* Default for MaxSessions */ |
47 | 53 | ||
@@ -116,7 +122,7 @@ typedef struct { | |||
116 | int permit_user_env; /* If true, read ~/.ssh/environment */ | 122 | int permit_user_env; /* If true, read ~/.ssh/environment */ |
117 | int use_login; /* If true, login(1) is used */ | 123 | int use_login; /* If true, login(1) is used */ |
118 | int compression; /* If true, compression is allowed */ | 124 | int compression; /* If true, compression is allowed */ |
119 | int allow_tcp_forwarding; | 125 | int allow_tcp_forwarding; /* One of FORWARD_* */ |
120 | int allow_agent_forwarding; | 126 | int allow_agent_forwarding; |
121 | u_int num_allow_users; | 127 | u_int num_allow_users; |
122 | char *allow_users[MAX_ALLOW_USERS]; | 128 | char *allow_users[MAX_ALLOW_USERS]; |