All of lore.kernel.org
 help / color / mirror / Atom feed
* Iptables command failed
@ 2004-04-07 11:59 manisha s
  2004-04-07 13:21 ` Rob Sterenborg
  0 siblings, 1 reply; 5+ messages in thread
From: manisha s @ 2004-04-07 11:59 UTC (permalink / raw)
  To: netfilter

Hello All,

I m new to this mailing list and I don't know if
somebody have faced such a problem and may have
answerd to this question.

I m using kernel 2.4.22 and iptables rpm 1.2.7a-2.
I compiled a kernel to support the Network filtering
successfully. But when i issued the following command

iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP

i got the following error

/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved symbol nf_register_sockopt_Rsmp_f5985dce

/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved symbol nf_unregister_sockopt_Rsmp_a5c3249c

/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
insmod 
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o
failed

/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
insmod ip_tables failed

iptables v1.2.7a: can't initialize iptables table
`filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.


what this error means?do i need to update the iptables
or kernel?

Any help or hint would be appreciated

Thanks in advance
Manisha

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Iptables command failed
  2004-04-07 11:59 Iptables command failed manisha s
@ 2004-04-07 13:21 ` Rob Sterenborg
  2004-04-08  7:18   ` manisha s
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Sterenborg @ 2004-04-07 13:21 UTC (permalink / raw)
  To: netfilter

> I m using kernel 2.4.22 and iptables rpm 1.2.7a-2.
> I compiled a kernel to support the Network filtering
> successfully. But when i issued the following command
> 
> iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
> 
> i got the following error
> 
> /lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
> unresolved symbol nf_register_sockopt_Rsmp_f5985dce
> 
....
> 
> iptables v1.2.7a: can't initialize iptables table
> `filter': iptables who? (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
> 
> 
> what this error means?do i need to update the iptables
> or kernel?

Did you compile a new kernel without updating iptables ?
If so, compile a new iptables (1.2.9) too.


Gr,
Rob



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Iptables command failed
  2004-04-07 13:21 ` Rob Sterenborg
@ 2004-04-08  7:18   ` manisha s
  2004-04-08  8:29     ` Rob Sterenborg
  0 siblings, 1 reply; 5+ messages in thread
From: manisha s @ 2004-04-08  7:18 UTC (permalink / raw)
  To: Rob Sterenborg; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 1788 bytes --]

Hi,
I have downloaded iptables-1.2.9 from netfilter.org and installed using  make and make install commands after compiling the kernel with network packet filtering (replaces ipchains) option having value yes
 
also the settings under IP netfilter configuration are. 
 
connection tracking   module
FTP, amanda ,TFTP,IRC support no
IP tables support (required for filtering/masq/NAT)  module
 
Packet filtering                  module
full NAT                            module
Redirect support               module
ipchains 2.2 style support  no
ipchains 2.0 style support no
 
then i compiled kernel and rebooted machine
But when i issued the following command
> 
> iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
> 
> i got the following error
> 
> /lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
> unresolved symbol nf_register_sockopt_Rsmp_f5985dce

plz give me more insight on this issue
 


Rob Sterenborg <rob@sterenborg.info> wrote:
 
> I m using kernel 2.4.22 and iptables rpm 1.2.7a-2.
> I compiled a kernel to support the Network filtering
> successfully. But when i issued the following command
> 
> iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
> 
> i got the following error
> 
> /lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
> unresolved symbol nf_register_sockopt_Rsmp_f5985dce
> 
....
> 
> iptables v1.2.7a: can't initialize iptables table
> `filter': iptables who? (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
> 
> 
> what this error means?do i need to update the iptables
> or kernel?

Did you compile a new kernel without updating iptables ?
If so, compile a new iptables (1.2.9) too.


Gr,
Rob



---------------------------------
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today

[-- Attachment #2: Type: text/html, Size: 2816 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Iptables command failed
  2004-04-08  7:18   ` manisha s
@ 2004-04-08  8:29     ` Rob Sterenborg
  2004-04-08 11:58       ` manisha s
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Sterenborg @ 2004-04-08  8:29 UTC (permalink / raw)
  To: netfilter

> I have downloaded iptables-1.2.9 from netfilter.org and
> installed using  make and make install commands after
> compiling the kernel with network packet filtering
> (replaces ipchains) option having value yes

Did you patch the kernel with a new Patch-O-Matic (also from the Netfilter
website) before you configured/compiled it ?
I suppose iptables-1.2.9 requires symbols not yet in an unpatched kernel.

> > iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
> >
> > i got the following error
> >
> > /lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
> > unresolved symbol nf_register_sockopt_Rsmp_f5985dce


Gr,
Rob



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Iptables command failed
  2004-04-08  8:29     ` Rob Sterenborg
@ 2004-04-08 11:58       ` manisha s
  0 siblings, 0 replies; 5+ messages in thread
From: manisha s @ 2004-04-08 11:58 UTC (permalink / raw)
  To: Rob Sterenborg; +Cc: netfilter

Hi,

Thanks for ur help....
i again recompiled the kernel with netfilter support
and the iptables is now working fine....
i think i did not copied the newly kernel image to the
boot dir  so that the problem remained....

anyway
thanks once again for ur time


--- Rob Sterenborg <rob@sterenborg.info> wrote:
> > I have downloaded iptables-1.2.9 from
> netfilter.org and
> > installed using  make and make install commands
> after
> > compiling the kernel with network packet filtering
> > (replaces ipchains) option having value yes
> 
> Did you patch the kernel with a new Patch-O-Matic
> (also from the Netfilter
> website) before you configured/compiled it ?
> I suppose iptables-1.2.9 requires symbols not yet in
> an unpatched kernel.
> 
> > > iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
> > >
> > > i got the following error
> > >
> > >
>
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
> > > unresolved symbol
> nf_register_sockopt_Rsmp_f5985dce
> 
> 
> Gr,
> Rob
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-08 11:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-07 11:59 Iptables command failed manisha s
2004-04-07 13:21 ` Rob Sterenborg
2004-04-08  7:18   ` manisha s
2004-04-08  8:29     ` Rob Sterenborg
2004-04-08 11:58       ` manisha s

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.