瀏覽代碼

Disable sctp

Bob Mottram 8 年之前
父節點
當前提交
21a3edf51a
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      src/freedombone-utils-setup

+ 7
- 0
src/freedombone-utils-setup 查看文件

@@ -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