All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] flush ip_conntrack table manually?
@ 2003-02-21 14:52 Patrick Nagelschmidt
  2003-02-21 19:58 ` Jose Luis Domingo Lopez
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Nagelschmidt @ 2003-02-21 14:52 UTC (permalink / raw)
  To: lartc


i just got a 'ip_conntrack: table full, dropping packet' because a 
p2p-application ran amok. i've killed the process but 
/proc/net/ip_conntrack still got more than 7000 (now stale) entries of 8184 
max. since the table is now after ~70 minutes down to 6995 entries, i 
wonder if i can flush this table manually. the entries in there look like

tcp      6 155674 ESTABLISHED src=x.x.x.x dst=y.y.y.y sport\x1234 dportV78 
src=y.y.y.y dst=x.x.x.x sportV78 dport\x1234 [ASSURED] use=1

and if i get ip_conntrack_proto_tcp.c right, the default timeout for 
ESTABLISHED is 5 days. but i dont want to wait that long :(


Patrick

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] flush ip_conntrack table manually?
  2003-02-21 14:52 [LARTC] flush ip_conntrack table manually? Patrick Nagelschmidt
@ 2003-02-21 19:58 ` Jose Luis Domingo Lopez
  0 siblings, 0 replies; 2+ messages in thread
From: Jose Luis Domingo Lopez @ 2003-02-21 19:58 UTC (permalink / raw)
  To: lartc

On Friday, 21 February 2003, at 15:52:55 +0100,
Patrick Nagelschmidt wrote:

> and if i get ip_conntrack_proto_tcp.c right, the default timeout for 
> ESTABLISHED is 5 days. but i dont want to wait that long :(
> 
You are right, some people change this default value in the sources and
recompile because they think this 5-day period is way too high. The only
way I know to flush the connection tracking information is to unload
ip_conntrack, and all the modules that depend on it.

Hope it helps.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.4.20-xfsip)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2003-02-21 19:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-21 14:52 [LARTC] flush ip_conntrack table manually? Patrick Nagelschmidt
2003-02-21 19:58 ` Jose Luis Domingo Lopez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.