From e30a7a6cebce788bca90a22693ef514fd76f153b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 11 May 2018 17:19:29 +0200 Subject: T631: Rewrite SSH configuration as XML interface definition --- interface-definitions/ssh.xml | 183 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 interface-definitions/ssh.xml (limited to 'interface-definitions/ssh.xml') diff --git a/interface-definitions/ssh.xml b/interface-definitions/ssh.xml new file mode 100644 index 000000000..9965dd69e --- /dev/null +++ b/interface-definitions/ssh.xml @@ -0,0 +1,183 @@ + + + + + + + + + + Secure SHell (SSH) protocol + 500 + + + + + SSH user/group access controls + + + + + Configure sshd_config access control for allowed groups + + + + + Configure sshd_config access control for allowed users + + + + + Configure sshd_config access control for disallowed groups + + + + + Configure sshd_config access control for disallowed users + + + + + + + Enable root login over ssh + + + + + Allowed ciphers + + chacha20-poly1305@openssh.com + ChaCha20 Poly1305 + + + 3des-cbc + 3DES CBC (weak) + + + aes128-cbc + AES 128 CBC + + + aes192-cbc + AES 192 CBC + + + aes256-cbc + AES 256 CBC + + + aes128-ctr + AES 128 CTR + + + aes192-ctr + AES 192 CTR + + + aes256-ctr + AES 256 CTR + + + arcfour128 + AC4 128 (broken) + + + arcfour256 + AC4 256 (broken) + + + arcfour + AC4 (broken) + + + blowfish-cbc + Blowfish CBC + + + cast128-cbc + CAST 128 CBC + + + + + + Don't validate the remote host name with DNS + + + + + Don't allow unknown user to login with password + + + + + Key exchange algorithms + + + + + + + + Local addresses SSH service should listen on + + ipv4 + IP address to listen for incoming connections + + + ipv6 + IPv6 address to listen for incoming connections + + ipv4,ipv6 + + + + + + Log level + + QUIET + stay silent + + + FATAL + log fatals only + + + ERROR + log errors and fatals only + + + INFO + default log level + + + VERBOSE + enable logging of failed login attempts + + + + + + Allowed message authentication algorithms + + + + + + + + Port for SSH service + + u32:1-65535 + Numeric IP port + + u32 + + + + + + + -- cgit v1.2.3 From 0a8021c21eb918cc2c31d7d922b6428017b341c0 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 12 May 2018 11:58:55 +0200 Subject: T631: use completionHelp for SSH rather then valueHelp SSH is already probed for some possible values. ALso use completionHelp for available ciphers. In addition drop 'perl' from helper script in favor of 'tr'. --- interface-definitions/ssh.xml | 59 ++++--------------------------------------- 1 file changed, 5 insertions(+), 54 deletions(-) (limited to 'interface-definitions/ssh.xml') diff --git a/interface-definitions/ssh.xml b/interface-definitions/ssh.xml index 9965dd69e..5b9368360 100644 --- a/interface-definitions/ssh.xml +++ b/interface-definitions/ssh.xml @@ -46,58 +46,9 @@ Allowed ciphers - - chacha20-poly1305@openssh.com - ChaCha20 Poly1305 - - - 3des-cbc - 3DES CBC (weak) - - - aes128-cbc - AES 128 CBC - - - aes192-cbc - AES 192 CBC - - - aes256-cbc - AES 256 CBC - - - aes128-ctr - AES 128 CTR - - - aes192-ctr - AES 192 CTR - - - aes256-ctr - AES 256 CTR - - - arcfour128 - AC4 128 (broken) - - - arcfour256 - AC4 256 (broken) - - - arcfour - AC4 (broken) - - - blowfish-cbc - Blowfish CBC - - - cast128-cbc - CAST 128 CBC - + + + @@ -114,7 +65,7 @@ Key exchange algorithms - + @@ -162,7 +113,7 @@ Allowed message authentication algorithms - + -- cgit v1.2.3 From a20634014490f2b3053f0b7176f98f39a4f72e9e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 13 May 2018 13:41:12 +0200 Subject: T631: improve help for access-control --- interface-definitions/ssh.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interface-definitions/ssh.xml') diff --git a/interface-definitions/ssh.xml b/interface-definitions/ssh.xml index 5b9368360..5ccd3006f 100644 --- a/interface-definitions/ssh.xml +++ b/interface-definitions/ssh.xml @@ -13,7 +13,7 @@ - SSH user/group access controls + SSH user/group access controls. Directives are processed in this: deny-users, allow-users, deny-groups and allow-groups -- cgit v1.2.3