All of lore.kernel.org
 help / color / mirror / Atom feed
From: Slavko <linux@slavino.sk>
To: netfilter@vger.kernel.org
Subject: list sets
Date: Sat, 11 Jan 2025 11:07:59 +0100	[thread overview]
Message-ID: <20250111110759.6bc33181@bonifac.skk> (raw)

Hi,

recently i start to use fail2ban with nftables and it works. It uses
separate (configurable) table for its rules, where it puts particular
sets.

But i noticed, that while i can list all sets in nftables, or limit
that list to particular family, i cannot list sets of only one table:

    nft -t list sets inet f2ban
    Error: syntax error, unexpected string, expecting end of file or \
        newline or semicolon
    list sets inet f2ban
                   ^^^^^

That result matches with the manpage, but it is surprising for me,
especially when the sets belongs to table by definition...

Please, is here some special reason for that limitation, or just nobody
coded it yet?

regards

-- 
Slavko
https://www.slavino.sk

             reply	other threads:[~2025-01-11 10:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-11 10:07 Slavko [this message]
2025-01-11 12:33 ` list sets Florian Westphal
2025-01-11 13:03   ` Slavko

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=20250111110759.6bc33181@bonifac.skk \
    --to=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.