From: Arturo Borrero Gonzalez <arturo@netfilter.org>
To: Siebzehn <siebzehntausend@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: No interval possible on Concatenation-Sets
Date: Wed, 16 Sep 2020 15:05:51 +0200 [thread overview]
Message-ID: <f293db98-c46e-f7f0-101f-e83992d545c8@netfilter.org> (raw)
In-Reply-To: <CAFJ60arM0h53jtvAb6FgzXYeySZ5L7X-_ApU9JbCMRBGi98soA@mail.gmail.com>
On 2020-09-16 11:05, Siebzehn wrote:
> Hello,
>
> I'm filtering Address-Ranges and Ports to let them though. However it
> doesn't seem to accept "flags intervals".
> Even the Example on the wiki isn't getting accepted!
>
> Example from
> https://wiki.nftables.org/wiki-nftables/index.php/Concatenations#Network_addresses
> flush ruleset
> table inet mytable {
> set myset {
> type ipv4_addr . ipv4_addr
> flags interval
> elements = { 192.168.0.0/16 . 172.16.0.0/25,
> 10.0.0.0/30 . 192.168.1.0/24,
> }
> }
>
> chain mychain {
> ip saddr . ip daddr @myset counter accept
> }
> }
>
Make sure you are using:
* nftables >= 0.9.4
* kinux kernel >= 5.6
regards.
next prev parent reply other threads:[~2020-09-16 13:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-16 9:05 No interval possible on Concatenation-Sets Siebzehn
2020-09-16 12:52 ` Florian Westphal
2020-09-16 13:52 ` Siebzehn
2020-09-16 13:05 ` Arturo Borrero Gonzalez [this message]
2020-09-16 13:51 ` Siebzehn
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=f293db98-c46e-f7f0-101f-e83992d545c8@netfilter.org \
--to=arturo@netfilter.org \
--cc=netfilter@vger.kernel.org \
--cc=siebzehntausend@gmail.com \
/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.