[Bug 1176] Invalid identifiers produce unhelpful error messages

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Aug 23 23:36:01 CEST 2017


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

--- Comment #4 from Jeff Kletsky <netfilter at allycomm.com> ---
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
    }

}

-- 
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/20170823/cafb0eba/attachment.html>


More information about the netfilter-buglog mailing list