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 /packet.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 'packet.h')
-rw-r--r-- | packet.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: packet.h,v 1.82 2017/09/12 06:32:07 djm Exp $ */ | 1 | /* $OpenBSD: packet.h,v 1.83 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> |
@@ -61,6 +61,7 @@ struct ssh { | |||
61 | int remote_port; | 61 | int remote_port; |
62 | char *local_ipaddr; | 62 | char *local_ipaddr; |
63 | int local_port; | 63 | int local_port; |
64 | char *rdomain_in; | ||
64 | 65 | ||
65 | /* Optional preamble for log messages (e.g. username) */ | 66 | /* Optional preamble for log messages (e.g. username) */ |
66 | char *log_preamble; | 67 | char *log_preamble; |
@@ -162,6 +163,7 @@ const char *ssh_remote_ipaddr(struct ssh *); | |||
162 | int ssh_remote_port(struct ssh *); | 163 | int ssh_remote_port(struct ssh *); |
163 | const char *ssh_local_ipaddr(struct ssh *); | 164 | const char *ssh_local_ipaddr(struct ssh *); |
164 | int ssh_local_port(struct ssh *); | 165 | int ssh_local_port(struct ssh *); |
166 | const char *ssh_packet_rdomain_in(struct ssh *); | ||
165 | 167 | ||
166 | void ssh_packet_set_rekey_limits(struct ssh *, u_int64_t, u_int32_t); | 168 | void ssh_packet_set_rekey_limits(struct ssh *, u_int64_t, u_int32_t); |
167 | time_t ssh_packet_get_rekey_timeout(struct ssh *); | 169 | time_t ssh_packet_get_rekey_timeout(struct ssh *); |