]> git.ipfire.org Git - thirdparty/nftables.git/commit
doc: clarify evaluation of chains
authorChristoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Sat, 11 Oct 2025 00:23:57 +0000 (02:23 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 15 Oct 2025 11:46:20 +0000 (13:46 +0200)
commitd79c1587084520e3513eaca5eb7b3dbd6500d14d
treec06a6dd539088f631b486322566a3f606aa709c1
parentfef2a4de106664bf64946e3ec575c98e19856fb8
doc: clarify evaluation of chains

In particular:
- Mention that grouping of chains in tables is irrelevant to the evaluation
  order.
- Clarify that priorities only define the ordering of chains per hook.
- Improved potentially ambiguous wording “lower priority values have precedence
  over higher ones”, which could be mistaken as that rules from lower priority
  chains might “win” over such from higher ones (which is however only the case
  if they drop/reject packets).
  The new wording merely describes which chains are evaluated first, implicitly
  referring the question which verdict “wins” to the section where verdicts are
  described, and also should work when lower priority chains mangle packets (in
  which case they might actually be considered as having “precedence”).

Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Signed-off-by: Florian Westphal <fw@strlen.de>
doc/nft.txt