Linux Netfilter discussions
 help / color / mirror / Atom feed
* Iptables error
@ 2004-08-25  8:19 Paulo Andre
  0 siblings, 0 replies; 11+ messages in thread
From: Paulo Andre @ 2004-08-25  8:19 UTC (permalink / raw)
  To: netfilter

This morning I rebooted one of our firewalls, I have created a new kernel for 
it (2.4.20, patched kernel with latest p-o-m ng). 
When I run my firewall script, all I get is errors, seems to be a problem with 
iptables 'tables' as none of the rules are create but the default policies 
are in place, in dmesg I have the following error:

ip_tables: table screwed up!

This firewall is a production server and I can only really take it down 
tonight to check it, anyone had something like this before?

Paulo



^ permalink raw reply	[flat|nested] 11+ messages in thread
* 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; 11+ 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] 11+ messages in thread
* RE: Iptables error
@ 2004-08-25 12:56 Jason Opperisano
  2004-08-25 19:25 ` Jose Maria Lopez
  0 siblings, 1 reply; 11+ messages in thread
From: Jason Opperisano @ 2004-08-25 12:56 UTC (permalink / raw)
  To: netfilter

> This morning I rebooted one of our firewalls, I have created a new kernel for
> it (2.4.20, patched kernel with latest p-o-m ng).
> When I run my firewall script, all I get is errors, seems to be a problem with
> iptables 'tables' as none of the rules are create but the default policies
> are in place, in dmesg I have the following error:
>
> ip_tables: table screwed up!
>
> This firewall is a production server and I can only really take it down
> tonight to check it, anyone had something like this before?
>
> Paulo

sounds to me like you applied p-o-m, rebuilt your kernel, but did not rebuild your userspace.  anytime you apply a patch from pom that changes structures, or requires additional libraries, you need to recompile your userspace iptables utilities.  since it's unclear to me when the userspace rebuild is required--i do it everytime.  sounds like it was in this case for you...

-j




^ permalink raw reply	[flat|nested] 11+ messages in thread
* IPTables error
@ 2004-01-15  0:08 Jerry Rasmussen
  2004-01-15  0:17 ` Antony Stone
  0 siblings, 1 reply; 11+ messages in thread
From: Jerry Rasmussen @ 2004-01-15  0:08 UTC (permalink / raw)
  To: netfilter

When I try to add a command with eth1:1 get this error 'iptables -t nat
-A PREROUTING -p tcp -i $ex_dev -d 216.27.xxx.xx --dport 3389 -j DNAT
--to 192.168.xx.xxx
Warning: wierd character in interface `eth1:1' (No aliases, :, ! or *)."

I have done a good bit of Googleing I am sure there is an easy answer
that I am missing any help would be apperciated.  I need to have more
than 1 ip address on eth1

Thanks
Jerry


^ permalink raw reply	[flat|nested] 11+ messages in thread
* iptables error
@ 2002-11-12  0:07 jelenkovic
  0 siblings, 0 replies; 11+ messages in thread
From: jelenkovic @ 2002-11-12  0:07 UTC (permalink / raw)
  To: netfilter

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

ok i'm having problems with the new iptables and 1.4.19 kernel.
here is the log error:
Nov 11 04:55:29 BAKER kernel: ASSERT ip_conntrack_core.c:1063 &ip_conntrack_lock not readlocked
Nov 11 04:55:29 BAKER kernel: ASSERT: ip_nat_core.c:839 &ip_conntrack_lock not readlocked

and then this is what happens later at some point:
Nov 11 20:57:58 BAKER kernel: IPTABLES Dead Input: IN=eth0 OUT= MAC=00:50:04:55:d1:a4:00:02:4b:13:33:60:08:00 SRC=213.250.59.123 DST=************ LEN=48 TOS=0x00 PREC=0x00 TTL=125 ID=19471 DF PROTO=TCP SPT=4682 DPT=10 WINDOW=16384 RES=0x00 SYN URGP=0 

notice that the destination port is 10.it shows that for all ports i think?
this was logged when i tried to use the web server.
so it should have recognized port 80 and not logged anything.
I've seen other ppl having the same problem (searched google) but no one knows what the problem might be.

any ideas?

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

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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-25  8:19 Iptables error Paulo Andre
  -- strict thread matches above, loose matches on Subject: below --
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
2004-08-25 12:56 Iptables error Jason Opperisano
2004-08-25 19:25 ` Jose Maria Lopez
2004-01-15  0:08 IPTables error Jerry Rasmussen
2004-01-15  0:17 ` Antony Stone
2002-11-12  0:07 iptables error jelenkovic

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