All of lore.kernel.org
 help / color / mirror / Atom feed
* set of sets
@ 2022-05-19 21:40 Matt Zagrabelny
  0 siblings, 0 replies; only message in thread
From: Matt Zagrabelny @ 2022-05-19 21:40 UTC (permalink / raw)
  To: netfilter

Greetings netfilter,

I'm running nftables 1.0.2.

I have some timeout sets:

table inet filter {
        set timed_web_allow_set_0_ipv4 {
                type ipv4_addr
                timeout 30m
        }

        set timed_web_allow_set_1_ipv4 {
                type ipv4_addr
                timeout 4h
        }
[...]

I'd like to be able to reference the sets in one rule:

        chain timed_web_allow_ipv4 {
                ip saddr { @timed_web_allow_set_0_ipv4,
@timed_web_allow_set_1_ipv4 } accept
        }

...but this doesn't seem possible.

Any suggestions on how to achieve sets of sets in nftables?

Thanks for the help!

-m

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-19 21:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 21:40 set of sets Matt Zagrabelny

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.