Which of these modules are unnecessary?

Issues related to hardware problems
Post Reply
hack3rcon
Posts: 693
Joined: 2014/11/24 11:04:37

Which of these modules are unnecessary?

Post by hack3rcon » 2020/09/13 12:55:16

Hello,
On a web server that hosting websites, which of these modules could be disable?

Code: Select all

$ sudo lsmod
Module                  Size  Used by
nfnetlink_queue        24576  1
xt_NFQUEUE             16384  2
tcp_diag               16384  0
udp_diag               16384  0
inet_diag              24576  2 tcp_diag,udp_diag
nft_counter            16384  2
ipt_REJECT             16384  0
xt_set                 16384  0
xt_multiport           16384  0
ip_set_hash_ip         36864  1
binfmt_misc            20480  1
nft_fib_inet           16384  1
nft_fib_ipv4           16384  1 nft_fib_inet
nft_fib_ipv6           16384  1 nft_fib_inet
nft_fib                16384  3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_reject_inet        16384  4
nf_reject_ipv4         16384  2 nft_reject_inet,ipt_REJECT
nf_reject_ipv6         16384  1 nft_reject_inet
nft_reject             16384  1 nft_reject_inet
nf_log_ipv6            16384  7
nf_log_ipv4            16384  7
nf_log_common          16384  2 nf_log_ipv4,nf_log_ipv6
nft_log                16384  7
nft_ct                 20480  13
nf_tables_set          49152  16
nft_chain_nat_ipv6     16384  6
nf_conntrack_ipv6      20480  14
nf_defrag_ipv6         20480  1 nf_conntrack_ipv6
nf_nat_ipv6            16384  1 nft_chain_nat_ipv6
nft_chain_route_ipv6    16384  1
nft_chain_nat_ipv4     16384  6
nf_conntrack_ipv4      16384  399771
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 nft_chain_nat_ipv4
nf_nat                 36864  2 nf_nat_ipv6,nf_nat_ipv4
nf_conntrack          155648  6 nf_conntrack_ipv6,nf_conntrack_ipv4,nf_nat,nft_ct,nf_nat_ipv6,nf_nat_ipv4
nft_chain_route_ipv4    16384  1
ip6_tables             32768  0
nft_compat             20480  2
ip_set                 49152  2 ip_set_hash_ip,xt_set
nf_tables             151552  195 nft_chain_route_ipv4,nft_ct,nft_compat,nft_log,nft_chain_nat_ipv6,nft_chain_nat_ipv4,nft_reject_inet,nft_fib_ipv6,nft_fib_ipv4,nft_counter,nf_tables_set,nft_chain_route_ipv6,nft_reject,nft_fib,nft_fib_inet
nfnetlink              16384  6 nfnetlink_queue,nft_compat,nf_tables,ip_set
vmw_vsock_vmci_transport    32768  1
vsock                  40960  2 vmw_vsock_vmci_transport
vfat                   20480  1
fat                    81920  1 vfat
ext4                  749568  1
mbcache                16384  1 ext4
jbd2                  122880  1 ext4
intel_rapl_msr         16384  0
intel_rapl_common      24576  1 intel_rapl_msr
sb_edac                24576  0
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
vmw_balloon            24576  0
joydev                 24576  0
intel_rapl_perf        20480  0
pcspkr                 16384  0
vmw_vmci               81920  2 vmw_balloon,vmw_vsock_vmci_transport
i2c_piix4              24576  0
fuse                  131072  1
ip_tables              28672  0
xfs                  1519616  2
libcrc32c              16384  3 nf_conntrack,nf_nat,xfs
sr_mod                 28672  0
cdrom                  65536  1 sr_mod
ata_generic            16384  0
vmwgfx                352256  1
sd_mod                 53248  4
sg                     40960  0
drm_kms_helper        212992  1 vmwgfx
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
ttm                   114688  1 vmwgfx
crc32c_intel           24576  3
ahci                   40960  0
serio_raw              16384  0
libahci                40960  1 ahci
ata_piix               36864  0
drm                   536576  4 vmwgfx,drm_kms_helper,ttm
vmxnet3                61440  0
libata                270336  4 ata_piix,libahci,ahci,ata_generic
vmw_pvscsi             28672  3
dm_mirror              28672  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
dm_mod                151552  11 dm_log,dm_mirror
Thank you.

BShT
Posts: 327
Joined: 2019/10/09 12:31:40

Re: Which of these modules are unnecessary?

Post by BShT » 2020/09/14 02:24:38

keep your centos up to date, take care of your application and vendor

hack3rcon
Posts: 693
Joined: 2014/11/24 11:04:37

Re: Which of these modules are unnecessary?

Post by hack3rcon » 2020/09/14 07:47:46

BShT wrote:
2020/09/14 02:24:38
keep your centos up to date, take care of your application and vendor
It is, but I want to know which one these modules are useless?

BShT
Posts: 327
Joined: 2019/10/09 12:31:40

Re: Which of these modules are unnecessary?

Post by BShT » 2020/09/14 11:10:45

nothing is useless, you always want deterministic answers

this modules exists because they are needed depends on N factors


find out what everyone do and see if they are useless for you or not

hack3rcon
Posts: 693
Joined: 2014/11/24 11:04:37

Re: Which of these modules are unnecessary?

Post by hack3rcon » 2020/09/15 18:02:44

BShT wrote:
2020/09/14 11:10:45
nothing is useless, you always want deterministic answers

this modules exists because they are needed depends on N factors


find out what everyone do and see if they are useless for you or not
Thank you. I asked it because of hardening.

Post Reply

Return to “CentOS 8 - Hardware Support”