From: Tim Gardner <timg@tpi.com>
To: Balazs Scheidler <bazsi@balabit.hu>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: Re: 2.4 SNAT fails randomly
Date: Sun, 16 Nov 2003 09:53:51 -0700 [thread overview]
Message-ID: <200311160953.51722.timg@tpi.com> (raw)
In-Reply-To: <20031116095206.GA32471@balabit.hu>
Balazs,
You are exactly correct. I swapped the interface creation statements with the
iptables rules so that the rules were in place before any packets could be
received from the interior net. In fact, I had to make sure that the interior
net interface was down. Otherwise it would make an entry in ip_conntrack,
regardless of the IP address of the interior interface.
Thanks for your help.
rtg
On Sunday 16 November 2003 02:52, Balazs Scheidler wrote:
>
> NAT mappings are established for NEW connections only, isn't it possible
> that your client sent an NTP request while your rule was not yet
> established? This means that it is entered the CONNTRACK table without the
> NAT manip and anything that comes later is not NATed as it is not a fresh
> CONNTRACK.
>
> Try filtering this traffic for 180secs and see it disappear from
> /proc/net/ip_conntrack, then remove the filtering and check whether it
> traversed the nat/POSTROUTING chain.
--
Tim Gardner - timg@tpi.com 406-443-5357
TriplePoint, Inc. - http://www.tpi.com
PGP: http://www.tpi.com/PGP/Tim.txt
next prev parent reply other threads:[~2003-11-16 16:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-15 18:03 2.4 SNAT fails randomly Tim Gardner
2003-11-16 9:52 ` Balazs Scheidler
2003-11-16 16:53 ` Tim Gardner [this message]
2003-11-18 15:35 ` Tim Gardner
2003-11-18 16:20 ` Balazs Scheidler
2003-11-19 7:46 ` Eldad Zack
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=200311160953.51722.timg@tpi.com \
--to=timg@tpi.com \
--cc=bazsi@balabit.hu \
--cc=netfilter-devel@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.