All of lore.kernel.org
 help / color / mirror / Atom feed
* nftables support for cgroup v2 filtering by path
@ 2021-08-18 10:36 Mathieu Ruellan
  2021-08-18 18:38 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Mathieu Ruellan @ 2021-08-18 10:36 UTC (permalink / raw)
  To: netfilter

Hello,

I'm facing the same issue than here:
https://marc.info/?l=netfilter&m=161896252706060&w=2

I'm using the last release 0.9.9. Is there somewhere a documentation
or a syntax example?

Kind regards,

Mathieu

^ permalink raw reply	[flat|nested] 5+ messages in thread
* nftables support for cgroup v2 filtering by path
@ 2021-04-19  1:13 Yves Perrenoud
  2021-04-20 23:48 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Yves Perrenoud @ 2021-04-19  1:13 UTC (permalink / raw)
  To: netfilter

Hi,

I'm trying to convert from iptables/ip6tables (legacy) to nftables, but 
unfortunately, there seems to be a key element missing for me to be able 
to achieve that, and that's for cgroup v2 support in nftables.

As of systemd v248 (the latest stable version), systemd now defaults to 
only using cgroup v2. However, "meta cgroup" only works against a 
"net_cls.classid" from cgroup v1. There seems to be no way (in 0.9.8) to 
filter by cgroup v2 path.

iptables's cgroup module has a "--path" option that allows one to apply 
rules to a given cgroup v2. It would seem that nftables should have a 
meta "cgroup2" keyword that matches against cgroup v2 paths, to match 
the iptables functionality.

So unless I'm missing something, nftables currently doesn't support 
cgroup v2. Is there a plan to support it in the future?

Regards, Yves.

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

end of thread, other threads:[~2021-08-18 18:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-18 10:36 nftables support for cgroup v2 filtering by path Mathieu Ruellan
2021-08-18 18:38 ` Pablo Neira Ayuso
2021-08-18 18:38   ` Pablo Neira Ayuso
  -- strict thread matches above, loose matches on Subject: below --
2021-04-19  1:13 Yves Perrenoud
2021-04-20 23:48 ` Pablo Neira Ayuso

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.