summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-10-25 00:17:08 +0000
committerDamien Miller <djm@mindrot.org>2017-10-25 12:26:13 +1100
commit35eb33fb957979e3fcbe6ea0eaee8bf4a217421a (patch)
tree6ff628a3a477e2e2c7c4757a74b06ab29d3430a2 /packet.h
parentacf559e1cffbd1d6167cc1742729fc381069f06b (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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet.h b/packet.h
index 40837e9db..55f07fc90 100644
--- a/packet.h
+++ b/packet.h
@@ -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 *);
162int ssh_remote_port(struct ssh *); 163int ssh_remote_port(struct ssh *);
163const char *ssh_local_ipaddr(struct ssh *); 164const char *ssh_local_ipaddr(struct ssh *);
164int ssh_local_port(struct ssh *); 165int ssh_local_port(struct ssh *);
166const char *ssh_packet_rdomain_in(struct ssh *);
165 167
166void ssh_packet_set_rekey_limits(struct ssh *, u_int64_t, u_int32_t); 168void ssh_packet_set_rekey_limits(struct ssh *, u_int64_t, u_int32_t);
167time_t ssh_packet_get_rekey_timeout(struct ssh *); 169time_t ssh_packet_get_rekey_timeout(struct ssh *);