macOS
brew install nftableslocal Homebrew formula metadata
安装
brew install nftableslocal Homebrew formula metadata
sudo apk add nftablesAlpine Linux edge package indexes · nftables · 来源: dl-cdn.alpinelinux.org
sudo apt install nftablesDebian stable package indexes · nftables · 来源: deb.debian.org
sudo dnf install nftablesFedora Rawhide package metadata · nftables · 来源: dl.fedoraproject.org
nix profile install nixpkgs#nftablesnixpkgs package indexes · nftables · 来源: raw.githubusercontent.com
sudo pacman -S nftablesArch Linux sync databases · nftables · 来源: geo.mirror.pkgbuild.com
sudo zypper install nftablesopenSUSE Tumbleweed package metadata · nftables · 来源: download.opensuse.org
概览
Netfilter tables userspace tools
历史
nftables is the Netfilter project's replacement for the older iptables, ip6tables, arptables, and ebtables command families. It combines a new in-kernel packet classification framework with the `nft` userspace command and libnftables library, while reusing Netfilter pieces such as hooks, connection tracking, NAT, queueing, and logging.
The nftables design was publicly presented at Netfilter Workshop 2008 and released publicly in March 2009 by Patrick McHardy. It was developed to reduce duplicated packet-filtering code and make extension easier than the separate xtables-era tools.
nftables was selected for Linux 3.13 in 2013 and became available upstream with the Linux 3.13 kernel line in January 2014. The official project page describes the replacement target, the new VM-based ruleset model, and the separate userspace command-line tool.
The migration was intentionally gradual because firewall rules are operational infrastructure. The project provides an iptables/ip6tables compatibility layer over the nftables infrastructure, and distributions have used that bridge to move old command syntaxes onto the newer kernel backend.
By the Debian 10 and RHEL 8 era, nftables had moved from future replacement to default low-level packet-filtering framework in major Linux distributions. Red Hat documents nftables as the successor to iptables, ip6tables, arptables, ebtables, and ipset, and recommends it when administrators need direct control beyond high-level firewalld scenarios.
Admins use `nft` to create tables, chains, sets, maps, NAT rules, and packet filters in a single syntax across address families. The package is most useful when you need explicit rulesets, performance-friendly sets/maps, atomic ruleset replacement, or a firewall that is easier to reason about than layered iptables invocations.
Package nerds care about which backend their distro's `iptables` command actually targets. On newer systems, `iptables-nft` compatibility may be present even when scripts still look old, while serious new rulesets are usually written as `/etc/nftables.conf` and loaded by the nftables service or by distribution firewall tooling.
nftables is one of the big Linux plumbing migrations: not a flashy app, but a shift in how packet filtering, NAT, and firewall state are represented. Its packaging matters because kernel version, libmnl, libnftnl, the `nft` tool, and distribution compatibility alternatives all have to line up.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nft | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://netfilter.org/projects/nftables/
安装元数据
| 软件包键 | brew:nftables |
|---|---|
| 版本 | 1.1.6 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nftables |
| 主页 | https://netfilter.org/projects/nftables/ |
| 仓库 | https://git.netfilter.org/nftables |
| 上游文档 | https://wiki.nftables.org/wiki-nftables/index.php/Main_Page |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://www.netfilter.org/pub/nftables/nftables-1.1.6.tar.xz |
| 依赖 | gmp, jansson, libedit, libmnl, libnftnl, ncurses, readline |
| 构建依赖 | pkgconf, python@3.14 |
| Bottle | 可用 (于 arm64_linux, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nftables |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libnftables-dev 1.1.3-1
Development files for libnftables
sudo apt install libnftables-devlibnftables1 1.1.3-1
Netfilter nftables high level userspace API library
sudo apt install libnftables1nftables 1.1.3-1
Program to control packet filtering rules by Netfilter project
sudo apt install nftablespython3-nftables 1.1.3-1
nftables/libnftables python3 module
sudo apt install python3-nftablesnftables
nix profile install nixpkgs#nftableslibnftables-dev 1.0.9-1build1
Development files for libnftables
sudo apt install libnftables-devlibnftables1 1.0.9-1build1
Netfilter nftables high level userspace API library
sudo apt install libnftables1nftables 1.0.9-1build1
Program to control packet filtering rules by Netfilter project
sudo apt install nftablespython3-nftables 1.0.9-1build1
nftables/libnftables python3 module
sudo apt install python3-nftablesnftables 1.1.6-r1
Netfilter tables userspace tools
https://netfilter.org/projects/nftables
sudo apk add nftablesnftables-dev 1.1.6-r1
Netfilter tables userspace tools (development files)
https://netfilter.org/projects/nftables
sudo apk add nftables-devnftables-doc 1.1.6-r1
Netfilter tables userspace tools (documentation)
https://netfilter.org/projects/nftables
sudo apk add nftables-docnftables-openrc 1.1.6-r1
Netfilter tables userspace tools (OpenRC init scripts)
https://netfilter.org/projects/nftables
sudo apk add nftables-openrcnftables-rulesets 1.1.6-r1
Meta package for pulling in all nftables rulesets
https://netfilter.org/projects/nftables
sudo apk add nftables-rulesetsnftables-static 1.1.6-r1
Netfilter tables userspace tools (static library)
https://netfilter.org/projects/nftables
sudo apk add nftables-staticnftables-systemd 1.1.6-r1
Netfilter tables userspace tools (systemd files)
https://netfilter.org/projects/nftables
sudo apk add nftables-systemd来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.