All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Bogomazov <bi@hl.ru>
To: netfilter@vger.kernel.org
Subject: INVALID connections and SNAT
Date: Mon, 12 Apr 2010 20:30:37 +0400	[thread overview]
Message-ID: <20100412203037.25956ce2@admin.hl.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

Hello,

Just noticed few packets which pass SNAT in POSTROUTING without
altering their SRC. The problem has been obscured by the fact, that all
works in general, no one complain.

After I add REJECT rule for "-m state --state INVALID" connections,
unmodified (not NATed) packets have disappeared. All right now.

Why INVALID connections pass thru NAT instead of dropping them? It
seems like a security risk, when hacker can listen not-NATed packets
behind the router and learn a network topology.

-- 
С уважением,

Igor Bogomazov

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2010-04-12 16:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-12 16:30 Igor Bogomazov [this message]
2010-04-12 16:56 ` INVALID connections and SNAT Jan Engelhardt

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=20100412203037.25956ce2@admin.hl.ru \
    --to=bi@hl.ru \
    --cc=netfilter@vger.kernel.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.