From: "pengjie" <bill@acamar.com.cn>
To: netfilter@lists.netfilter.org
Subject: strange phenomena about ip_conntrack
Date: Wed, 21 May 2003 16:24:04 +0800 [thread overview]
Message-ID: <004401c31f72$57415ca0$02020a0a@acamarpeng> (raw)
[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]
hi,all,
I'm a newbie of netfilter.I have a problem on it. I think it maybe has some bugs.
A month ago my gateway using linux2.4-7-10 can not forward any packets because it's conntrack table is full, it displaies "ip_conntrack: table full, dropping packet.".the memory of the gateway is 256M.
After that i do a experiment on it.
I set the variable hash_size 20, then the variabel ip_conntrack_max should be 160.
I adjust the TCP timeout on established to 1 hours, and decrease the udp timeout to 1/3 of original value.
I deny the broadcast packet to leave track in conntrack table by open the condition '#if 0 ' to '#if 1' in header of function ip_conntrack_in .
I print the value of ip_conntrack_count in the header of function init_conntrack.
After 2 days, the conntrack table is full, /var/log/messages display the ip_conntrack_count is 167, and /proc/net/ip_conntrack is empty.
Why?!, Why the ip_conntrack_count is bigger than ip_conntrack_max?
Why is /proc/net/ip_conntrack is empty?
how can this occurs?
who can help me?
thanks in advance!
[-- Attachment #2: Type: text/html, Size: 1761 bytes --]
next reply other threads:[~2003-05-21 8:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-21 8:24 pengjie [this message]
2003-05-23 22:54 ` strange phenomena about ip_conntrack Martin Josefsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='004401c31f72$57415ca0$02020a0a@acamarpeng' \
--to=bill@acamar.com.cn \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox