<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Document limitations on identifier names"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1175#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Document limitations on identifier names"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1175">bug 1175</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>The limit on set identifiers appears to be 31 characters, conflicting with the
wiki on this point. It also appears that the limit on chain identifiers is also
31 characters.
The limit on define identifiers ("variable names") appears to be somewhere in
excess of 65 characters.
~/build/nftables$ git log -1
commit d74eed8c9649e9278b69f2cd0fd92f71e3e19cfb (HEAD -> master, tag:
2017-08-19, origin/master, origin/HEAD)
Author: Varsha Rao <<a href="mailto:rvarsha016@gmail.com">rvarsha016@gmail.com</a>>
Date: Wed Aug 16 19:48:17 2017 +0530
$ 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 identifier12345678921234567893. {
type inet_service
}
set identifier12345678921234567893_ {
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>