All of lore.kernel.org
 help / color / mirror / Atom feed
* masquerading won't flush conntrack cache
@ 2004-10-14 13:17 Michael Hecker
  2004-10-14 14:50 ` Les Mikesell
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Hecker @ 2004-10-14 13:17 UTC (permalink / raw)
  To: netfilter

Hi everyone,

I'm having a strange problems with masquerading.
I'm masquerading my traffic, which leaves my machine through ppp0 on a
dialup line.
When UDP packets leave my machine on the ppp0 interface, an
appropriate entry is created in the conntrack cache
(/proc/net/ip_conntrack). As the remote machine replies to these UDP
packets, the conntrack module sees them as a stream and therefore
increases the timeout to 180 seconds.
However, when my line gets disconnected and reconnects again, the
entries in the cache are not flushed as expected. Now, the
masquerading of outbound traffic is done improperly. The outgoing
packets use the OLD IP-address, which was valid before the
disconnection of the dialup line and not the new one. When I look into
/proc/net/ip_conntrack I can still see the old and now invalid entries
being refreshed every time the internal machine tries to reach the
external one with these UDP packets. As it is clear, that no response
is possible, the internal machine tries endless and the entry in the
conntrack cache never times out --> an endless loop.
Any idea, why the entries are not flushed when ppp0 goes down and up again?

Thanks.
Michael.


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

end of thread, other threads:[~2004-10-14 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-14 13:17 masquerading won't flush conntrack cache Michael Hecker
2004-10-14 14:50 ` Les Mikesell
2004-10-14 15:13   ` Michael
2004-10-14 16:07     ` Les Mikesell

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.