<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 - nft improperly merges intervals"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1303">1303</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>nft improperly merges intervals
</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>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</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>trever@middleearth.sapphiresunday.org
</td>
</tr></table>
<p>
<div>
<pre>Please consider the following rules:
oifname "ppp0" ip saddr { 10.0.0.0/23, 10.1.1.0/24 } counter packets 76
bytes 4704 masquerade
oifname "ppp0" ip saddr 10.1.1.0/25 counter packets 0 bytes 0
masquerade
oifname "ppp0" ip saddr 10.0.1.0/24 counter packets 0 bytes 0
masquerade
oifname "ppp0" ip saddr 10.0.0.0/24 counter packets 0 bytes 0
masquerade
oifname "ppp0" ip saddr 10.1.1.128/25 counter packets 0 bytes 0
masquerade
The second and last are properly merged in the first (which should have four
entries without merging). Combining the third and fourth into a /23 is NOT
correct. If this was a block rule, it would lead to improperly denying things,
if it was an accept it is a huge security hole. Masquerade... there are reasons
it is likely a security hole as well.
I assume this is a user space and not kernel problem, but it is just as likely
the other.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>