All of lore.kernel.org
 help / color / mirror / Atom feed
From: azurit@pobox.sk
To: netfilter@vger.kernel.org
Subject: nftables cgroup accounting problem
Date: Wed, 30 Sep 2020 19:27:55 +0200	[thread overview]
Message-ID: <20200930192755.Horde.ZHlzJB9_OgMvaVsNNXoPYcf@webmail.inetadmin.eu> (raw)

Hi,

i'm migrating from iptables to nftables and i'm having problem with  
accounting using cgroups. Everything was working on iptables but is  
printing weird errors with nftables (chain 'accounting' exists):

# mkdir /sys/fs/cgroup/net_cls,net_prio/12345
# echo 0x000112345 > /sys/fs/cgroup/net_cls,net_prio/12345/net_cls.classid
# nfacct add 12345
# iptables -I accounting -m cgroup --cgroup 0x000112345 -m nfacct  
--nfacct-name 12345
iptables: No space left on device.

# uname -a
Linux server 4.9.236 #2 SMP Thu Sep 17 16:32:19 CEST 2020 x86_64 GNU/Linux
# iptables --version
iptables v1.8.2 (nf_tables)


What am i doing wrong?

azur



             reply	other threads:[~2020-09-30 17:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30 17:27 azurit [this message]
2020-10-05  6:16 ` nftables cgroup accounting problem azurit
2020-10-05  7:53   ` Daniel
2020-10-05  8:15     ` azurit
2020-10-05  9:08       ` Daniel
2020-10-05  9:11         ` azurit
2020-10-05  9:34 ` Florian Westphal
2020-10-05 10:32   ` azurit

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=20200930192755.Horde.ZHlzJB9_OgMvaVsNNXoPYcf@webmail.inetadmin.eu \
    --to=azurit@pobox.sk \
    --cc=netfilter@vger.kernel.org \
    /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.