From: Andrea Rossato <mailing_list@istitutocolli.org>
To: netfilter-devel@lists.netfilter.org
Subject: Re: detecting if compiled or loaded modules
Date: Sun, 15 Dec 2002 09:59:39 +0100 [thread overview]
Message-ID: <3DFC447B.4090200@istitutocolli.org> (raw)
In-Reply-To: <20021215133954.70ad328c.24@k0n.org>
there are probably better and more efficient ways, but:
/proc/modules gives you the list of loaded modules
you can check if a module was built into the kernel by checking its
functions in /boot/System.map
for istance:
cat /boot/System.map | grep hisax to check if hisax support was built
into the kernel (that will give you the list of related functions).
in /lib/modules/kernelversion/modules.dep you'll find a list of compiled
modules with their dependencies.
hope that this can be useful
andrea
24 wrote:
> Greets,
>
> Is there a way to determine if one of the Netfilter Configs is loaded as module or built-in in the
> kernel? For example FTP protocol support. Once the system boots or the module is loaded shouldnt it
> create a file somewhere in /proc once the module is up or once the system boots. I'm trying to create
> a customized firewall program if it didnt detect the FTP protocol support it will load the module
> or what. Need help...
>
next prev parent reply other threads:[~2002-12-15 8:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20021215053701.15581.32963.Mailman@kashyyyk>
2002-12-15 5:39 ` detecting if compiled or loaded modules 24
2002-12-15 8:59 ` Andrea Rossato [this message]
2002-12-15 10:04 ` 24
2002-12-15 12:30 ` Patrick Schaaf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DFC447B.4090200@istitutocolli.org \
--to=mailing_list@istitutocolli.org \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.