-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
rhel-9.2.0
-
None
-
None
-
None
-
rhel-sst-networking-core
-
ssg_networking
-
None
-
False
-
-
None
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
On RHEL-7 an ipset (hash:net) can contains overlapping entries, which will be no problem for allowing sets. During the same on RHEL-9 with firewalld it will fails.
Please provide the package NVR for which bug is seen:
firewalld-1.2.1-1
How reproducible:
Every time
Steps to reproduce
- firewall-cmd --permanent --ipset=foo --add-entry="1.1.1.1/32"
- firewall-cmd --permanent --ipset=foo --add-entry="1.1.1.0/24"
Expected results
Ignores the overlapping and add the entry to the IP set. Or showing maximum an warning about it.
Actual results
Error: INVALID_ENTRY: Entry '1.1.1.0/24' overlaps with existing entry '1.1.1.1'