All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Kerin Millar <kfm@plushkava.net>
Cc: Florian Westphal <fw@strlen.de>, Slavko <linux@slavino.sk>,
	netfilter@vger.kernel.org
Subject: Re: ipset vs. nftables set
Date: Tue, 12 Nov 2024 20:57:25 +0100	[thread overview]
Message-ID: <ZzOzJcTdsryZ-GxZ@calendula> (raw)
In-Reply-To: <85dff1ec-b8f0-4ba0-a893-d942d12fed81@app.fastmail.com>

On Tue, Nov 12, 2024 at 07:44:17PM +0000, Kerin Millar wrote:
> On Tue, 12 Nov 2024, at 6:18 PM, Florian Westphal wrote:
> > Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> >> > But one can have multiple hooks (chains) in one table, even with the
> >> > same priority (i not suggest that). Thus one can combine multiple
> >> > tables into one and share sets, eg. in raw & filter hooks.
> >> 
> >> Don't do that, please.
> >
> > Why not?  Single-table approach makes sense, in my opinion,
> > provided that single table is controlled by single entity, be
> > that a program like firewalld or traditional sysadmin.
> >
> > With multi-table things become awkward due to the imposed
> > scoping rules that prevent cross-table use of sets/maps.
> 
> I read it as being an objection to (potentially) using hooks that
> duplicate one another exactly. Mind you, if it be considered so
> objectionable, why doesn't nft refuse to compile rulesets that do
> this? Or, at least, raise a warning.

A warning to what? example?

  reply	other threads:[~2024-11-12 19:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-12 14:55 ipset vs. nftables set Thomas Koeller
2024-11-12 17:31 ` Kerin Millar
2024-11-12 17:46   ` Slavko
2024-11-12 18:14     ` Pablo Neira Ayuso
2024-11-12 18:18       ` Florian Westphal
2024-11-12 18:28         ` Pablo Neira Ayuso
2024-11-12 19:44         ` Kerin Millar
2024-11-12 19:57           ` Pablo Neira Ayuso [this message]
2024-11-12 20:23             ` Kerin Millar
2024-11-12 21:04               ` Slavko
2024-11-12 18:14 ` Pablo Neira Ayuso

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=ZzOzJcTdsryZ-GxZ@calendula \
    --to=pablo@netfilter.org \
    --cc=fw@strlen.de \
    --cc=kfm@plushkava.net \
    --cc=linux@slavino.sk \
    --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.