Browse Source

Disable sctp

Bob Mottram 8 years ago
parent
commit
21a3edf51a
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      src/freedombone-utils-setup

+ 7
- 0
src/freedombone-utils-setup View File

@@ -432,6 +432,10 @@ function disable_dccp {
432 432
     echo "install dccp /bin/true" > /etc/modprobe.d/dccp.conf
433 433
 }
434 434
 
435
+function disable_sctp {
436
+    echo "install sctp /bin/true" > /etc/modprobe.d/sctp.conf
437
+}
438
+
435 439
 function lockdown_permissions {
436 440
     # All commands owned by root
437 441
     if [ -d /bin ]; then
@@ -552,6 +556,9 @@ function setup_utils {
552 556
     function_check disable_dccp
553 557
     disable_dccp
554 558
 
559
+    function_check disable_sctp
560
+    disable_sctp
561
+
555 562
     function_check disable_ctrl_alt_del
556 563
     disable_ctrl_alt_del
557 564