Selaa lähdekoodia

Modules aren't installed anyway

Bob Mottram 8 vuotta sitten
vanhempi
commit
28e8155750
2 muutettua tiedostoa jossa 0 lisäystä ja 64 poistoa
  1. 0
    36
      src/freedombone-tests
  2. 0
    28
      src/freedombone-utils-setup

+ 0
- 36
src/freedombone-tests Näytä tiedosto

@@ -574,42 +574,6 @@ function test_stig {
574 574
     output "V-38513" $? ${SETLANG}
575 575
     ################
576 576
 
577
-    ##RHEL-06-000124
578
-    ##The systems local IPv4 firewall must implement a deny-all, allow-by-exception policy for inbound
579
-
580
-    grep -r dccp /etc/modprobe.conf /etc/modprobe.d >/dev/null 2>&1 &
581
-
582
-    stig_spinner $!
583
-    output "V-38514" $? ${SETLANG}
584
-    ################
585
-
586
-    ##RHEL-06-000125
587
-    ##The Stream Control Transmission Protocol (SCTP) must be disabled unless required.
588
-
589
-    grep -r sctp /etc/modprobe.conf /etc/modprobe.d >/dev/null 2>&1 &
590
-
591
-    stig_spinner $!
592
-    output "V-38515" $? ${SETLANG}
593
-    ################
594
-
595
-    ##RHEL-06-000126
596
-    ##The Reliable Datagram Sockets (RDS) protocol must be disabled unless required.
597
-
598
-    grep -r rds /etc/modprobe.conf /etc/modprobe.d >/dev/null 2>&1 &
599
-
600
-    stig_spinner $!
601
-    output "V-38516" $? ${SETLANG}
602
-    ################
603
-
604
-    ##RHEL-06-000127
605
-    ##The Transparent Inter-Process Communication (TIPC) protocol must be disabled unless required.
606
-
607
-    grep -r tipc /etc/modprobe.conf /etc/modprobe.d >/dev/null 2>&1 &
608
-
609
-    stig_spinner $!
610
-    output "V-38517" $? ${SETLANG}
611
-    ################
612
-
613 577
     ##RHEL-06-000138
614 578
     ##System logs must be rotated daily.
615 579
 

+ 0
- 28
src/freedombone-utils-setup Näytä tiedosto

@@ -428,22 +428,6 @@ function disable_ctrl_alt_del {
428 428
     ln -sf /dev/null /etc/systemd/system/ctrl-alt-del.target
429 429
 }
430 430
 
431
-function disable_dccp {
432
-    echo "install dccp /bin/true" > /etc/modprobe.d/dccp.conf
433
-}
434
-
435
-function disable_sctp {
436
-    echo "install sctp /bin/true" > /etc/modprobe.d/sctp.conf
437
-}
438
-
439
-function disable_rds {
440
-    echo "install rds /bin/true" > /etc/modprobe.d/rds.conf
441
-}
442
-
443
-function disable_tipc {
444
-    echo "install tipc /bin/true" > /etc/modprobe.d/tipc.conf
445
-}
446
-
447 431
 function lockdown_permissions {
448 432
     # All commands owned by root
449 433
     if [ -d /bin ]; then
@@ -568,18 +552,6 @@ function setup_utils {
568 552
     function_check disable_null_passwords
569 553
     disable_null_passwords
570 554
 
571
-    function_check disable_tipc
572
-    disable_tipc
573
-
574
-    function_check disable_rds
575
-    disable_rds
576
-
577
-    function_check disable_dccp
578
-    disable_dccp
579
-
580
-    function_check disable_sctp
581
-    disable_sctp
582
-
583 555
     function_check disable_ctrl_alt_del
584 556
     disable_ctrl_alt_del
585 557