<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:fw@strlen.de" title="Florian Westphal <fw@strlen.de>"> <span class="fn">Florian Westphal</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Does not seem to be a way to use a named quota to make decisions in a rule"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1315">bug 1315</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>fw@strlen.de
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Does not seem to be a way to use a named quota to make decisions in a rule"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1315#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Does not seem to be a way to use a named quota to make decisions in a rule"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1315">bug 1315</a>
from <span class="vcard"><a class="email" href="mailto:fw@strlen.de" title="Florian Westphal <fw@strlen.de>"> <span class="fn">Florian Westphal</span></a>
</span></b>
<pre>(In reply to Daniel from <a href="show_bug.cgi?id=1315#c0">comment #0</a>)
<span class="quote">> 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
> }
> }</span >
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"
}
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>