Skip to contentSkip to conversation

Kernel Panic when using iptables NAT rules with kernel 2.6.16.9

DISCUSSION noip 2 participants 2 messages Apr 21, 2006 netfilter

lore
Share & tools
lore

noip

author
#0 lore raw

Hello,

After the upgrade to kernel 2.6.16.9 i'm receiving a kernel panic almost immediately when I enter my iptables REDIRECT rules. If I don't enter these rules, the machine works fine. I've observed this behavior on all of my machines that are running Broadcom Gbit Ethernet cards using tg3 driver.
On my office machine with the same kernel and the same iptables rules there is no such problem - I have an Intel 10/100 Ethernet card.
My kernel is patched with the Grsecurity patch and with the connlimit patch.
I've tried the same setup without Gresecurity but the problem was still there.
My iptables version is 1.3.5.

My kernel config - http://server260.com/panic/kerncfg
A screenshot with the panic - http://server260.com/panic/panic.gif

Please send me a CC on reply because I'm not subscribed to the list.

Thank You
Iavor

#1 lore raw
Quoted 7 lines · noip

Hello,

After the upgrade to kernel 2.6.16.9 i'm receiving a kernel panic almost immediately when I enter my iptables REDIRECT rules. If I don't enter these rules, the machine works fine. I've observed this behavior on all of my machines that are running Broadcom Gbit Ethernet cards using tg3 driver.
On my office machine with the same kernel and the same iptables rules there is no such problem - I have an Intel 10/100 Ethernet card.
My kernel is patched with the Grsecurity patch and with the connlimit patch.
I've tried the same setup without Gresecurity but the problem was still there.

Which kernel version did you run before that?

Quoted 4 lines

My iptables version is 1.3.5.

My kernel config - http://server260.com/panic/kerncfg
A screenshot with the panic - http://server260.com/panic/panic.gif

The interesting part scrolled off the screen, please set CONFIG_STACK_BACKTRACE_COLS=2 and try again. The last thing I can see is ipt_do_table, if you are using connlimit in LOCAL_IN its most likely that, the version in patch-o-matic is not compatible with current kernels.