From 379e268bf28d4eaa0caaa889eb29b2017186abd1 Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 3 Jun 2024 18:54:17 -0700 Subject: [PATCH] Whitelist ip_set Signed-off-by: Tommy --- etc/modprobe.d/server-blacklist.conf | 16 ---------------- etc/modprobe.d/vps-blacklist.conf | 16 ---------------- etc/modprobe.d/workstation-blacklist.conf | 16 ---------------- kmod-whitelist-start | 1 + 4 files changed, 1 insertion(+), 48 deletions(-) diff --git a/etc/modprobe.d/server-blacklist.conf b/etc/modprobe.d/server-blacklist.conf index e64a889..187ce81 100644 --- a/etc/modprobe.d/server-blacklist.conf +++ b/etc/modprobe.d/server-blacklist.conf @@ -1683,22 +1683,6 @@ install ipmi_watchdog /bin/false install ipoctal /bin/false install ipr /bin/false install ips /bin/false -install ip_set_bitmap_ip /bin/false -install ip_set_bitmap_ipmac /bin/false -install ip_set_bitmap_port /bin/false -install ip_set_hash_ip /bin/false -install ip_set_hash_ipmac /bin/false -install ip_set_hash_ipmark /bin/false -install ip_set_hash_ipport /bin/false -install ip_set_hash_ipportip /bin/false -install ip_set_hash_ipportnet /bin/false -install ip_set_hash_mac /bin/false -install ip_set_hash_net /bin/false -install ip_set_hash_netiface /bin/false -install ip_set_hash_netnet /bin/false -install ip_set_hash_netport /bin/false -install ip_set_hash_netportnet /bin/false -install ip_set_list_set /bin/false install ip_tunnel /bin/false install ipu3-cio2 /bin/false install ipu3-imgu /bin/false diff --git a/etc/modprobe.d/vps-blacklist.conf b/etc/modprobe.d/vps-blacklist.conf index 92567a6..0561c11 100644 --- a/etc/modprobe.d/vps-blacklist.conf +++ b/etc/modprobe.d/vps-blacklist.conf @@ -1720,22 +1720,6 @@ install ipmi_watchdog /bin/false install ipr /bin/false install iproc-rng200 /bin/false install ips /bin/false -install ip_set_bitmap_ip /bin/false -install ip_set_bitmap_ipmac /bin/false -install ip_set_bitmap_port /bin/false -install ip_set_hash_ip /bin/false -install ip_set_hash_ipmac /bin/false -install ip_set_hash_ipmark /bin/false -install ip_set_hash_ipport /bin/false -install ip_set_hash_ipportip /bin/false -install ip_set_hash_ipportnet /bin/false -install ip_set_hash_mac /bin/false -install ip_set_hash_net /bin/false -install ip_set_hash_netiface /bin/false -install ip_set_hash_netnet /bin/false -install ip_set_hash_netport /bin/false -install ip_set_hash_netportnet /bin/false -install ip_set_list_set /bin/false install ip_tunnel /bin/false install ipu3-cio2 /bin/false install ipu3-imgu /bin/false diff --git a/etc/modprobe.d/workstation-blacklist.conf b/etc/modprobe.d/workstation-blacklist.conf index 556ed0f..dd375b9 100644 --- a/etc/modprobe.d/workstation-blacklist.conf +++ b/etc/modprobe.d/workstation-blacklist.conf @@ -2592,22 +2592,6 @@ install ipr /bin/false install iproc_nand /bin/false install iproc-rng200 /bin/false install ips /bin/false -install ip_set_bitmap_ip /bin/false -install ip_set_bitmap_ipmac /bin/false -install ip_set_bitmap_port /bin/false -install ip_set_hash_ip /bin/false -install ip_set_hash_ipmac /bin/false -install ip_set_hash_ipmark /bin/false -install ip_set_hash_ipport /bin/false -install ip_set_hash_ipportip /bin/false -install ip_set_hash_ipportnet /bin/false -install ip_set_hash_mac /bin/false -install ip_set_hash_net /bin/false -install ip_set_hash_netiface /bin/false -install ip_set_hash_netnet /bin/false -install ip_set_hash_netport /bin/false -install ip_set_hash_netportnet /bin/false -install ip_set_list_set /bin/false install ip_tunnel /bin/false install ipu3-cio2 /bin/false install ipu3-imgu /bin/false diff --git a/kmod-whitelist-start b/kmod-whitelist-start index dc5309d..1a05355 100644 --- a/kmod-whitelist-start +++ b/kmod-whitelist-start @@ -10,6 +10,7 @@ exfat fat f2fs hid- +ip_set iptable_ ipt_ ip6table_