Linux Netfilter development
 help / color / mirror / Atom feed
* iptables ERROR
@ 2009-06-25 12:56 Ritesh Majumdar
  2009-06-25 13:39 ` Richard Horton
  2009-06-25 14:00 ` Ritesh Majumdar
  0 siblings, 2 replies; 8+ messages in thread
From: Ritesh Majumdar @ 2009-06-25 12:56 UTC (permalink / raw)
  To: netfilter, netfilter-devel

Hello List,

I have recently added ipset code in to my kernel, so all the ipset
ralated ko's can be compiled while I compile kernel.
my compilation works fine and I can add ipset rules successfully.
but when I add iptables rules to macth specific set I get error.

Here is what I am trying to do.



ipset -N a_ipset iphash 
iptables -N a 
iptables -N b 
iptables -A a -p udp -m set --set a_ipset dst -j b 





when I try to add the last rule,(iptables -A a -p udp -m set --set
a_ipset dst -j b)  it fails with the error as below.

iptables: Invalid argument



I am not sure if its ipset issue or iptables.

I am using "kernel 2.6.27" "ipset-2.4.9" and "iptables-1.4.1.91"


Many Thanks.
Ritesh.


^ permalink raw reply	[flat|nested] 8+ messages in thread
* iptables error
@ 2008-08-30 13:00 Nishit Shah
  2008-09-01 13:38 ` Patrick McHardy
  0 siblings, 1 reply; 8+ messages in thread
From: Nishit Shah @ 2008-08-30 13:00 UTC (permalink / raw)
  To: netfilter-devel

Hi,
	I am using 2.6.16.13 kernel in smp configuration. Machine is working
as a gateway and frequent iptables commands are fired as users logged in and
logged out.

      I got following error in between

[root@manage /root]# iptables -nvx -L INPUT
ERROR: 7 not a valid target)
Aborted (core dumped)

So, I tried to flush INPUT and got following

[root@manage /root]# iptables -F INPUT 
iptables: Too many levels of symbolic links

following is a message I got in /var/log/messages

Aug 26 14:38:30 1219741710 kernel: iptables: loop hook 1 pos 0 00000022.

Rgds,
Nishit Shah.        


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

end of thread, other threads:[~2009-06-25 18:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25 12:56 iptables ERROR Ritesh Majumdar
2009-06-25 13:39 ` Richard Horton
2009-06-25 14:00 ` Ritesh Majumdar
2009-06-25 15:11   ` Jan Engelhardt
2009-06-25 18:08     ` Jozsef Kadlecsik
  -- strict thread matches above, loose matches on Subject: below --
2008-08-30 13:00 iptables error Nishit Shah
2008-09-01 13:38 ` Patrick McHardy
2008-09-02  8:57   ` Nishit Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox