netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Gao feng <gaofeng@cn.fujitsu.com>
Cc: netfilter-devel@vger.kernel.org, pablo@netfilter.org
Subject: Re: nat drop the icmp redirect packet
Date: Fri, 02 Dec 2011 13:58:42 +0100	[thread overview]
Message-ID: <4ED8CB82.40603@trash.net> (raw)
In-Reply-To: <4ED862E6.6090104@cn.fujitsu.com>

On 02.12.2011 06:32, Gao feng wrote:
> 于 2011年12月01日 18:20, Patrick McHardy 写道:
>> Yes, as I said, we could set up a NULL source mapping on the
>> conntrack of the original packet and let the REDIRECT through.
>> The user might have configured a source NAT rule though which
>> would become ineffective by this.
>>
> 
> Hi Patrick:
> 
> Yes,you are right.
> 
> You mean we have no idea of the ICMP REDIRECT packet being droppen
> when nat is not finished?

We can't determine whether we could let it through at that point.
The safe choice is to drop it.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-12-02 12:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28  1:12 nat drop the icmp redirect packet Gao feng
2011-11-28  1:23 ` Gao feng
2011-11-30  4:00   ` Gao feng
2011-11-30 18:53 ` Patrick McHardy
2011-12-01  0:59   ` Gao feng
2011-12-01 10:20     ` Patrick McHardy
2011-12-02  5:32       ` Gao feng
2011-12-02 12:58         ` Patrick McHardy [this message]
2011-12-05  1:18           ` Gao feng

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=4ED8CB82.40603@trash.net \
    --to=kaber@trash.net \
    --cc=gaofeng@cn.fujitsu.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).