From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Phil Sutter <phil@nwl.cc>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [nft PATCH] doc: nft.8: Document lower priority limit for nat type chains
Date: Thu, 9 Mar 2023 16:23:25 +0100 [thread overview]
Message-ID: <ZAn57dCJmPkoBns/@salvia> (raw)
In-Reply-To: <20230309135246.18143-1-phil@nwl.cc>
On Thu, Mar 09, 2023 at 02:52:46PM +0100, Phil Sutter wrote:
> Users can't know the magic limit.
>
> Signed-off-by: Phil Sutter <phil@nwl.cc>
> ---
> doc/nft.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/doc/nft.txt b/doc/nft.txt
> index 7de4935b4b375..0d60c7520d31e 100644
> --- a/doc/nft.txt
> +++ b/doc/nft.txt
> @@ -439,6 +439,9 @@ name which specifies the order in which chains with the same *hook* value are
> traversed. The ordering is ascending, i.e. lower priority values have precedence
> over higher ones.
>
> +With *nat* type chains, there's a lower excluding limit of -200 for *priority*
> +values, because conntrack hooks at this priority and NAT requires it.
prerouting, output -200 NF_IP_PRI_CONNTRACK
this should only apply in these two hooks, it should be possible to
relax this in input and postrouting in the kernel.
> +
> Standard priority values can be replaced with easily memorizable names. Not all
> names make sense in every family with every hook (see the compatibility matrices
> below) but their numerical value can still be used for prioritizing chains.
> --
> 2.38.0
>
next prev parent reply other threads:[~2023-03-09 15:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-09 13:52 [nft PATCH] doc: nft.8: Document lower priority limit for nat type chains Phil Sutter
2023-03-09 15:23 ` Pablo Neira Ayuso [this message]
2023-03-09 15:32 ` Phil Sutter
2023-03-09 17:34 ` Pablo Neira Ayuso
2023-03-10 11:46 ` Phil Sutter
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=ZAn57dCJmPkoBns/@salvia \
--to=pablo@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=phil@nwl.cc \
/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