[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181008231623.wqlhz5zn3f2q3uxl@salvia>
Date: Tue, 9 Oct 2018 01:16:23 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Chenbo Feng <chenbofeng.kernel@...il.com>
Cc: netdev@...r.kernel.org, netfilter-devel@...r.kernel.org,
kernel-team@...roid.com, Lorenzo Colitti <lorenzo@...gle.com>,
maze@...gle.com, Chenbo Feng <fengc@...gle.com>
Subject: Re: [PATCH iptables] extensions: libxt_quota: Allow setting the
remaining quota
On Mon, Oct 01, 2018 at 06:23:07PM -0700, Chenbo Feng wrote:
> From: Chenbo Feng <fengc@...gle.com>
>
> The current xt_quota module cannot track the current remaining quota
> of a specific rule. Everytime an unrelated rule is updated in the same
> iptables table, the quota will be reset. This is not a very useful
> function for iptables that get changed at run time. This patch fixes the
> above problem by adding a new field in the struct that records the
> current remaining quota.
>
> Fixed a print out bug in verbose print out wrt. inversion.
Applied, thanks.
Please, send me a patch to:
#1 add tests for iptables-tests.py, see .t file under extensions/
#2 document this new option in the manpage.
Thanks again.
Powered by blists - more mailing lists