Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Cristian Constantin <const.crist@googlemail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: nft set load metrics
Date: Thu, 30 Sep 2021 16:00:05 +0200	[thread overview]
Message-ID: <YVXC5cPRHyaE3VRL@salvia> (raw)
In-Reply-To: <CANCV4NMrw5m_-DCwnFGahygVnMGuVnU-RouBCqOsg6QX7z4AKQ@mail.gmail.com>

On Thu, Sep 30, 2021 at 01:21:26PM +0200, Cristian Constantin wrote:
> hi!
> 
> is there a way to get from the kernel just some metrics about nft
> sets, without getting
> all (possibly lots of) elements of the set?
> 
> e.g.:
> 
> - number of full ip addresses (i.e. /32 prefix for ipv4);
> - number of "prefix" elements;
> - number of intervals;

It's possible to extend the interface to expose this, but how useful
is this?

  reply	other threads:[~2021-09-30 14:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 11:21 nft set load metrics Cristian Constantin
2021-09-30 14:00 ` Pablo Neira Ayuso [this message]
2021-09-30 15:47   ` Cristian Constantin
2021-09-30 17:34     ` G.W. Haywood
2021-09-30 18:12       ` Pablo Neira Ayuso
2021-09-30 19:01       ` Cristian Constantin
2021-09-30 18:04     ` Pablo Neira Ayuso
2021-09-30 18:46       ` Cristian Constantin
2021-10-02 11:54       ` 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=YVXC5cPRHyaE3VRL@salvia \
    --to=pablo@netfilter.org \
    --cc=const.crist@googlemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox