Skip to contentSkip to conversation

iptables error

DISCUSSION Nishit Shah 2 participants 3 messages Aug 30, 2008 – Sep 2, 2008 netfilter

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 11 lines · Nishit Shah

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)

Quoted 7 lines

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.

That kernel version has an iptables locking bug that might lead to corruption. Latest 2.6.16 version has this fixed.

#2 lore raw

Thanks :)

Rgds,
Nishit Shah.

-----Original Message-----
From: Patrick McHardy [mailto:[email protected]]
Sent: Monday, September 01, 2008 7:08 PM
To: Nishit Shah
Cc: [email protected]
Subject: Re: iptables error

Quoted 3 lines · Nishit Shah

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

Quoted 8 lines

logged out.

I got following error in between

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

Quoted 8 lines

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.

That kernel version has an iptables locking bug that might lead to corruption. Latest 2.6.16 version has this fixed.