This repository has been archived by the owner on Dec 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from dev-sec/remove_weak
update config of kex, macs, ciphers
- Loading branch information
Showing
4 changed files
with
16 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,18 +14,6 @@ ssh_compression: false # sshd | |
ssh_client_hardening: true # ssh | ||
ssh_server_hardening: true # sshd | ||
|
||
# true if CBC for ciphers is required. This is usually only necessary, if older M2M mechanism need to communicate with SSH, that don't have any of the configured secure ciphers enabled. CBC is a weak alternative. Anything weaker should be avoided and is thus not available. | ||
ssh_client_cbc_required: false # ssh | ||
ssh_server_cbc_required: false # sshd | ||
|
||
# true if weaker HMAC mechanisms are required. This is usually only necessary, if older M2M mechanism need to communicate with SSH, that don't have any of the configured secure HMACs enabled. | ||
ssh_client_weak_hmac: false # ssh | ||
ssh_server_weak_hmac: false # sshd | ||
|
||
# true if weaker Key-Exchange (KEX) mechanisms are required. This is usually only necessary, if older M2M mechanism need to communicate with SSH, that don't have any of the configured secure KEXs enabled. | ||
ssh_client_weak_kex: false # ssh | ||
ssh_server_weak_kex: false # sshd | ||
|
||
# If true, password login is allowed | ||
ssh_client_password_login: false # ssh | ||
ssh_server_password_login: false # sshd | ||
|
@@ -184,8 +172,6 @@ ssh_macs_59_default: | |
- hmac-sha2-256 | ||
- hmac-ripemd160 | ||
|
||
ssh_macs_59_weak: "{{ ssh_macs_59_default + ['hmac-sha1'] }}" | ||
|
||
ssh_macs_66_default: | ||
- [email protected] | ||
- [email protected] | ||
|
@@ -200,15 +186,11 @@ ssh_macs_76_default: | |
- hmac-sha2-512 | ||
- hmac-sha2-256 | ||
|
||
ssh_macs_66_weak: "{{ ssh_macs_66_default + ['hmac-sha1'] }}" | ||
|
||
ssh_ciphers_53_default: | ||
- aes256-ctr | ||
- aes192-ctr | ||
- aes128-ctr | ||
|
||
ssh_ciphers_53_weak: "{{ ssh_ciphers_53_default + ['aes256-cbc', 'aes192-cbc', 'aes128-cbc'] }}" | ||
|
||
ssh_ciphers_66_default: | ||
- [email protected] | ||
- [email protected] | ||
|
@@ -217,19 +199,13 @@ ssh_ciphers_66_default: | |
- aes192-ctr | ||
- aes128-ctr | ||
|
||
ssh_ciphers_66_weak: "{{ ssh_ciphers_66_default + ['aes256-cbc', 'aes192-cbc', 'aes128-cbc'] }}" | ||
|
||
ssh_kex_59_default: | ||
- diffie-hellman-group-exchange-sha256 | ||
|
||
ssh_kex_59_weak: "{{ ssh_kex_59_default + ['diffie-hellman-group14-sha1', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group1-sha1'] }}" | ||
|
||
ssh_kex_66_default: | ||
- [email protected] | ||
- diffie-hellman-group-exchange-sha256 | ||
|
||
ssh_kex_66_weak: "{{ ssh_kex_66_default + ['diffie-hellman-group14-sha1', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group1-sha1'] }}" | ||
|
||
# directory where to store ssh_password policy | ||
ssh_custom_selinux_dir: '/etc/selinux/local-policies' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters