Blame SOURCES/scap-security-guide-0.1.61-remove_client_alive_max-PR_8197.patch

38a2c0
diff --git a/products/rhel8/profiles/stig.profile b/products/rhel8/profiles/stig.profile
38a2c0
index d92bc72971c..98cabee38dd 100644
38a2c0
--- a/products/rhel8/profiles/stig.profile
38a2c0
+++ b/products/rhel8/profiles/stig.profile
38a2c0
@@ -51,7 +51,7 @@ selections:
38a2c0
     - var_password_pam_lcredit=1
38a2c0
     - var_password_pam_retry=3
38a2c0
     - var_password_pam_minlen=15
38a2c0
-    - var_sshd_set_keepalive=0
38a2c0
+    # - var_sshd_set_keepalive=0
38a2c0
     - sshd_approved_macs=stig
38a2c0
     - sshd_approved_ciphers=stig
38a2c0
     - sshd_idle_timeout_value=10_minutes
38a2c0
@@ -170,11 +170,13 @@ selections:
38a2c0
     # RHEL-08-010190
38a2c0
     - dir_perms_world_writable_sticky_bits
38a2c0
 
38a2c0
-    # RHEL-08-010200
38a2c0
-    - sshd_set_keepalive_0
38a2c0
-
38a2c0
-    # RHEL-08-010201
38a2c0
-    - sshd_set_idle_timeout
38a2c0
+    # These two items don't behave as they used to in RHEL8.6 and RHEL9
38a2c0
+    # anymore. They will be disabled for now until an alternative
38a2c0
+    # solution is found.
38a2c0
+    # # RHEL-08-010200
38a2c0
+    # - sshd_set_keepalive_0
38a2c0
+    # # RHEL-08-010201
38a2c0
+    # - sshd_set_idle_timeout
38a2c0
 
38a2c0
     # RHEL-08-010210
38a2c0
     - file_permissions_var_log_messages
38a2c0
diff --git a/products/rhel9/profiles/stig.profile b/products/rhel9/profiles/stig.profile
38a2c0
index 42c6d0e9aca..842f17c7021 100644
38a2c0
--- a/products/rhel9/profiles/stig.profile
38a2c0
+++ b/products/rhel9/profiles/stig.profile
38a2c0
@@ -52,7 +52,7 @@ selections:
38a2c0
     - var_password_pam_lcredit=1
38a2c0
     - var_password_pam_retry=3
38a2c0
     - var_password_pam_minlen=15
38a2c0
-    - var_sshd_set_keepalive=0
38a2c0
+    # - var_sshd_set_keepalive=0
38a2c0
     - sshd_approved_macs=stig
38a2c0
     - sshd_approved_ciphers=stig
38a2c0
     - sshd_idle_timeout_value=10_minutes
38a2c0
@@ -171,11 +171,13 @@ selections:
38a2c0
     # RHEL-08-010190
38a2c0
     - dir_perms_world_writable_sticky_bits
38a2c0
 
38a2c0
-    # RHEL-08-010200
38a2c0
-    - sshd_set_keepalive_0
38a2c0
-
38a2c0
-    # RHEL-08-010201
38a2c0
-    - sshd_set_idle_timeout
38a2c0
+    # These two items don't behave as they used to in RHEL8.6 and RHEL9
38a2c0
+    # anymore. They will be disabled for now until an alternative
38a2c0
+    # solution is found.
38a2c0
+    # # RHEL-08-010200
38a2c0
+    # - sshd_set_keepalive_0
38a2c0
+    # # RHEL-08-010201
38a2c0
+    # - sshd_set_idle_timeout
38a2c0
 
38a2c0
     # RHEL-08-010210
38a2c0
     - file_permissions_var_log_messages
38a2c0
diff --git a/tests/data/profile_stability/rhel8/stig.profile b/tests/data/profile_stability/rhel8/stig.profile
38a2c0
index e4fee44f9f9..e3c8ebfc9a5 100644
38a2c0
--- a/tests/data/profile_stability/rhel8/stig.profile
38a2c0
+++ b/tests/data/profile_stability/rhel8/stig.profile
38a2c0
@@ -353,8 +353,6 @@ selections:
38a2c0
 - sshd_enable_warning_banner
38a2c0
 - sshd_print_last_log
38a2c0
 - sshd_rekey_limit
38a2c0
-- sshd_set_idle_timeout
38a2c0
-- sshd_set_keepalive_0
38a2c0
 - sshd_use_strong_rng
38a2c0
 - sshd_x11_use_localhost
38a2c0
 - sssd_certificate_verification
38a2c0
@@ -423,7 +421,6 @@ selections:
38a2c0
 - var_password_pam_ucredit=1
38a2c0
 - var_password_pam_lcredit=1
38a2c0
 - var_password_pam_retry=3
38a2c0
-- var_sshd_set_keepalive=0
38a2c0
 - sshd_approved_macs=stig
38a2c0
 - sshd_approved_ciphers=stig
38a2c0
 - sshd_idle_timeout_value=10_minutes
38a2c0
diff --git a/tests/data/profile_stability/rhel8/stig_gui.profile b/tests/data/profile_stability/rhel8/stig_gui.profile
38a2c0
index 83d04775e3a..8ef48e0654b 100644
38a2c0
--- a/tests/data/profile_stability/rhel8/stig_gui.profile
38a2c0
+++ b/tests/data/profile_stability/rhel8/stig_gui.profile
38a2c0
@@ -364,8 +364,6 @@ selections:
38a2c0
 - sshd_enable_warning_banner
38a2c0
 - sshd_print_last_log
38a2c0
 - sshd_rekey_limit
38a2c0
-- sshd_set_idle_timeout
38a2c0
-- sshd_set_keepalive_0
38a2c0
 - sshd_use_strong_rng
38a2c0
 - sshd_x11_use_localhost
38a2c0
 - sssd_certificate_verification
38a2c0
@@ -432,7 +430,6 @@ selections:
38a2c0
 - var_password_pam_ucredit=1
38a2c0
 - var_password_pam_lcredit=1
38a2c0
 - var_password_pam_retry=3
38a2c0
-- var_sshd_set_keepalive=0
38a2c0
 - sshd_approved_macs=stig
38a2c0
 - sshd_approved_ciphers=stig
38a2c0
 - sshd_idle_timeout_value=10_minutes