summaryrefslogtreecommitdiff
path: root/auth-options.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-06-06 18:23:32 +0000
committerDamien Miller <djm@mindrot.org>2018-06-07 04:27:20 +1000
commit93c06ab6b77514e0447fe4f1d822afcbb2a9be08 (patch)
tree86b19179eaa51962f0dae9ab02d6d37197942265 /auth-options.h
parent115063a6647007286cc8ca70abfd2a7585f26ccc (diff)
downloadopenssh-git-93c06ab6b77514e0447fe4f1d822afcbb2a9be08.tar.gz
upstream: permitlisten option for authorized_keys; ok markus@
OpenBSD-Commit-ID: 8650883018d7aa893173d703379e4456a222c672
Diffstat (limited to 'auth-options.h')
-rw-r--r--auth-options.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/auth-options.h b/auth-options.h
index bf59b30b..0462983b 100644
--- a/auth-options.h
+++ b/auth-options.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-options.h,v 1.26 2018/03/12 00:52:01 djm Exp $ */
+/* $OpenBSD: auth-options.h,v 1.27 2018/06/06 18:23:32 djm Exp $ */
/*
* Copyright (c) 2018 Damien Miller <djm@mindrot.org>
@@ -55,6 +55,10 @@ struct sshauthopt {
size_t npermitopen;
char **permitopen;
+ /* Permitted listens (remote forwarding) */
+ size_t npermitlisten;
+ char **permitlisten;
+
/*
* Permitted host/addresses (comma-separated)
* Caller must check source address matches both lists (if present).