Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bin/hardening/disable_cramfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ DESCRIPTION="Disable mounting of cramfs filesystems."

KERNEL_OPTION="CONFIG_CRAMFS"
MODULE_NAME="cramfs"
# name as returned by "modinfo -F name <module_name>"
LOADED_MODULE_NAME="cramfs"

# This function will be called if the script status is on enabled / audit mode
audit() {
Expand Down
2 changes: 2 additions & 0 deletions bin/hardening/disable_dccp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ DESCRIPTION="Disable Datagram Congestion Control Protocol (DCCP)."

KERNEL_OPTION="CONFIG_NF_CT_PROTO_DCCP"
MODULE_NAME="dccp"
# name as returned by "modinfo -F name <module_name>"
LOADED_MODULE_NAME="dccp"

# This function will be called if the script status is on enabled / audit mode
audit() {
Expand Down
2 changes: 2 additions & 0 deletions bin/hardening/disable_freevxfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ DESCRIPTION="Disable mounting of freevxfs filesystems."

KERNEL_OPTION="CONFIG_VXFS_FS"
MODULE_NAME="freevxfs"
# name as returned by "modinfo -F name <module_name>"
LOADED_MODULE_NAME="freevxfs"

# This function will be called if the script status is on enabled / audit mode
audit() {
Expand Down
2 changes: 2 additions & 0 deletions bin/hardening/disable_hfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ DESCRIPTION="Disable mounting of hfs filesystems."

KERNEL_OPTION="CONFIG_HFS_FS"
MODULE_NAME="hfs"
# name as returned by "modinfo -F name <module_name>"
LOADED_MODULE_NAME="hfs"

# This function will be called if the script status is on enabled / audit mode
audit() {
Expand Down
2 changes: 2 additions & 0 deletions bin/hardening/disable_hfsplus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ DESCRIPTION="Disable mounting of hfsplus filesystems."

KERNEL_OPTION="CONFIG_HFSPLUS_FS"
MODULE_NAME="hfsplus"
# name as returned by "modinfo -F name <module_name>"
LOADED_MODULE_NAME="hfsplus"

# This function will be called if the script status is on enabled / audit mode
audit() {
Expand Down
2 changes: 2 additions & 0 deletions bin/hardening/disable_jffs2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ DESCRIPTION="Disable mounting of jffs2 filesystems."

KERNEL_OPTION="CONFIG_JFFS2_FS"
MODULE_NAME="jffs2"
# name as returned by "modinfo -F name <module_name>"
LOADED_MODULE_NAME="jffs2"

# This function will be called if the script status is on enabled / audit mode
audit() {
Expand Down
2 changes: 2 additions & 0 deletions bin/hardening/disable_rds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ DESCRIPTION="Disable Reliable Datagram Sockets (RDS)."

KERNEL_OPTION="CONFIG_RDS"
MODULE_NAME="rds"
# name as returned by "modinfo -F name <module_name>"
LOADED_MODULE_NAME="rds"

# This function will be called if the script status is on enabled / audit mode
audit() {
Expand Down
2 changes: 2 additions & 0 deletions bin/hardening/disable_sctp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ DESCRIPTION="Disable Stream Control Transmission Protocol (SCTP)."

KERNEL_OPTION="CONFIG_NF_CT_PROTO_SCTP"
MODULE_NAME="sctp"
# name as returned by "modinfo -F name <module_name>"
LOADED_MODULE_NAME="sctp"

# This function will be called if the script status is on enabled / audit mode
audit() {
Expand Down
2 changes: 2 additions & 0 deletions bin/hardening/disable_squashfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ DESCRIPTION="Disable mounting of squashfs filesytems."

KERNEL_OPTION="CONFIG_SQUASHFS"
MODULE_NAME="squashfs"
# name as returned by "modinfo -F name <module_name>"
LOADED_MODULE_NAME="squashfs"

# This function will be called if the script status is on enabled / audit mode
audit() {
Expand Down
2 changes: 2 additions & 0 deletions bin/hardening/disable_tipc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ DESCRIPTION="Disable Transperent Inter-Process Communication (TIPC)."

KERNEL_OPTION="CONFIG_TIPC"
MODULE_NAME="tipc"
# name as returned by "modinfo -F name <module_name>"
LOADED_MODULE_NAME="tipc"

# This function will be called if the script status is on enabled / audit mode
audit() {
Expand Down
2 changes: 2 additions & 0 deletions bin/hardening/disable_udf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ DESCRIPTION="Disable mounting of udf filesystems."

KERNEL_OPTION="CONFIG_UDF_FS"
MODULE_NAME="udf"
# name as returned by "modinfo -F name <module_name>"
LOADED_MODULE_NAME="udf"

# This function will be called if the script status is on enabled / audit mode
audit() {
Expand Down