From: Michael <jlpnetworx@gmail.com>
To: Les Mikesell <les@futuresource.com>, netfilter@lists.netfilter.org
Subject: Re: masquerading won't flush conntrack cache
Date: Thu, 14 Oct 2004 17:13:43 +0200 [thread overview]
Message-ID: <661ba8be041014081326ebea75@mail.gmail.com> (raw)
In-Reply-To: <1097765447.7688.9.camel@moola.futuresource.com>
My solution for the moment (which is not really a solution), is to
flush all iptable rules and unload all netfilter modules in ip-up,
when the interface goes up again with the new ip-address. However,
this also flushes all other rules, which were not affected by the
external interface (e.g. from eth0 to eth1 or so) and therefore all
state information is lost.
Michael.
On Thu, 14 Oct 2004 09:50:47 -0500, Les Mikesell <les@futuresource.com> wrote:
> On Thu, 2004-10-14 at 08:17, Michael Hecker wrote:
>
> > 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.
>
> I see exactly the same effect with GRE packets that make it out
> the default masq'd interface before the correct route for them
> is established. When the correct route comes up, the packets go
> there but continue to be source-NATed with the address of the
> incorrect masq-ing interface. It appears to be impossible to ever
> change a route after an ip_conntrack entry has been established, at
> least when NAT is involved. Is there a better source for information
> about the ip_conntrack module than this list?
>
> ---
> Les Mikesell
> les@futuresource.com
>
>
next prev parent reply other threads:[~2004-10-14 15:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2004-10-14 16:07 ` Les Mikesell
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=661ba8be041014081326ebea75@mail.gmail.com \
--to=jlpnetworx@gmail.com \
--cc=les@futuresource.com \
--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 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.