From 30d0ca333e9a82a50504bacfd9914645a9843296 Mon Sep 17 00:00:00 2001 From: Duncan Wright Date: Thu, 5 Sep 2024 12:23:51 +0100 Subject: [PATCH] ncm-ssh: extend AllowTcpForwarding to support valid values AllowTcpForwarding in ncm-ssh uses legacy_binary_affirmation_string, but other options such as "remote" and "local" are valid, so change schema to support valid values Address #1690 --- ncm-ssh/src/main/pan/components/ssh/schema.pan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncm-ssh/src/main/pan/components/ssh/schema.pan b/ncm-ssh/src/main/pan/components/ssh/schema.pan index 06b4ad4b37..04f1b3e86b 100644 --- a/ncm-ssh/src/main/pan/components/ssh/schema.pan +++ b/ncm-ssh/src/main/pan/components/ssh/schema.pan @@ -97,7 +97,7 @@ type ssh_daemon_options_type = { "AcceptEnv" ? string[] "AllowAgentForwarding" ? legacy_binary_affirmation_string "AllowGroups" ? string - "AllowTcpForwarding" ? legacy_binary_affirmation_string + "AllowTcpForwarding" ? choice('yes', 'no', 'all', 'local', 'remote') "AllowUsers" ? string "AuthorizedKeysFile" ? string "Banner" ? string