diff options
author | djm@openbsd.org <djm@openbsd.org> | 2017-10-25 00:17:08 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-10-25 12:26:13 +1100 |
commit | 35eb33fb957979e3fcbe6ea0eaee8bf4a217421a (patch) | |
tree | 6ff628a3a477e2e2c7c4757a74b06ab29d3430a2 /servconf.h | |
parent | acf559e1cffbd1d6167cc1742729fc381069f06b (diff) |
upstream commit
add sshd_config RDomain keyword to place sshd and the
subsequent user session (including the shell and any TCP/IP forwardings) into
the specified rdomain(4)
ok markus@
Upstream-ID: be2358e86346b5cacf20d90f59f980b87d1af0f5
Diffstat (limited to 'servconf.h')
-rw-r--r-- | servconf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/servconf.h b/servconf.h index 3d0a0653f..1f042e872 100644 --- a/servconf.h +++ b/servconf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: servconf.h,v 1.128 2017/10/25 00:15:35 djm Exp $ */ | 1 | /* $OpenBSD: servconf.h,v 1.129 2017/10/25 00:17:08 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -78,6 +78,8 @@ typedef struct { | |||
78 | u_int num_listen_addrs; | 78 | u_int num_listen_addrs; |
79 | int address_family; /* Address family used by the server. */ | 79 | int address_family; /* Address family used by the server. */ |
80 | 80 | ||
81 | char *routing_domain; /* Bind session to routing domain */ | ||
82 | |||
81 | char **host_key_files; /* Files containing host keys. */ | 83 | char **host_key_files; /* Files containing host keys. */ |
82 | u_int num_host_key_files; /* Number of files for host keys. */ | 84 | u_int num_host_key_files; /* Number of files for host keys. */ |
83 | char **host_cert_files; /* Files containing host certs. */ | 85 | char **host_cert_files; /* Files containing host certs. */ |
@@ -239,6 +241,7 @@ struct connection_info { | |||
239 | M_CP_STROPT(authorized_principals_command_user); \ | 241 | M_CP_STROPT(authorized_principals_command_user); \ |
240 | M_CP_STROPT(hostbased_key_types); \ | 242 | M_CP_STROPT(hostbased_key_types); \ |
241 | M_CP_STROPT(pubkey_key_types); \ | 243 | M_CP_STROPT(pubkey_key_types); \ |
244 | M_CP_STROPT(routing_domain); \ | ||
242 | M_CP_STRARRAYOPT(authorized_keys_files, num_authkeys_files); \ | 245 | M_CP_STRARRAYOPT(authorized_keys_files, num_authkeys_files); \ |
243 | M_CP_STRARRAYOPT(allow_users, num_allow_users); \ | 246 | M_CP_STRARRAYOPT(allow_users, num_allow_users); \ |
244 | M_CP_STRARRAYOPT(deny_users, num_deny_users); \ | 247 | M_CP_STRARRAYOPT(deny_users, num_deny_users); \ |