<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 - The -s option does not always exclude stateful information for sets"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1716">1716</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>The -s option does not always exclude stateful information for sets
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>1.0.x
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86_64
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</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>kfm@plushkava.net
</td>
</tr></table>
<p>
<div>
<pre>All of the following examples concern the exact same loaded ruleset.
Here is an example of stateful information being properly omitted.
# nft -s list set netdev filter block_bogons | head -n6
table netdev filter {
set block_bogons {
type ipv4_addr
flags interval,timeout
timeout 1d
elements = { 0.0.0.0/8, 10.0.0.0/8,
Here is an example of stateful information not being omitted, despite the use
of the -s option. The second address has been obfuscated for reasons of
privacy.
# nft -s list set netdev filter dropped | head -n7
table netdev filter {
set dropped {
type ipv4_addr . ipv4_addr
size 65535
flags dynamic,timeout
timeout 1h
elements = { 146.88.240.17 . ___________ timeout 1h,
Here is another example of stateful information not being omitted. The
addresses have been obfuscated for reasons of privacy.
# nft -s list set ip filter meter_client | head -n7
table ip filter {
set meter_client {
type ipv4_addr
size 131070
flags dynamic,timeout
timeout 2m30s
elements = { ______________ limit rate 12/minute burst 30
packets timeout 2m30s, _____________ limit rate 12/minute burst 30 packets
timeout 2m30s,
The expected outcome is that specifying the -s option consistently excludes the
stateful information associated with the set elements.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>