Skip to contentSkip to conversation

netfilter oops (Was: Re: Linux 2.4.18-pre2)

DISCUSSION CaT 1 participant 2 messages Jan 12, 2002

Subsystems (2)
lore
Share & tools
lore

CaT

author
#0 lore raw

This bounced from lk (due to a malformed address)... apologies for the resend if you get it twice... Just wanted to remove a bit of chaos from the thread. ;)

Quoted 6 lines · Rusty Russell
Quoted 4 lines

With 18-pre1, 17-rc2 and 17-preX (can't remember now. It's been a week or so :/) I can get the kernel to consistantly crash after a few minutes by compiling it with ipchains compatability and using masqueraded net connections.

Hi,

Hey.

I haven't forgotten about this little bug. :))

Quoted 3 lines

There are three changes which could effect you here. I can't see
anything wrong with any of them, but if you could try reverting them one at a time, and tell me which causes the problem, that'd narrow it down:

Just did a test and it's not masquerading that's causing it. I'll need to convert my filesystems to ext3 first because the crashes are not going to be healthy for this box (or me... 45gig HD involved on a pentium-200) and I'll experiment some more. It may be redirection that's doing it.

Once I narrow down what is actually causing it I'll back out the patches you sent, one by one, until it stops crashing.

Signature · 5 lines
SOCCER PLAYER IN GENITAL-BITING SCANDAL  ---  "It was something between
friends that I thought would have no importance until this morning when
I got up and saw all  the commotion in the news,"  Gallardo told a news
conference. "It stunned me."
Reyes told Marca that he had "felt a slight pinch."
author
#1 lore raw
Quoted 5 lines · CaT

Just did a test and it's not masquerading that's causing it. I'll need to convert my filesystems to ext3 first because the crashes are not going to be healthy for this box (or me... 45gig HD involved on a pentium-200) and I'll experiment some more. It may be redirection that's doing it.

Ka-ching! Being able to use a fwded net connection without masq was the needed clue. I looked at the patches and found this one:

diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.4.16/net/ipv4/netfilter/ip_fw_compat_redir.c linux-2.4.17/net/ipv4/netfilter/ip_fw_compat_redir.c

net/ipv4/netfilter/ip_fw_compat_redir.c Thu Dec 27 12:46:11 2001 renamed from net/ipv4/netfilter/ip_fw_compat_redir.c Sat Aug 5 06:07:24 2000 +2 -0
@@ -206,6 +206,8 @@
                        }
                        list_prepend(&redirs, redir);
                        init_timer(&redir->destroyme);
+                       redir->destroyme.expires = jiffies + 75*HZ;
+                       add_timer(&redir->destroyme);
                }
                /* In case mangling has changed, rewrite this part. */
                redir->core = ((struct redir_core)

As it appeared to deal directly with compatability redirection I removed this one first and recompiled the kernel. Before, a minute or so of browsing via a redirected connection (to squid) would make the box go boom. I've just browsed for 15 minutes to different sites and the box has not gone down.

Now, if you need the oops then holler and I'll see what I can do about getting it to you. Writing it down would be a pain so I may opt for the null-modem cable which may take a week or so for me to get at though.

Signature · 5 lines
SOCCER PLAYER IN GENITAL-BITING SCANDAL  ---  "It was something between
friends that I thought would have no importance until this morning when
I got up and saw all  the commotion in the news,"  Gallardo told a news
conference. "It stunned me."
Reyes told Marca that he had "felt a slight pinch."