<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 - chain priority cannot be set by a defined variable"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1172">1172</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>chain priority cannot be set by a defined variable
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>netfilter@allycomm.com
</td>
</tr></table>
<p>
<div>
<pre>To Replicate:
* Create an nft file that contains
define PRI_FILTER = 0
table inet global {
chain prerouting {
type filter hook prerouting priority $PRI_FILTER
policy drop
}
* "execute" using nft -f <that_file>
Observed Behavior:
tmp:4:46-46: Error: syntax error, unexpected '$', expecting - or number
type filter hook prerouting priority $PRI_FILTER
^
Expected Behavior:
priority would be 0
Impact:
For multi-part rule sets, being able to centrally manage the order of execution
is critical for ensuring robustness and correctness. Needing to manage a set of
priorities across not only multiple chains, but also multiple files is error
prone.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>