Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "terry l. ridder" <artisticforge@gmail.com>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: netfilter@lists.netfilter.org, /dev/rob0 <rob0@gmx.co.uk>
Subject: Re: iptables leaking blocked ip addresses.
Date: Tue, 21 Jun 2005 03:24:44 -0500	[thread overview]
Message-ID: <49bf7d705062101242489dd90@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0506210937090.3687@blackhole.kfki.hu>

hello.

reply below.

On 6/21/05, Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> wrote:
> On Tue, 21 Jun 2005, terry l. ridder wrote:
> 
> >
> > On 6/21/05, Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> wrote:
> > > On Mon, 20 Jun 2005, terry l. ridder wrote:
> > >
> > > > while i have reservations concerning posting the output of iptables-save
> > > > i have placed it on my web server:
> > > >
> > > > http://204.238.34.206/iptables-save-20jun2005.txt
> > >
> > > Thou salt not filter in the nat table.
> >
> > there is no good reason not to filter in the nat table.
> 
> Your firewall setup is a perfect example why one should not filter in the
> nat table.
>

my firewall has worked for many years just the way it is, never had any
problems with any leaks of any kind.

> 
> Look at the packets which "leaked in": all of them TCP RST packets.
>

yes, they are all tcp rst packets.

> 
> According to the TCP connection tracking, a RST packet which belongs to no
> known connection will be marked as INVALID. Because it's a NEW INVALID
> packet, connection tracking drops the conntrack reference immediately.
> Consequently, as having no conntrack reference attached to the packet, the
> nat table skips processing it. And because you intentionally not filter in
> the filter table, the packets "leak in".
>

there is not connection to track.

all packets from 200.0.0.0/8 with destination port 25 (smtp) are
dropped. the only addresses leaking in are the 200.0.0.0/8 with
destination port 25 (smtp). none of the other network address
blocks which are blocked are leaking.

if what you wrote above were true i should be seeing more tcp rst
packets from blocked network address blocks leaking in. i am not.
therefore, what you wrote above is not true.

> 
> Thou salt not filter in the nat table.
>

will you please stop with the 'party line'.

> 
> Best regards,
> Jozsef
>

-- 
terry l. ridder ><>


  reply	other threads:[~2005-06-21  8:24 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-20 15:34 iptables leaking blocked ip addresses terry l. ridder
2005-06-20 15:48 ` Jan Engelhardt
2005-06-20 16:01   ` terry l. ridder
2005-06-20 15:55 ` /dev/rob0
2005-06-20 16:00   ` /dev/rob0
2005-06-20 16:17   ` terry l. ridder
2005-06-20 16:59     ` /dev/rob0
2005-06-20 17:20       ` terry l. ridder
2005-06-20 18:29         ` /dev/rob0
2005-06-20 19:36           ` terry l. ridder
2005-06-20 20:19             ` /dev/rob0
2005-06-21 12:57             ` Jan Engelhardt
2005-06-21 13:10               ` Jozsef Kadlecsik
2005-06-21 13:13                 ` Jan Engelhardt
2005-06-21 13:39                   ` Jozsef Kadlecsik
2005-06-21 18:05                     ` Jan Engelhardt
2005-06-22  7:10                       ` Jozsef Kadlecsik
2005-06-22 12:55                         ` Jan Engelhardt
2005-06-22 13:16                           ` Jozsef Kadlecsik
2005-06-20 20:47           ` terry l. ridder
2005-06-21 12:17             ` /dev/rob0
2005-06-21 14:36               ` terry l. ridder
2005-06-21 14:57                 ` Joakim Axelsson
2005-06-20 18:50       ` Jan Engelhardt
2005-06-20 19:12         ` /dev/rob0
2005-06-20 19:30     ` Sven-Haegar Koch
2005-06-20 20:07       ` /dev/rob0
2005-06-20 20:23       ` terry l. ridder
2005-06-20 22:29         ` Sven-Haegar Koch
2005-06-20 23:04           ` terry l. ridder
2005-06-20 20:39       ` terry l. ridder
2005-06-21  7:11     ` Jozsef Kadlecsik
2005-06-21  7:21       ` terry l. ridder
2005-06-21  7:56         ` Jozsef Kadlecsik
2005-06-21  8:24           ` terry l. ridder [this message]
2005-06-21  9:36   ` Feizhou
2005-06-21  9:40     ` Jozsef Kadlecsik
2005-06-21 14:31     ` Cedric Blancher
2005-06-21 16:52       ` Feizhou
2005-06-21  3:24 ` Alistair Tonner

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=49bf7d705062101242489dd90@mail.gmail.com \
    --to=artisticforge@gmail.com \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=netfilter@lists.netfilter.org \
    --cc=rob0@gmx.co.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox