Skip to content

luci-mod-network: fix wrong name#8555

Open
AndyChiang888 wants to merge 2 commits intoopenwrt:masterfrom
AndyChiang888:dns.js
Open

luci-mod-network: fix wrong name#8555
AndyChiang888 wants to merge 2 commits intoopenwrt:masterfrom
AndyChiang888:dns.js

Conversation

@AndyChiang888
Copy link
Copy Markdown
Contributor

@AndyChiang888 AndyChiang888 commented Apr 16, 2026

Pull Request details

Description

This should be nftables instead of netfilter.


Tested on

OpenWrt version: SNAPSHOT
LuCI version: master
Web browser: Chrome


Checklist

  • This PR is not from my main or master branch 💩, but a separate branch. ✅
  • Each commit has a valid ✒️ Signed-off-by: <my@email.address> row (via git commit --signoff).
  • Each commit and PR title has a valid 📝 <package name>: title first line subject for packages.
  • Incremented 🆙 any PKG_VERSION in the Makefile.
  • (Optional) Includes what Issue it closes (e.g. openwrt/luci#issue-number).
  • (Optional) Includes what it depends on (e.g. openwrt/packages#pr-number in sister repo).

@systemcrash
Copy link
Copy Markdown
Contributor

nf in nftables == netfilter.

@AndyChiang888
Copy link
Copy Markdown
Contributor Author

iptables also uses netfilter, so changing it to nftables is more appropriate. The netfilter table actually refers to the nftables table.

@systemcrash
Copy link
Copy Markdown
Contributor

opinion @efahl @hnyman ?

@hnyman
Copy link
Copy Markdown
Contributor

hnyman commented Apr 17, 2026

I already had earlier a private email from @AndyChiang888 about this.
Netfilter is the general name for the whole infrastructure, and iptables etc. were the traditional components of it, but they have been replaced by nftables tools a few years ago.

To me the current 'netfilter' word there is correct enough, so I see no immediate need for changing it.
But I am not strongly opposing the change, either.

@AndyChiang888
Copy link
Copy Markdown
Contributor Author

I think this will still confuse some users because dnsmasq's nftset specifies the nftables table name, but luci displays it as the netfilter table name, which could be misleading.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

This should be nftables instead of netfilter.

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
Sync translations.

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
@efahl
Copy link
Copy Markdown
Contributor

efahl commented Apr 17, 2026

I agree with @hnyman.

Use of either the Linux component "netfilter" or the specific project "nftables" to denote them is sort of a wash in this context, as all of that detail is completely hidden from the user in the gui. Anything will work here; those who are going to dive into the guts and hand write rules/sets already knows what's being used.

But, if you want to be pedantic, you'd change all reference to "ipset" to "nftset", too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants