Closed jtkohl closed 2 years ago
So far it is intentional that both menu items (iptables and nftables page) are there.
The iptables status is shown as long as either an iptables
or ip6tables
executable is present on the system as they could be thoretically used to stage iptables rule in parallel to nftables ones.
The iptables status is shown as long as either an
iptables
orip6tables
executable is present on the system as they could be thoretically used to stage iptables rule in parallel to nftables ones.
Ah, so that explains it. I have SQM installed, which pulls in iptables-nft.
I'm not overly happy with the way it is right now either. Maybe we should only display the nftables status page in the menu if nft
is present, then add a warning banner at the top stating that we found legacy iptables rules in case there are indeed iptables rules on the system, and offer the user a link to the old iptables status page from there.
A more complete move toward nft-only would be better. So hiding the iptables page from menu sounds goog.
(We are running into into similar compromise on various fronts, e.g. also regarding package compatibility with nft, iptables-nft and iptables-legacy and the dependency matrix cause by those.)
Fixed with 2e4b5fb8ff, 2f80fe3767
Steps to reproduce:
Actual behavior:
Two entries in the menu
Expected behavior:
Should be just one entry, for nftables, since this release has switched to nftables?
Additional Information:
OpenWrt version information from system
/etc/openwrt_release
I have an image-builder release built with these packages for
PROFILE=netgear_r7800