Hi all
After updating to 26.1.8 I've noticed that Firewall Rules filtering isn't working anymore.
When filtering Floating Rules, it's showing "No results found" (I'm having 15 floating rules).
When filtering other Rules except for WAN, all Floating and the selected Interface Rules were showing.
Filtering All rules works as designed.
Are you experiencing the same behavior?
Thanks in advance and regards
Wrigleys
At least the displayed number of rules in each group does not match the number shown next to the group.
I had 10 floating rules, selecting them yields 10. 16 rules in an interface group, yielding 22, 1 on an interface, yielding 3.
So it seems that the actual filtering has different results than the count.
Please open a report on github and link it to here...
Does this help?
# opnsense-patch https://github.com/opnsense/core/commit/3f795848616
Cheers,
Franco
Yes for the floating rules: 10/10 displayed now. No for the interface group with 16 rules, still 22 in the list when I select it. Also no for one of my interfaces with 1 rules, where 3 are listed.
As it turns out, the rules with "any" are also listed when any specific interface is selected, which can be argued as expected.... this probably explains the higher number for the other categories.
Here for an interface with 6 defined rules the UI displays these 6 plus the 2 floating rules that also apply to this interface. The number shown in the selector is 6, the number of rules displayed is 8.
Works that way both without and with the patch.
Same for interface groups. The floating rules are always added to the display but do not change the number in the little circle in the selector.
See screenshots - 1 vs. 3 and 5 vs. 7. Makes sense to me - if that is intended and consistent.
Yes, I see that, too.
In my case, when I select the "All rules" filter, the number of rules are right in both indicators, the little circle on the filter selector and the number below the grid.
The problem is in the rest of the numbers of the interface filters. All little circles shows different numbers than the real value. The counter below de grid always shows the right value.
One extra problem I've found is that when I select the "Floating" filter, it shows nothing in the grid but I have eight floating rules as correctly indicated in the number below the grid. Fortunately I can see these eight rules using the "All rules" filter.
EDIT:
I see that I misunderstood the way filtering works. The numbers are correct because what I see in the grid includes the floating rule where the selected interface is selected. So the only problem I still find is that the Floating filter is showing an empty grid.