From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Mike Dillinger <miked@softtalker.com>
Cc: netfilter@vger.kernel.org
Subject: Re: nftables: Counters Not Working with Sets of Type Interval
Date: Mon, 6 Jul 2020 13:20:35 +0200 [thread overview]
Message-ID: <20200706112035.GA29659@salvia> (raw)
In-Reply-To: <f1324dfd-070c-1bda-0aad-22736f99ac55@softtalker.com>
On Sun, Jul 05, 2020 at 06:25:57PM -0700, Mike Dillinger wrote:
> Hello,
>
> Recently, nftables added counters to sets. I've been using it and
> it works fine with type ipv4_addr. However, I have a set with with
> type ipv4_addr and the interval flag is set. I then add CIDR's to
> the set but do not see any counters when an IP address within the
> set interval range does something. This may be intentional with
> intervals though, meaning counters intentionally don't work with
> intervals, but I thought I would check to confirm the intended
> implementation.
It's a bug in userspace nft, this patch fixes up this:
https://patchwork.ozlabs.org/project/netfilter-devel/patch/20200706111748.29601-1-pablo@netfilter.org/
prev parent reply other threads:[~2020-07-06 11:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-06 1:25 nftables: Counters Not Working with Sets of Type Interval Mike Dillinger
2020-07-06 11:20 ` Pablo Neira Ayuso [this message]
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=20200706112035.GA29659@salvia \
--to=pablo@netfilter.org \
--cc=miked@softtalker.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