Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Kerin Millar <kerframil@gmail.com>
To: netfilter@vger.kernel.org
Subject: Re: ICMP packets seeping through a DROP policy - security concern
Date: Mon, 05 Mar 2012 19:51:17 +0000	[thread overview]
Message-ID: <jj35fo$t1p$1@dough.gmane.org> (raw)
In-Reply-To: <20120304172506.2e79468a@mistral.stie>

On 04/03/2012 22:25, jonetsu wrote:
> The setup is:
>
> unit1<-->  eth4  unit3  eth1<-->  unit2
>
> unit1 is continuously pinging unit2 via unit3. Rules are applied
> on unit3.

In that case, it's the FORWARD chain that matters. The behaviour of 
kernel 3.0.0 seems correct; ping continues to work because the ICMP is 
subjected to connection tracking and you are allowing 
RELATED/ESTABLISHED traffic in the FORWARD chain. To test the INPUT 
chain, you should be pinging unit3, not unit2.

Cheers,

--Kerin


  reply	other threads:[~2012-03-05 19:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-04 22:25 ICMP packets seeping through a DROP policy - security concern jonetsu
2012-03-05 19:51 ` Kerin Millar [this message]
2012-03-07  1:09   ` jonetsu

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='jj35fo$t1p$1@dough.gmane.org' \
    --to=kerframil@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox