Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 darkstat

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install darkstat

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install darkstat

MacPorts ports tree · net/darkstat/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

nixpkgs package indexes · pkgs/by-name/da/darkstat/package.nix · 来源: api.github.com

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

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

概览

软件包摘要

Network traffic analyzer

命令和别名

  • darkstat

历史

项目历史与用法

darkstat is a network traffic analyzer that captures packets, accumulates traffic statistics, and serves reports over HTTP.

项目历史

Emil Mikulic's official darkstat page describes a small, portable, single-threaded network statistics gatherer with an embedded web server. The ChangeLog records darkstat 2 ending at v2.6 in 2003, followed by a near-complete v3 rewrite and first public darkstat 3 release in June 2006.

采用历史

The official page lists packaging and port references across FreeBSD Ports, OpenBSD ports, pkgsrc, Gentoo, SUSE, Debian, OpenWRT, SlackBuilds, Ubuntu, and firewall-oriented distributions. It also documents portability reports for AIX, BSDs, Linux distributions, Mac OS X, and Solaris.

使用方式

The quickstart is intentionally Unix-like: configure, make, then run darkstat -i eth0. The tool sniffs an interface, tracks host and port statistics, draws traffic graphs, and exposes the reports through its own HTTP interface.

为什么软件包爱好者会关心

darkstat is a classic sysadmin package: small enough for routers and old Unix systems, visual enough to be useful from a browser, and old enough to show how libpcap-based monitoring tools were packaged across many ports trees.

时间线

  • 2001: The official page's copyright span begins.
  • 2003: darkstat 2 ended at v2.6.
  • 2006: darkstat 3 had its first public release after a near-complete rewrite.
  • 2011: IPv6 support was added.
  • 2022: Prometheus metrics export was added.
  • 2025: v3.0.722 was published on GitHub.

Related projects

  • The official page lists ntop and vnstat as similar tools and connects darkstat to libpcap-based Unix traffic monitoring.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:network

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
darkstatcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本3.0.722
管理器更新时间2026-06-19
本地数据OK
上游当前
检测到的最新版本3.0.722

https://github.com/emikulic/darkstat

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:darkstat
版本3.0.722
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/darkstat
主页https://unix4lyfe.org/darkstat/
仓库https://github.com/emikulic/darkstat
上游文档https://unix4lyfe.org/darkstat
许可证GPL-2.0-only AND ISC AND BSD-2-Clause AND BSD-3-Clause
源码归档https://github.com/emikulic/darkstat/archive/refs/tags/3.0.722.tar.gz
最后更新2026-06-19T12:30:05-07:00
Pulseupdated
构建依赖autoconf, automake
macOS 提供的库libpcap
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedarkstat
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

darkstat 3.0.721-2

network traffic analyzer

https://unix4lyfe.org/darkstat/

sudo apt install darkstat
  • Section: net
  • Architecture: amd64
  • 5 依赖
  • normalized package name match
  • 匹配方式:Darkstat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: darkstat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

darkstat

nix profile install nixpkgs#darkstat
  • normalized package name match
  • 匹配方式:Darkstat
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/da/darkstat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

darkstat 3.0.719-1.1build2

network traffic analyzer

https://unix4lyfe.org/darkstat/

sudo apt install darkstat
  • Section: universe/net
  • Architecture: amd64
  • 6 依赖
  • normalized package name match
  • 匹配方式:Darkstat
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: darkstat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

darkstat 3.0.722-r1

Network traffic analyzer with reports served over HTTP

https://unix4lyfe.org/darkstat/

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

darkstat-doc 3.0.722-r1

Network traffic analyzer with reports served over HTTP (documentation)

https://unix4lyfe.org/darkstat/

sudo apk add darkstat-doc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: darkstat
  • normalized package name match
  • 匹配方式:Darkstat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: darkstat-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

darkstat 3.0.721-13.fc44

Network traffic analyzer

https://unix4lyfe.org/darkstat

sudo dnf install darkstat
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: darkstat
  • 8 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Darkstat
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: darkstat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

darkstat 3.0.722-1

Network statistics gatherer (packet sniffer)

https://unix4lyfe.org/darkstat/

sudo pacman -S darkstat
  • License: GPL
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Darkstat
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: darkstat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

darkstat

sudo port install darkstat
  • normalized package name match
  • 匹配方式:Darkstat
MacPorts ports tree · api.github.com · MacPorts ports tree: net/darkstat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment