version 1.131, 2018/04/13 03:57:26 |
version 1.132, 2018/06/06 18:22:41 |
|
|
#define PRIVSEP_ON 1 |
#define PRIVSEP_ON 1 |
#define PRIVSEP_NOSANDBOX 2 |
#define PRIVSEP_NOSANDBOX 2 |
|
|
/* AllowTCPForwarding */ |
|
#define FORWARD_DENY 0 |
|
#define FORWARD_REMOTE (1) |
|
#define FORWARD_LOCAL (1<<1) |
|
#define FORWARD_ALLOW (FORWARD_REMOTE|FORWARD_LOCAL) |
|
|
|
/* PermitOpen */ |
/* PermitOpen */ |
#define PERMITOPEN_ANY 0 |
#define PERMITOPEN_ANY 0 |
#define PERMITOPEN_NONE -2 |
#define PERMITOPEN_NONE -2 |
|
|
|
|
int permit_tun; |
int permit_tun; |
|
|
char **permitted_opens; |
char **permitted_opens; /* May also be one of PERMITOPEN_* */ |
u_int num_permitted_opens; /* May also be one of PERMITOPEN_* */ |
u_int num_permitted_opens; |
|
char **permitted_remote_opens; /* May also be one of PERMITOPEN_* */ |
|
u_int num_permitted_remote_opens; |
|
|
char *chroot_directory; |
char *chroot_directory; |
char *revoked_keys_file; |
char *revoked_keys_file; |
|
|
M_CP_STRARRAYOPT(accept_env, num_accept_env); \ |
M_CP_STRARRAYOPT(accept_env, num_accept_env); \ |
M_CP_STRARRAYOPT(auth_methods, num_auth_methods); \ |
M_CP_STRARRAYOPT(auth_methods, num_auth_methods); \ |
M_CP_STRARRAYOPT(permitted_opens, num_permitted_opens); \ |
M_CP_STRARRAYOPT(permitted_opens, num_permitted_opens); \ |
|
M_CP_STRARRAYOPT(permitted_remote_opens, \ |
|
num_permitted_remote_opens); \ |
} while (0) |
} while (0) |
|
|
struct connection_info *get_connection_info(int, int); |
struct connection_info *get_connection_info(int, int); |