<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 - Optimisation fails for raw payload expressions in a valid ruleset"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1781">1781</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Optimisation fails for raw payload expressions in a valid ruleset
</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>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>Consider the following ruleset.
table ip raw {
chain PREROUTING {
type filter hook prerouting priority raw; policy accept;
@th,160,32 0x02736c00 drop comment "sl"
@th,160,112 0x870697a7a6173656f03636f6d00 drop comment
"pizzaseo.com"
}
}
Despite being valid, it fails to compile with the -o flag.
Merging:
/dev/stdin:4:3-36: @th,160,32 0x02736c00 counter drop comment "sl"
/dev/stdin:5:3-56: @th,160,112 0x870697a7a6173656f03636f6d00
counter drop comment "pizzaseo.com"
into:
@th,160,32 { 41118720, 0x870697a7a6173656f03636f6d00 } counter drop
/dev/stdin:5:15-43: Error: Value 171165475023718563678624244788480 exceeds
valid range 0-4294967295
@th,160,112 0x870697a7a6173656f03636f6d00 counter drop comment
"pizzaseo.com"</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>