bugzilla-daemon at netfilter.org
2020-Oct-06 12:00 UTC
[Bug 1475] New: Array of addresses wrongly processed
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>
bugzilla-daemon at netfilter.org
2020-Oct-06 13:10 UTC
[Bug 1475] Array of addresses wrongly processed
https://bugzilla.netfilter.org/show_bug.cgi?id=1475 --- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> --- This automatically merging 172.27.10.0/24 and 172.27.11.0/24 into 172.27.10.0/23. Is that the problem you're reporting? -- 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/05358c99/attachment.html>
bugzilla-daemon at netfilter.org
2020-Oct-06 13:50 UTC
[Bug 1475] Array of addresses wrongly processed
https://bugzilla.netfilter.org/show_bug.cgi?id=1475 kees.dejong+dev at neobits.nl changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from kees.dejong+dev at neobits.nl --- (In reply to Pablo Neira Ayuso from comment #1)> This automatically merging 172.27.10.0/24 and 172.27.11.0/24 into > 172.27.10.0/23. > > Is that the problem you're reporting?Now that you mention it, I didn't think about that. It's indeed fine! Thanks for your reply. -- 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/ae8ec495/attachment.html>