Skip to contentSkip to conversation

How to load these modules?

DISCUSSION bobo 2 participants 2 messages Dec 20, 2002

lore
Share & tools
lore

bobo

author
#0 lore raw

Hello all:

While I am studying iptables,I read such contents from a tutorial as bellow:

"the rc.firewall.txt neede the following options to be compiled to kernel or as modules..

.CONFIG_PACKET
.CONFIG_NETFILTER
.CONFIG_IP_NF_CONNTRACK
..........

I find some moudles of REDHAT 7.2 in /lib/modules/2.4.7-10/kernel/net/ipv4/netfilter,
but the modules'name are not the same as the above. There are about 20 modules in the directory.

Why?

How could I do? How could I get these modules?

#1 lore raw
Quoted 12 lines · bobo

Hello all:

While I am studying iptables,I read such contents from a tutorial as bellow:

"the rc.firewall.txt neede the following options to be compiled to kernel or as modules..

.CONFIG_PACKET
.CONFIG_NETFILTER
.CONFIG_IP_NF_CONNTRACK
..........

Quoted 6 lines

I find some moudles of REDHAT 7.2 in /lib/modules/2.4.7-10/kernel/net/ipv4/netfilter,
but the modules'name are not the same as the above. There are about 20 modules in the directory.

Why?

How could I do? How could I get these modules?

I did a check on /usr/src/linux/net/ipv4/netfilter/Makefile and found the following line:
obj-$(CONFIG_IP_NF_CONNTRACK) += ip_conntrack.o

This (I think) means that if "CONFIG...." is selected, then the module that corresponds to this selection is ip_conntrack.o

then in /usr/src/linux/net/Makefile

subdir-$(CONFIG_NETFILTER) += ipv4/netfilter

I think this meant that all modules in ipv4/netfilter would be needed for that selection.

Signature · 4 lines
Vincent Lim
Software Engineer
NESTAC Solution Sdn Bhd
[email protected] | +(6012) 659-6609