[Bug 1475] New: Array of addresses wrongly processed

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Tue Oct 6 14:00:46 CEST 2020


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

            Bug ID: 1475
           Summary: Array of addresses wrongly processed
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: kees.dejong+dev at neobits.nl

Tested and confirmed the following bug on Debian 10 (nftables-0.9.0-2 on kernel
5.4.51-v7l+) and Fedora 32 (nftables-0.9.3-3.fc32.x86_64 on kernel
5.8.12-200.fc32.x86_64).

I use the following command: `nft add rule inet firewalld filter_INPUT iifname
"eth0" ip saddr { 172.27.10.0/24, 172.27.11.0/24 } ip daddr 172.27.10.0/24 ct
state new accept`

Which is processed in the running configuration as: `iifname "eth0" ip saddr {
172.27.10.0/23 } ip daddr 172.27.10.0/24 ct state new accept`

Notice that the subnet has become /23 instead of the /24. Also, the second
IP/subnet is not included. I also reproduced this on a non-firewalld managed
system. Is the syntax incorrect? Or is the array wrongly processed?

-- 
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/20201006/e0dc6a58/attachment.html>


More information about the netfilter-buglog mailing list