<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - net-firewall/nftables-0.5-r2: limit rate: burst parameter doesn't work"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1061">1061</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>net-firewall/nftables-0.5-r2: limit rate: burst parameter doesn't work
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86_64
</td>
</tr>
<tr>
<th>URL</th>
<td>http://wiki.nftables.org/wiki-nftables/index.php/Rate_limiting_matchings
</td>
</tr>
<tr>
<th>OS</th>
<td>Gentoo
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>nft
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pablo@netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alexander.meinhardt+forum@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Wanted to use the "burst"-parameter in "limit rate" of nftables, but it doesn't
work.
nft add rule ip filter labor udp dport 33045 limit rate 3360/second burst 140
packets counter accept
<cmdline>:1:95-101: Error: syntax error, unexpected packets, expecting end of
file or newline or semicolon
add rule ip filter labor udp dport 33045 limit rate 3360/second burst 140
packets counter accept
^^^^^^^
Official commit
(<a href="http://git.netfilter.org/nftables/commit/?id=174f4a120ec7644531728621cfab5ce7fdb481c3">http://git.netfilter.org/nftables/commit/?id=174f4a120ec7644531728621cfab5ce7fdb481c3</a>)
requires a kernel >= 4.3-rc1.
Is it possible, that the snapshot from nftables v0.5 doesn't contain the
burst-function? Is there any newer snapshot than "9999" (live) available!?
I'm using:
sys-kernel/gentoo-sources-4.5.0-r1
+symlink -build -experimental -kdbus
net-firewall/nftables-0.5-r2
+readline -debug -gmp
net-libs/libnftnl-1.0.5
-examples -json -static-libs -test -xml</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>