Skip to contentSkip to conversation

iptables.]

[email protected]: Harald Welte 2 participants 5 messages Jul 6, 2004 – Jul 7, 2004 3 messages not in the archive netfilter

lore
Share & tools
lore
#0 lore raw
Signature · 6 lines
-- 
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

Hi.
I have a p4 2,8 HT PC with slackware 9.1, kernel 2.6.7 SMP, runing squid(transparent proxy)+ firewall+routing. The trafic is 1M for 300 clients.
Sometimes the box freez. When is restarted i got this messages and after 3 minutes it freez again. Maybe is a harware problem but i dont khow waht is exactly. I fallow the logs and i got this.

Thx
arny

Jul  6 00:41:51 gw kernel: LIST_DELETE:
net/ipv4/netfilter/ip_conntrack_core.c:300
`&ct->tuplehash[IP_CT_DIR_REPLY]'(f63
7a224) not in &ip_conntrack_hash[hr].
Jul  6 00:41:51 gw kernel: LIST_DELETE:
net/ipv4/netfilter/ip_conntrack_core.c:300
`&ct->tuplehash[IP_CT_DIR_REPLY]'(f64
f3824) not in &ip_conntrack_hash[hr].
Jul  6 00:41:54 gw kernel: LIST_DELETE:
net/ipv4/netfilter/ip_conntrack_core.c:300
`&ct->tuplehash[IP_CT_DIR_REPLY]'(f63
7a6a4) not in &ip_conntrack_hash[hr].
Jul  6 00:41:54 gw kernel: LIST_DELETE:
net/ipv4/netfilter/ip_conntrack_core.c:300
`&ct->tuplehash[IP_CT_DIR_REPLY]'(f63
7a524) not in &ip_conntrack_hash[hr].
Jul  6 00:46:36 gw syslogd 1.4.1: restart.
#1 lore raw

Re: iptables freeze

Hi,

2004-07-07, sze keltezéssel 00:40-kor Harald Welte ezt írta:

Quoted 7 lines

I have a p4 2,8 HT PC with slackware 9.1, kernel 2.6.7 SMP, runing squid(transparent proxy)+ firewall+routing. The trafic is 1M for 300 clients.
Sometimes the box freez. When is restarted i got this messages and after 3 minutes it freez again. Maybe is a harware problem but i dont khow waht is exactly. I fallow the logs and i got this.

Quoted 8 lines
Jul  6 00:41:51 gw kernel: LIST_DELETE:
net/ipv4/netfilter/ip_conntrack_core.c:300
`&ct->tuplehash[IP_CT_DIR_REPLY]'(f63
7a224) not in &ip_conntrack_hash[hr].
Jul  6 00:41:51 gw kernel: LIST_DELETE:

net/ipv4/netfilter/ip_conntrack_core.c:300
`&ct->tuplehash[IP_CT_DIR_REPLY]'(f64
f3824) not in &ip_conntrack_hash[hr].

This looks just like the symptoms of an old bug, however, which should
not occur with 2.6.7... (It was caused by NAT changing the reply tuple of an already hashed connection.) Just to make sure, could you provide us your kernel config? Is 'NAT of local connections' enabled? It not, can you try with that?

Signature · 2 lines
 Regards,
   Krisztian KOVACS
#3 lore raw

Re: iptables freeze

In reply to a message not in the archive

Hi,

2004-07-07, sze keltezéssel 12:03-kor arny ezt írta:

Quoted 1 line

I have attached the actual config file.

Ok, so you have local NAT enabled. Which modules do you have loaded?
And please provide an overview of your ruleset. Do you REDIRECT any traffic?

Signature · 2 lines
 Regards,
   Krisztian KOVACS
#5 lore raw

Re: iptables freeze

In reply to a message not in the archive

Hi,

2004-07-07, sze keltezéssel 13:00-kor arny ezt írta:

Quoted 5 lines

Yes, i have transparent proxy on that server, i have 2 LAN`s, eth1 1 with 30 computers, and the second LAN eth2 with ~300 computers. All HTTP trafic from lans are redirected to the eth1 IP port 3128 and eth2 port 3128.

Here are the modules:

Quoted 10 lines
arny@gw:~$ lsmod
Module                  Size  Used by
ipt_mac                 3712  4
ipt_REJECT              7936  5
ipt_REDIRECT            3968  2
iptable_mangle          4608  1
iptable_nat            33956  2 ipt_REDIRECT
iptable_filter          4608  1
ip_tables              22672  6
ipt_mac,ipt_REJECT,ipt_REDIRECT,iptable_mangle,iptable_nat,iptable_filter

Ok, thanks for the information. Do you know of any kernel version
which did not have this problem?

Signature · 2 lines
 Regards,
   Krisztian KOVACS
#7 lore raw

Re: iptables freeze

In reply to a message not in the archive

Hi,

2004-07-07, sze keltezéssel 13:14-kor arny ezt írta:

Quoted 2 lines

I think 2.4.26, i`m not sure. I will try it later and i will send you e-mail if i find something.

Ok, thanks. It would be especially useful if we could figure out the
exact version of the kernel which introduced the bug.

Signature · 2 lines
 Regards,
   Krisztian KOVACS