diff options
author | markus@openbsd.org <markus@openbsd.org> | 2021-02-15 20:43:15 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-02-17 15:03:41 +1100 |
commit | da0a9afcc446a30ca49dd216612c41ac3cb1f2d4 (patch) | |
tree | 59583623e3eacb7a9f7b511f2ed2e4da70f9e187 /readconf.h | |
parent | b696858a7f9db72a83d02cb6edaca4b30a91b386 (diff) |
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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; |