[Bug 1314] New: nft reset quotas does not reset anonymous quotas

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Mon Dec 31 22:44:24 CET 2018


https://bugzilla.netfilter.org/show_bug.cgi?id=1314

            Bug ID: 1314
           Summary: nft reset quotas does not reset anonymous quotas
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: Debian GNU/Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: dlakelan at street-artists.org

supposing that I have a quota myquota then

meta mark 0x123 quota named myquota

will count the packets. and "nft reset quotas" will reset the quota

Suppose instead I want to use an anonymous quota to drop packets

meta mark 0x123 quota over 1500 mbytes drop

works, but "nft reset quotas" DOES NOT reset the quota. I can reset the quota
doing a complete reload "nft -f /etc/nftables.conf" for example.

This is on Debian: 

root at pico:~# cat /proc/version 
Linux version 4.19.0-1-amd64 (debian-kernel at lists.debian.org) (gcc version
8.2.0 (Debian 8.2.0-12)) #1 SMP Debian 4.19.9-1 (2018-12-16)

root at pico:~# nft --version
nftables v0.9.0 (Fearless Fosdick)

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20181231/4e2bd56f/attachment.html>


More information about the netfilter-buglog mailing list