summaryrefslogtreecommitdiff
path: root/readconf.h
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2021-02-15 20:43:15 +0000
committerDarren Tucker <dtucker@dtucker.net>2021-02-17 15:03:41 +1100
commitda0a9afcc446a30ca49dd216612c41ac3cb1f2d4 (patch)
tree59583623e3eacb7a9f7b511f2ed2e4da70f9e187 /readconf.h
parentb696858a7f9db72a83d02cb6edaca4b30a91b386 (diff)
downloadopenssh-git-da0a9afcc446a30ca49dd216612c41ac3cb1f2d4.tar.gz
upstream: ssh: add PermitRemoteOpen for remote dynamic forwarding
with SOCKS ok djm@, dtucker@ OpenBSD-Commit-ID: 64fe7b6360acc4ea56aa61b66498b5ecc0a96a7c
Diffstat (limited to 'readconf.h')
-rw-r--r--readconf.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/readconf.h b/readconf.h
index 6e7e95e7..2fba866e 100644
--- a/readconf.h
+++ b/readconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.h,v 1.139 2021/01/26 05:32:21 dtucker Exp $ */
+/* $OpenBSD: readconf.h,v 1.140 2021/02/15 20:43:15 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -110,6 +110,10 @@ typedef struct {
struct Forward *remote_forwards;
int clear_forwardings;
+ /* Restrict remote dynamic forwarding */
+ char **permitted_remote_opens;
+ u_int num_permitted_remote_opens;
+
/* stdio forwarding (-W) host and port */
char *stdio_forward_host;
int stdio_forward_port;