<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Invalid identifiers produce unhelpful error messages"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1176#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Invalid identifiers produce unhelpful error messages"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1176">bug 1176</a>
from <span class="vcard"><a class="email" href="mailto:netfilter@allycomm.com" title="Jeff Kletsky <netfilter@allycomm.com>"> <span class="fn">Jeff Kletsky</span></a>
</span></b>
<pre>Same unhelpful error message if set identifier is too long
nftables.conf:3:1-14: Error: Could not process rule: Numerical result out of
range
flush ruleset
^^^^^^^^^^^^^^
nftables.conf:3:1-14: Error: Could not process rule: Numerical result out of
range
flush ruleset
^^^^^^^^^^^^^^
$ cat nftables.conf
#!/usr/sbin/nft -f
flush ruleset
table inet global {
define identifier123456789212345678931234567894123456789512345678961234. =
one
define identifier123456789212345678931234567894123456789512345678961234_ =
one
chain prerouting12345678921234567893. {
type filter hook prerouting priority -175
}
chain prerouting12345678921234567893_ {
type filter hook prerouting priority -50
}
set identifier123456789212345678931. {
type inet_service
}
set identifier123456789212345678931_ {
type inet_service
}
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>