Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix 安装 arping

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install arping

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install arping

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

Linux

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

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

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

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

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

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

概览

软件包摘要

Utility to check whether MAC addresses are already taken on a LAN

命令和别名

  • arping

历史

项目历史与用法

ARP Ping, usually packaged as `arping`, is Thomas Habets' LAN diagnostic utility for sending ARP and ICMP-style pings to hosts. It is aimed at discovering whether an IPv4 address is already taken, mapping IPs and MACs, and diagnosing local-link problems where ordinary `ping` is not enough.

项目历史

The current upstream repository's default branch is `arping-2.x`, while an `arping-1.x` branch remains visible. The README explains that Arping 1.x was finally removed from the Arping 2.x tarball in 2.09, leaving older 2.08-and-earlier packages as the path for libnet 1.0.x users.

The manual page is dated June 21, 2003 and documents the classic behavior: send ARP requests for IP targets, directed broadcast ICMP echo requests for MAC targets, and print replies. The current build metadata identifies version 2.29 and requires libnet 1.1 or newer plus libpcap, with optional Linux privilege-dropping support through libcap/seccomp-related checks.

采用历史

arping's adoption comes from a small but persistent network-admin niche: it answers questions that IP `ping` cannot answer, especially before assigning an address, on networks where ICMP is filtered, or when a MAC address is known but the IP address is not.

The supplied package facts show it in Homebrew, Debian, Ubuntu, MacPorts, Nix, apk, and other Unix-like package collections. That breadth is typical for compact diagnostic tools whose behavior is simple, scriptable, and useful during installation, DHCP, address-conflict, and appliance-discovery work.

使用方式

The README's core example is checking whether an address is taken on a LAN before using it. The manpage documents `-c` for counts, `-i` for interface selection, `-d` for duplicate replies, raw output modes, broadcast/source-address options, unsolicited ARP with `-U`, VLAN tagging, and seccomp toggles.

Unlike `arp-scan`, which sweeps ranges, Thomas Habets' arping is centered on targeted ARP/MAC/IP probes. It can ping by IP to get a MAC, ping by MAC to get an IP when hosts respond to broadcast pings, and send unsolicited ARP to update neighbors' ARP caches.

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

arping is a classic example of a tiny network utility with a complicated name space: several unrelated projects and operating systems have shipped commands named `arping`. This package's identity is the Thomas Habets implementation, so the official GitHub repo and README are important disambiguators.

Its dependency split also matters to packagers: Arping 2.x requires libnet 1.1+, while the older 1.x line existed for libnet 1.0.x users.

时间线

  • 2003: Manual page dated June 21 documents arping behavior and options.
  • 2.09: Arping 1.x removed from the Arping 2.x tarball and autotools build system introduced.
  • 2.29: Current version recorded in configure.ac.

Related projects

  • libnet is used for packet construction.
  • libpcap is used for packet capture.
  • arp-scan is a range-scanning cousin rather than the same tool.
  • iputils has shipped a different `arping` implementation on Linux.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/ThomasHabets/arping

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

安装元数据

软件包元数据

软件包键brew:arping
版本2.29
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/arping
主页https://github.com/ThomasHabets/arping
仓库https://github.com/ThomasHabets/arping
上游文档https://github.com/ThomasHabets/arping#readme
许可证GPL-2.0-or-later
源码归档https://github.com/ThomasHabets/arping/archive/refs/tags/arping-2.29.tar.gz
最后更新2026-06-28T17:40:20Z
Pulseupdated
依赖libnet
构建依赖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 Namearping
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

arping 2.25-1

sends IP and/or ARP pings (to the MAC address)

https://www.habets.pp.se/synscan/programs.php?prog=arping

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

arping

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

arping 2.24-1build2

sends IP and/or ARP pings (to the MAC address)

https://www.habets.pp.se/synscan/programs.php?prog=arping

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

arping 2.28-r0

An ARP ping utility

https://www.habets.pp.se/synscan/programs_arping.html

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

arping-doc 2.28-r0

An ARP ping utility (documentation)

https://www.habets.pp.se/synscan/programs_arping.html

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

arping

sudo port install arping
  • normalized package name match
  • 匹配方式:Arping
MacPorts ports tree · api.github.com · MacPorts ports tree: net/arping/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