From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [nftables] sets update concatenation? Date: Sat, 26 Sep 2020 20:21:45 +0200 Message-ID: <20200926182145.GA3628@salvia> References: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="utf-8" To: =?utf-8?B?0b3SieG2rOG4s+KEoA==?= Cc: "netfilter@vger.kernel.org" On Fri, Sep 25, 2020 at 07:10:00PM +0000, ѽ҉ᶬḳ℠ wrote: > Been trying to concatenate sets update: > > tcp dport @b_t update @b_sa4 { ip saddr } drop; > tcp dport @b_t update @b_sa6 { ip6 saddr } drop; > > with: > > tcp dport @b_t update @b_sa4 . @b_sa4 { ip saddr . ip6 saddr } drop; What's the intention here? > but that did not work out. Is somehow possible to concatenate sets update? Yes, you can do: tcp dport @b_t update @b_sa4 { ip saddr . ip6 saddr } drop You can update one single set at a time. Not sure what you expect from this concatenating sets instead of keys.