pkg.soopen package index

brew / 排名 3188

使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 nftables

查看 nftables 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nftables

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add nftables

Alpine Linux edge package indexes · nftables · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install nftables

Debian stable package indexes · nftables · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install nftables

Fedora Rawhide package metadata · nftables · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#nftables

nixpkgs package indexes · nftables · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S nftables

Arch Linux sync databases · nftables · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install nftables

openSUSE Tumbleweed package metadata · nftables · 来源: download.opensuse.org

概览

软件包摘要

Netfilter tables userspace tools

命令和别名

  • nft

历史

项目历史与用法

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.

时间线

  • 2008: nftables was presented at Netfilter Workshop in Paris.
  • 2009-03: Patrick McHardy announced the first public nftables release.
  • 2013-10: nftables was selected for Linux 3.13.
  • 2014-01: Linux 3.13 made nftables available upstream.
  • 2019: Debian 10 and RHEL 8 generation distributions made nftables a default or primary low-level firewall backend.

Related projects

  • Netfilter
  • iptables
  • ip6tables
  • arptables
  • ebtables
  • firewalld
  • libmnl
  • libnftnl

来源

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nft可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.1.6
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:nftables
版本1.1.6
软件包管理器Homebrew
主页https://netfilter.org/projects/nftables/
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libnftables-dev 1.1.3-1

Development files for libnftables

https://www.netfilter.org/

sudo apt install libnftables-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: nftables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nftables
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnftables-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnftables1 1.1.3-1

Netfilter nftables high level userspace API library

https://www.netfilter.org/

sudo apt install libnftables1
  • Section: libs
  • Architecture: amd64
  • Source Package: nftables
  • 6 依赖
  • normalized package name match
  • 匹配方式:Nftables
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnftables1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nftables 1.1.3-1

Program to control packet filtering rules by Netfilter project

https://www.netfilter.org/

sudo apt install nftables
  • Section: net
  • Architecture: amd64
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Nftables
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nftables from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-nftables 1.1.3-1

nftables/libnftables python3 module

https://www.netfilter.org/

sudo apt install python3-nftables
  • Section: python
  • Architecture: amd64
  • Source Package: nftables
  • 3 依赖
  • normalized package name match
  • 匹配方式:Nftables
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-nftables from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nftables

nix profile install nixpkgs#nftables
  • normalized package name match
  • 匹配方式:Nftables
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: nftables from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

libnftables-dev 1.0.9-1build1

Development files for libnftables

https://www.netfilter.org/

sudo apt install libnftables-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: nftables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nftables
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnftables-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libnftables1 1.0.9-1build1

Netfilter nftables high level userspace API library

https://www.netfilter.org/

sudo apt install libnftables1
  • Section: libs
  • Architecture: amd64
  • Source Package: nftables
  • 6 依赖
  • normalized package name match
  • 匹配方式:Nftables
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnftables1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

nftables 1.0.9-1build1

Program to control packet filtering rules by Netfilter project

https://www.netfilter.org/

sudo apt install nftables
  • Section: net
  • Architecture: amd64
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Nftables
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nftables from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

python3-nftables 1.0.9-1build1

nftables/libnftables python3 module

https://www.netfilter.org/

sudo apt install python3-nftables
  • Section: universe/python
  • Architecture: amd64
  • Source Package: nftables
  • 3 依赖
  • normalized package name match
  • 匹配方式:Nftables
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-nftables from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

nftables 1.1.6-r1

Netfilter tables userspace tools

https://netfilter.org/projects/nftables

sudo apk add nftables
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: nftables
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nftables
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nftables from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nftables-dev 1.1.6-r1

Netfilter tables userspace tools (development files)

https://netfilter.org/projects/nftables

sudo apk add nftables-dev
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: nftables
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nftables
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nftables-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nftables-doc 1.1.6-r1

Netfilter tables userspace tools (documentation)

https://netfilter.org/projects/nftables

sudo apk add nftables-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: nftables
  • normalized package name match
  • 匹配方式:Nftables
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nftables-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nftables-openrc 1.1.6-r1

Netfilter tables userspace tools (OpenRC init scripts)

https://netfilter.org/projects/nftables

sudo apk add nftables-openrc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: nftables
  • normalized package name match
  • 匹配方式:Nftables
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nftables-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nftables-rulesets 1.1.6-r1

Meta package for pulling in all nftables rulesets

https://netfilter.org/projects/nftables

sudo apk add nftables-rulesets
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: nftables
  • normalized package name match
  • 匹配方式:Nftables
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nftables-rulesets from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nftables-static 1.1.6-r1

Netfilter tables userspace tools (static library)

https://netfilter.org/projects/nftables

sudo apk add nftables-static
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: nftables
  • normalized package name match
  • 匹配方式:Nftables
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nftables-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nftables-systemd 1.1.6-r1

Netfilter tables userspace tools (systemd files)

https://netfilter.org/projects/nftables

sudo apk add nftables-systemd
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: nftables
  • normalized package name match
  • 匹配方式:Nftables
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nftables-systemd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation