From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: nfacct: setting quotas does not seem to work. Date: Thu, 18 Aug 2016 16:54:12 +0200 Message-ID: <20160818145412.GA2680@salvia> References: <59114b3a-5fff-4099-e2f7-d749be4e1511@toulouse.viveris.com> <20160817224457.GA5647@salvia> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netfilter-devel@vger.kernel.org To: Josue Alvarez Return-path: Received: from ganesha.gnumonks.org ([213.95.27.120]:44951 "EHLO ganesha.gnumonks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753915AbcHSGsI (ORCPT ); Fri, 19 Aug 2016 02:48:08 -0400 Content-Disposition: inline In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: On Thu, Aug 18, 2016 at 09:34:04AM +0200, Josue Alvarez wrote: > On 18/08/2016 00:44, Pablo Neira Ayuso wrote: > >Probably using an old kernel version with no quota support? > > I found out that the issue came from libnetfilter_acct, from which I had one > package installed (1.0.2) and some binaries from the git version installed > with 'make install' from the sources. The linking happened on the 1.0.2, > which does not seem to support quotas (nfacct_attr_set and nfacct_attr_get > do not handle the cases NFACCT_ATTR_QUOTA and NFACCT_ATTR_FLAGS). > After removing that package it worked well. > > By the way, there's actually no release of libnetfilter_acct with quota > support, am I wrong ? > That's not a problem for me, but it could be for other users. Will include this in the scheduled release of libnetfilter_conntrack and conntrack-tools.