<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:fw@strlen.de" title="Florian Westphal <fw@strlen.de>"> <span class="fn">Florian Westphal</span></a>
</span> changed
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Segmentation fault when printing a rule checking byte zero of NFT_PAYLOAD_LL_HEADER"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1226">bug 1226</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>pablo@netfilter.org
</td>
<td>fw@strlen.de
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>fw@strlen.de
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>ASSIGNED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Segmentation fault when printing a rule checking byte zero of NFT_PAYLOAD_LL_HEADER"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1226#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Segmentation fault when printing a rule checking byte zero of NFT_PAYLOAD_LL_HEADER"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1226">bug 1226</a>
from <span class="vcard"><a class="email" href="mailto:fw@strlen.de" title="Florian Westphal <fw@strlen.de>"> <span class="fn">Florian Westphal</span></a>
</span></b>
<pre>I'll send a fix asap, thanks for reporting.
The rule inserted is this:
inet my_table my_chain 2
[ payload load 6b @ link header + 0 => reg 1 ]
[ cmp eq reg 1 0x00000000 0x00000000 ]
nft add rule .. ether daddr 0 generates this:
[ meta load iiftype => reg 1 ];needed so we only test ethernet frames
[ cmp eq reg 1 0x00000001 ]
[ payload load 6b @ link header + 0 => reg 1 ]
[ cmp eq reg 1 0x00000000 0x00000000 ]
When decoding, nft uses proto_inet to find the header layout to decode,
which is not correct.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>