瀏覽代碼

Disable sctp

Bob Mottram 8 年之前
父節點
當前提交
21a3edf51a
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. 7
    0
      src/freedombone-utils-setup

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

432
     echo "install dccp /bin/true" > /etc/modprobe.d/dccp.conf
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
 function lockdown_permissions {
439
 function lockdown_permissions {
436
     # All commands owned by root
440
     # All commands owned by root
437
     if [ -d /bin ]; then
441
     if [ -d /bin ]; then
552
     function_check disable_dccp
556
     function_check disable_dccp
553
     disable_dccp
557
     disable_dccp
554
 
558
 
559
+    function_check disable_sctp
560
+    disable_sctp
561
+
555
     function_check disable_ctrl_alt_del
562
     function_check disable_ctrl_alt_del
556
     disable_ctrl_alt_del
563
     disable_ctrl_alt_del
557
 
564