Firewall-cmd: is there a command to get a list of modules?

When I look at helpers, each has a module associated with it:
nf_conntrack_snmp
nf_conntrack_sip
etc.

I could not find a command to get a list of modules or to get each module’s information. Is there such a command? Or how else can I obtain them?

Have you tried lsmod?
That will give you a list of all the loaded modules for the current boot.
Piping that output through grep will allow you to select the ones of interest.

I have not because I was not aware about any connection between helper modules and kernel modules. Can each and every kernel module be used for helpers, or only a subset of them?

1 Like