[CLUE-Tech] (no subject)

Javier Govea jgovea at magma.ca
Tue Jul 22 19:25:02 MDT 2003


Hi!

I'm having a problem with the iptables module. I have redhat 9 with kernel 2.4.20-8 and i
just compiled the iptables module. (redhat already comes with the iptables module compiled
but i need to apply a patch and i need to recompile it) I'm masquerading all traffic in my
box comming from a LAN. My box is the only one with access to internet via a ppp link.

Well, when use my own compiled version of iptables, the LAN cannot access internet. I'm
not sure why or how to fix it. 

Here are some findings: 

1. Doing an "depmod -a" i'm getting the following errors (i'm only showing 4 lines but i
get the same msg for all modules in the netfilter folder). How do i fix this????????? any
suggestions? 

depmod: *** Unresolved symbols in
/lib/modules/2.4.20-8/kernel/net/ipv4/netfilter/ipt_MASQUERADE.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.20-8/kernel/net/ipv4/netfilter/iptable_nat.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.20-8/kernel/net/ipv4/netfilter/ip_conntrack.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/net/ipv4/netfilter/ip_tables.o

2. I know i only need four modules: ipt_MASQUERADE, iptable_nat, ip_conntrack, and
ip_tables. if i do a "modprobe" for the last three modules then all are loaded without
errors. But if i do "modprobe ipt_MASQUERADE" then i get an error. How do i fix it???? If
i do "insmod ipt_MASQUERADE" then i don't get any error but my LAN still cannot access
internet. Here is my error:

modprobe: Too deep recursion in module dependencies!
modprobe: Circular dependency? ip_nat_core ip_nat_proto_udp ip_conntrack ip_tables
ipt_MASQUERADE
Aborted (core dumped)

3. I don't know if any of my two previous errors are actaully my problem. The iptables
that comes with redhat gives me the same error i mentioned in 2. But if i insert the
module with "insmod" then my LAN can access.  I'm also getting the same problem i
mentioned in 1 with an NTFS module i compiled. But my NTFS module is working properly.
so...i'm all confused...please any help is very much appreciated...

Any suggestions or ideas are all welcome........

Thanx to all 
X



More information about the clue-tech mailing list