netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Conntrack leak (2.6.2rc2)
@ 2004-02-02  8:56 Steve Hill
  2004-02-02  9:22 ` Jozsef Kadlecsik
  0 siblings, 1 reply; 21+ messages in thread
From: Steve Hill @ 2004-02-02  8:56 UTC (permalink / raw)
  To: netdev


I've already posted this to the netfilter-devel list and had no response 
so I'm hoping that some of you might have some insight into the problem:

I'm using the 2.6.2rc2 kernel and have a strange connection tracking 
problem - when using unfragmented packets every thing is fine - a new 
connection is made and init_conntrack() is called, and as the session is 
timed out by conntrack, destroy_conntrack() is called.  Absolutely fine.

However, if I start a connection with a fragmented packet (i.e. my MTU 
is 1500 bytes, so "ping -c 1 -s 2500 172.16.0.1" sends a packet consisting 
of 2 fragments), init_conntrack() is called as usual, but when the session 
is timed out destroy_conntrack() never gets called.  This means that the 
memory for the connection is never freed and ip_conntrack_count is never 
decremented.  However, the connection is still removed from the hash 
table.  This means that it leaks memory, and eventually reaches 
ip_conntrack_max and starts dropping new connections.

-- 

- Steve Hill
Senior Software Developer                        Email: steve@navaho.co.uk
Navaho Technologies Ltd.                           Tel: +44-870-7034015

        ... Alcohol and calculus don't mix - Don't drink and derive! ...

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2004-02-04 10:19 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-02  8:56 Conntrack leak (2.6.2rc2) Steve Hill
2004-02-02  9:22 ` Jozsef Kadlecsik
2004-02-02  9:46   ` Steve Hill
2004-02-02 10:34     ` Jozsef Kadlecsik
2004-02-02 10:48       ` Steve Hill
2004-02-02 11:45         ` Jozsef Kadlecsik
2004-02-02 11:58           ` Steve Hill
2004-02-02 12:47             ` Jozsef Kadlecsik
2004-02-02 13:36               ` Steve Hill
2004-02-02 13:46                 ` Jozsef Kadlecsik
2004-02-02 14:03                   ` Steve Hill
2004-02-03  8:14                   ` Andi Kleen
2004-02-03  8:48         ` Jozsef Kadlecsik
2004-02-03 14:35           ` Steve Hill
2004-02-03 15:32             ` Jozsef Kadlecsik
2004-02-03 17:43               ` [PATCH] fix netfilter refcounting [was Re: Conntrack leak (2.6.2rc2)] Jozsef Kadlecsik
2004-02-03 17:48                 ` David S. Miller
2004-02-03 18:27                 ` David S. Miller
2004-02-04 10:19                 ` Steve Hill
2004-02-04  9:20         ` Conntrack leak (2.6.2rc2) Harald Welte
2004-02-04  9:22       ` Harald Welte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).