[Bug 1283] New: names must be strings

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Oct 17 10:39:11 CEST 2018


            Bug ID: 1283
           Summary: names must be strings
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: koetter at luis.uni-hannover.de

With ipset it was possible to use : in set names, nft does not allow ":" in
names and does not accept quoted_strings as set names.
On the other hand {addr,time,dec,hex}string and ip6addr_rfc2732 are accepted as
set name.
So you can have a set named ::1, but you can't have a set named
"blocked:host:ip" and "blocked:host:ip6".

In case : is not acceptable in set names for syntax reasons, I'd be fine with
using quoted strings for non-alphanumeric set names.

Seems like this issue applies to everything using identifier (STRING as
acceptable type), including tables chains sets flowtables objects.

nft -v
nftables v0.9.0 (Fearless Fosdick)

Linux p0 4.18.0-0.bpo.1-amd64 #1 SMP Debian 4.18.6-1~bpo9+1 (2018-09-13) x86_64

You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20181017/b6d3cf5e/attachment.html>

More information about the netfilter-buglog mailing list