From: Florian Westphal <fw@strlen.de>
To: Siebzehn <siebzehntausend@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: No interval possible on Concatenation-Sets
Date: Wed, 16 Sep 2020 14:52:11 +0200 [thread overview]
Message-ID: <20200916125211.GS7319@breakpoint.cc> (raw)
In-Reply-To: <CAFJ60arM0h53jtvAb6FgzXYeySZ5L7X-_ApU9JbCMRBGi98soA@mail.gmail.com>
Siebzehn <siebzehntausend@gmail.com> wrote:
> 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
> }
> }
>
> Error:
> nft -f TestD.nft
> TestD.nft:4:9-13: Error: Could not process rule: Invalid argument
> set myset {
Concatenations with intervals need kernel 5.6 or newer.
next prev parent reply other threads:[~2020-09-16 12:52 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 [this message]
2020-09-16 13:52 ` Siebzehn
2020-09-16 13:05 ` Arturo Borrero Gonzalez
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=20200916125211.GS7319@breakpoint.cc \
--to=fw@strlen.de \
--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.