|
|
475544 |
From 279b1d8b585d3521d4910ec8aa69583f9b7031ac Mon Sep 17 00:00:00 2001
|
|
|
475544 |
From: Vojtech Polasek <vpolasek@redhat.com>
|
|
|
475544 |
Date: Mon, 25 May 2020 10:51:24 +0200
|
|
|
475544 |
Subject: [PATCH 1/3] change rekey limit to 1G 1h in rhel8 ospp
|
|
|
475544 |
|
|
|
475544 |
---
|
|
|
475544 |
.../guide/services/ssh/ssh_server/var_rekey_limit_size.var | 1 +
|
|
|
475544 |
rhel8/profiles/ospp.profile | 2 +-
|
|
|
475544 |
rhel8/profiles/stig.profile | 3 +++
|
|
|
475544 |
3 files changed, 5 insertions(+), 1 deletion(-)
|
|
|
475544 |
|
|
|
475544 |
diff --git a/linux_os/guide/services/ssh/ssh_server/var_rekey_limit_size.var b/linux_os/guide/services/ssh/ssh_server/var_rekey_limit_size.var
|
|
|
475544 |
index 16dc376508..395a087a68 100644
|
|
|
475544 |
--- a/linux_os/guide/services/ssh/ssh_server/var_rekey_limit_size.var
|
|
|
475544 |
+++ b/linux_os/guide/services/ssh/ssh_server/var_rekey_limit_size.var
|
|
|
475544 |
@@ -12,3 +12,4 @@ options:
|
|
|
475544 |
sshd_default: "default"
|
|
|
475544 |
default: "512M"
|
|
|
475544 |
"512M": "512M"
|
|
|
475544 |
+ "1G": "1G"
|
|
|
475544 |
diff --git a/rhel8/profiles/ospp.profile b/rhel8/profiles/ospp.profile
|
|
|
475544 |
index a5223a187f..0dca8350f9 100644
|
|
|
475544 |
--- a/rhel8/profiles/ospp.profile
|
|
|
475544 |
+++ b/rhel8/profiles/ospp.profile
|
|
|
475544 |
@@ -58,7 +58,7 @@ selections:
|
|
|
475544 |
- sshd_set_keepalive
|
|
|
475544 |
- sshd_enable_warning_banner
|
|
|
475544 |
- sshd_rekey_limit
|
|
|
475544 |
- - var_rekey_limit_size=512M
|
|
|
475544 |
+ - var_rekey_limit_size=1G
|
|
|
475544 |
- var_rekey_limit_time=1hour
|
|
|
475544 |
- sshd_use_strong_rng
|
|
|
475544 |
- openssl_use_strong_entropy
|
|
|
475544 |
diff --git a/rhel8/profiles/stig.profile b/rhel8/profiles/stig.profile
|
|
|
475544 |
index 2bb81cf9dc..a156857647 100644
|
|
|
475544 |
--- a/rhel8/profiles/stig.profile
|
|
|
475544 |
+++ b/rhel8/profiles/stig.profile
|
|
|
475544 |
@@ -44,3 +44,6 @@ selections:
|
|
|
475544 |
- package_rsyslog-gnutls_installed
|
|
|
475544 |
- rsyslog_remote_tls
|
|
|
475544 |
- rsyslog_remote_tls_cacert
|
|
|
475544 |
+ - sshd_rekey_limit
|
|
|
475544 |
+ - var_rekey_limit_size=512M
|
|
|
475544 |
+ - var_rekey_limit_time=1hour
|
|
|
475544 |
|
|
|
475544 |
From d8ce7bb5f47665e40b6ec2c47e565bb7c46164a9 Mon Sep 17 00:00:00 2001
|
|
|
475544 |
From: Vojtech Polasek <vpolasek@redhat.com>
|
|
|
475544 |
Date: Mon, 25 May 2020 10:51:54 +0200
|
|
|
475544 |
Subject: [PATCH 2/3] update stable ospp profile
|
|
|
475544 |
|
|
|
475544 |
---
|
|
|
475544 |
tests/data/profile_stability/rhel8/ospp.profile | 2 +-
|
|
|
475544 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
475544 |
|
|
|
475544 |
diff --git a/tests/data/profile_stability/rhel8/ospp.profile b/tests/data/profile_stability/rhel8/ospp.profile
|
|
|
475544 |
index bdda39a903..25f7922bf3 100644
|
|
|
475544 |
--- a/tests/data/profile_stability/rhel8/ospp.profile
|
|
|
475544 |
+++ b/tests/data/profile_stability/rhel8/ospp.profile
|
|
|
475544 |
@@ -214,7 +214,7 @@ selections:
|
|
|
475544 |
- timer_dnf-automatic_enabled
|
|
|
475544 |
- usbguard_allow_hid_and_hub
|
|
|
475544 |
- var_sshd_set_keepalive=0
|
|
|
475544 |
-- var_rekey_limit_size=512M
|
|
|
475544 |
+- var_rekey_limit_size=1G
|
|
|
475544 |
- var_rekey_limit_time=1hour
|
|
|
475544 |
- var_accounts_user_umask=027
|
|
|
475544 |
- var_password_pam_difok=4
|
|
|
475544 |
|
|
|
475544 |
From 6623ece14b6534164a3b953fd43111cae4a3eeea Mon Sep 17 00:00:00 2001
|
|
|
475544 |
From: Vojtech Polasek <vpolasek@redhat.com>
|
|
|
475544 |
Date: Thu, 28 May 2020 09:30:58 +0200
|
|
|
475544 |
Subject: [PATCH 3/3] propagate change also into stig profile
|
|
|
475544 |
|
|
|
475544 |
---
|
|
|
475544 |
rhel8/profiles/stig.profile | 3 ---
|
|
|
475544 |
tests/data/profile_stability/rhel8/stig.profile | 2 +-
|
|
|
475544 |
2 files changed, 1 insertion(+), 4 deletions(-)
|
|
|
475544 |
|
|
|
475544 |
diff --git a/rhel8/profiles/stig.profile b/rhel8/profiles/stig.profile
|
|
|
475544 |
index a156857647..2bb81cf9dc 100644
|
|
|
475544 |
--- a/rhel8/profiles/stig.profile
|
|
|
475544 |
+++ b/rhel8/profiles/stig.profile
|
|
|
475544 |
@@ -44,6 +44,3 @@ selections:
|
|
|
475544 |
- package_rsyslog-gnutls_installed
|
|
|
475544 |
- rsyslog_remote_tls
|
|
|
475544 |
- rsyslog_remote_tls_cacert
|
|
|
475544 |
- - sshd_rekey_limit
|
|
|
475544 |
- - var_rekey_limit_size=512M
|
|
|
475544 |
- - var_rekey_limit_time=1hour
|
|
|
475544 |
diff --git a/tests/data/profile_stability/rhel8/stig.profile b/tests/data/profile_stability/rhel8/stig.profile
|
|
|
475544 |
index ebef541921..6c4270925f 100644
|
|
|
475544 |
--- a/tests/data/profile_stability/rhel8/stig.profile
|
|
|
475544 |
+++ b/tests/data/profile_stability/rhel8/stig.profile
|
|
|
475544 |
@@ -242,7 +242,7 @@ selections:
|
|
|
475544 |
- timer_dnf-automatic_enabled
|
|
|
475544 |
- usbguard_allow_hid_and_hub
|
|
|
475544 |
- var_sshd_set_keepalive=0
|
|
|
475544 |
-- var_rekey_limit_size=512M
|
|
|
475544 |
+- var_rekey_limit_size=1G
|
|
|
475544 |
- var_rekey_limit_time=1hour
|
|
|
475544 |
- var_accounts_user_umask=027
|
|
|
475544 |
- var_password_pam_difok=4
|