<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 - Document limitations on identifier names"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1175">1175</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Document limitations on identifier names
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>major
</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>netfilter@allycomm.com
</td>
</tr></table>
<p>
<div>
<pre>I understand that some of the functionality within nftables requires
identifiers to be available within kernel structures and that there needs to be
a "reasonable" limit on the lengths of those identifiers.
Unfortunately, these limits are not only poorly documented, but also result in
"meaningless" error messages, such as
nftables.conf:3:1-14: Error: Could not process rule: No such file or directory
flush ruleset
^^^^^^^^^^^^^^
(Error messaging to be the subject of another issue)
In searching the "official" documentation, there is little to describe the
limits on length.
===
<<a href="https://wiki.nftables.org/wiki-nftables/index.php/Configuring_tables">https://wiki.nftables.org/wiki-nftables/index.php/Configuring_tables</a>>
(nothing)
===
<<a href="https://wiki.nftables.org/wiki-nftables/index.php/Configuring_chains">https://wiki.nftables.org/wiki-nftables/index.php/Configuring_chains</a>>
(nothing)
===
<<a href="https://wiki.nftables.org/wiki-nftables/index.php/Scripting">https://wiki.nftables.org/wiki-nftables/index.php/Scripting</a>>
(define syntax described here -- nothing)
===
<<a href="https://wiki.nftables.org/wiki-nftables/index.php/Sets">https://wiki.nftables.org/wiki-nftables/index.php/Sets</a>>
"Current maximum name length is 16 characters."
(assumed to apply to sets and not necessarily other identifiers, especially
given the man page description of "identifiers")
===
<<a href="https://wiki.nftables.org/wiki-nftables/index.php/Quick_reference-nftables_in_10_minutes">https://wiki.nftables.org/wiki-nftables/index.php/Quick_reference-nftables_in_10_minutes</a>>
(nothing)
===
<<a href="http://www.netfilter.org/projects/nftables/manpage.html">http://www.netfilter.org/projects/nftables/manpage.html</a>>
Under LEXICAL CONVENTIONS
Identifiers begin with an alphabetic character (a-z,A-Z), followed zero or more
alphanumeric characters (a-z,A-Z,0-9) and the characters slash (/), backslash
(\), underscore (_) and dot (.). Identifiers using different characters or
clashing with a keyword need to be enclosed in double quotes (").
Under SYMBOLIC VARIABLES
(nothing)
Under TABLES, CHAINS
(nothing)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>