Disable sctp

This commit is contained in:
Bob Mottram 2016-11-30 17:18:22 +00:00
parent c9f6fbd54f
commit 21a3edf51a
1 changed files with 7 additions and 0 deletions

View File

@ -432,6 +432,10 @@ function disable_dccp {
echo "install dccp /bin/true" > /etc/modprobe.d/dccp.conf
}
function disable_sctp {
echo "install sctp /bin/true" > /etc/modprobe.d/sctp.conf
}
function lockdown_permissions {
# All commands owned by root
if [ -d /bin ]; then
@ -552,6 +556,9 @@ function setup_utils {
function_check disable_dccp
disable_dccp
function_check disable_sctp
disable_sctp
function_check disable_ctrl_alt_del
disable_ctrl_alt_del