All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Nooden <lars.curator@gmail.com>
Cc: "netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: REJECT as a default policy
Date: Tue, 12 Jan 2010 13:21:37 +0200	[thread overview]
Message-ID: <4B4C5B41.7000500@gmail.com> (raw)
In-Reply-To: <56378e321001111408mbeef328j62261c7a0215e122@mail.gmail.com>

Richard Horton wrote:
> I think all the OP means is DROP is valid policy target where as
> REJECT isn't. 

Yes.

> The big problem though is that DROP / ACCEPT as policy
> targets or jump targets require no options where as the REJECT target
> can take options to control the returned ICMP code, which with the
> current policy handler you couldn't specifiy.

Ok.  The limitation is a characteristic of the current policy handler,
so it's a non-trivial task to allow REJECT as a default policy.

Mart Frauenlob wrote:
> you will not have control over how many (limit) and what type of icmp
> error is through'n out (would need new policy handler).

Thanks, Mart and Richard.  That answers a pair of question I was going
to ask but unsure of how to phrase.

/Lars

  parent reply	other threads:[~2010-01-12 11:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-11 12:02 REJECT as a default policy Lars Nooden
2010-01-11 20:12 ` Gary Smith
2010-01-11 22:08   ` Richard Horton
2010-01-11 22:12     ` Gary Smith
2010-01-12 11:21     ` Lars Nooden [this message]
     [not found]       ` <4B4C7242.9070403@freemail.hu>
2010-01-12 13:31         ` Lars Nooden
2010-01-12 14:54           ` Mart Frauenlob
2010-01-12  7:53 ` Mart Frauenlob

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=4B4C5B41.7000500@gmail.com \
    --to=lars.curator@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 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.