[Bug 896] New: You can not add the follow kinds of sets: mark, integer, string, lladdr

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Feb 5 19:51:42 CET 2014


https://bugzilla.netfilter.org/show_bug.cgi?id=896

           Summary: You can not add the follow kinds of sets: mark,
                    integer, string, lladdr
           Product: nftables
           Version: unspecified
          Platform: x86_64
        OS/Version: Debian GNU/Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: nft
        AssignedTo: pablo at netfilter.org
        ReportedBy: anarey.spam at gmail.com
   Estimated Hours: 0.0


Tt's impossible add these specific kinds of sets: mark, integer, string,
lladdr. Only you can add ipv4_address, ipv6_address (bug
https://bugzilla.netfilter.org/show_bug.cgi?id=895) and inet_service set.


 (tests) $ sudo nft add set ip t-ip2 set-mark { type mark\;}
<cmdline>:1:34-37: Error: syntax error, unexpected mark, expecting string
add set ip t-ip2 set-mark { type mark;}
                                 ^^^^
 (tests) $ sudo nft add set ip t-ip2 set-integer { type integer\;}
<cmdline>:0:30-44: Error: unqualified key data type specified in set definition
add set ip t-ip2 set-integer { type integer;}
                             ^^^^^^^^^^^^^^^
 (tests) $ sudo nft add set ip t-ip2 set-string { type string\;}
<cmdline>:0:29-42: Error: unqualified key data type specified in set definition
add set ip t-ip2 set-string { type string;}
                            ^^^^^^^^^^^^^^
 (tests) $ sudo nft add set ip t-ip2 set-lladdr { type lladdr\;}
<cmdline>:0:29-42: Error: unqualified key data type specified in set definition
add set ip t-ip2 set-lladdr { type lladdr;}
                            ^^^^^^^^^^^^^^
$ sudo nft list table ip t-ip2
table ip t-ip2 {
    set set-ip {
        type ipv4_address
    }

    set set-inetser {
        type inet_service
    }

    chain c-filter {
         type filter hook input priority 0;
    }
}

I can always reproduce this bug.

The last commit in libmnl repo is "090a842 examples: use mnl_socket_setsockopt"
The last commit in libnftnl repo is "076fd1e include: add cached copy of
linux/kernel.h"
The last commit in nftables repo is 11ba325 bump release number to 0.100

-- 
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the netfilter-buglog mailing list