netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is there a way to extend the timeout of elements in an nftables set?
@ 2025-10-11 10:09 Cyrus
  2025-10-11 14:11 ` Florian Westphal
  0 siblings, 1 reply; 3+ messages in thread
From: Cyrus @ 2025-10-11 10:09 UTC (permalink / raw)
  To: netfilter

With ipsets, the timeout of an element in a set gets extended each
time you `ipset add` it. However, that doesn't happen with nftables
(v1.1.1) sets - when you `nft add` an element, the timeout is set
initially but never subsequently updated. Is there another way to do
this that I'm missing?

Regardless, I think it's worth noting that the existing behavior makes
the `nftset` functionality of dnsmasq (where it automatically adds
select resolved IPs to nftables sets) unusable for me compared to its
equivalent `ipset` functionality.

Thanks,
Cyrus

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-11 17:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-11 10:09 Is there a way to extend the timeout of elements in an nftables set? Cyrus
2025-10-11 14:11 ` Florian Westphal
     [not found]   ` <CAEcyiz9P17KroeRMVFXrwggAF2Yzy7_uadJoQ6yZBa=07LwiXQ@mail.gmail.com>
2025-10-11 17:26     ` Cyrus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).