<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 - RAW PAYLOAD EXPRESSION offset is limited to 2048"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1775">1775</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>RAW PAYLOAD EXPRESSION offset is limited to 2048
</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>All
</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>lev.shutov@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>RAW PAYLOAD EXPRESSION described here
<a href="https://manpages.debian.org/bookworm/nftables/nft.8.en.html#RAW_PAYLOAD_EXPRESSION">https://manpages.debian.org/bookworm/nftables/nft.8.en.html#RAW_PAYLOAD_EXPRESSION</a>
It has "offset" argument.
According to my tests it is limited to 2048.
--------------------------------------------------------------------------------
nft delete table raw-payload-test
nft add table raw-payload-test
nft add chain raw-payload-test input {type filter hook input priority filter\;}
nft add rule raw-payload-test input tcp dport 80 @ih,2047,8 1 log
nft add rule raw-payload-test input tcp dport 80 @ih,2048,8 2 log
--------------------------------------------------------------------------------
The 2nd rule throws error.
2048 bits is 256 bytes.
So RAW PAYLOAD EXPRESSION can be used only for the first 256 bytes of packet.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>