[Bug 1315] Does not seem to be a way to use a named quota to make decisions in a rule

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Sun Jul 14 11:31:57 CEST 2019


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

Florian Westphal <fw at strlen.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fw at strlen.de

--- Comment #1 from Florian Westphal <fw at strlen.de> ---
(In reply to Daniel from comment #0)
> Suppose I want to use a named quota to make decisions about what to do with
> packets:
> 
> table inet foo {
>   quota myquota {1000 mbytes used 0 bytes}
> 
> 
>   chain foochain{
>     meta mark 0x123 quota named myquota comment "count packets with a
> certain mark"
>     meta mark 0x123 quota myquota over 1000 mbytes drop
>   }
> }


This should work:
table inet foo {
        quota myquota {
                over 1000 mbytes
        }

        chain foochain {
                meta mark 0x00000123 quota name "myquota" drop comment "count
packets with a certain mark"
        }
}

-- 
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/20190714/1c663851/attachment.html>


More information about the netfilter-buglog mailing list