macOS
brew install ipcalclocal Homebrew formula metadata
sudo port install ipcalcMacPorts ports tree · net/ipcalc/Portfile · 来源: api.github.com
安装
brew install ipcalclocal Homebrew formula metadata
sudo port install ipcalcMacPorts ports tree · net/ipcalc/Portfile · 来源: api.github.com
sudo apk add ipcalcAlpine Linux edge package indexes · ipcalc · 来源: dl-cdn.alpinelinux.org
sudo apt install ipcalcDebian stable package indexes · ipcalc · 来源: deb.debian.org
sudo dnf install ipcalcFedora Rawhide package metadata · ipcalc · 来源: dl.fedoraproject.org
nix profile install nixpkgs#ipcalcnixpkgs package indexes · pkgs/by-name/ip/ipcalc/package.nix · 来源: api.github.com
sudo pacman -S ipcalcArch Linux sync databases · ipcalc · 来源: geo.mirror.pkgbuild.com
sudo zypper install ipcalcopenSUSE Tumbleweed package metadata · ipcalc · 来源: download.opensuse.org
scoop install main/ipcalcScoop official bucket manifest trees · bucket/ipcalc.json · 来源: api.github.com
概览
Calculate various network masks, etc. from a given IP address
历史
ipcalc is Krischan Jodies' IP subnet calculator, later continued with IPv6 support in the kjokjo GitHub repository. It is one of the small networking CLIs administrators reach for when they need broadcast addresses, host ranges, wildcard masks, and subnet splits without opening a spreadsheet.
The original jodies.de page describes ipcalc as a tool that takes an IP address and netmask, calculates the broadcast, network, Cisco wildcard mask, and host range, and presents subnetting results in binary form as a teaching aid. The page also says the tool works at the shell prompt and was not originally intended for creating HTML.
The source header on the CGI wrapper carries copyright years 2000-2021, while the archive lists releases from 0.34 in 2001 through 0.41 in 2006. The GitHub repository describes itself as the IPv6-capable continuation of the subnet calculator from jodies.de.
ipcalc has broad package-manager reach for such a small script: the supplied metadata lists Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, and openSUSE packaging. The original site also calls out Debian installation directly.
That broad distribution reflects the utility's shape: subnet math is universal in operations work, and a dependency-light Perl script is easy for distributions to carry.
Users pass an address and mask, optionally with a second mask for subnet or supernet design. ipcalc prints network, broadcast, host minimum and maximum, host count, Cisco wildcard masks, class/private-network notes, and binary layouts.
The GitHub continuation adds IPv6 examples, including prefix calculation for IPv6 addresses, while preserving the familiar command-line output style of the original IPv4 calculator.
ipcalc is a canonical tiny admin package: old, scriptable, easy to package, and still useful because IP addressing math does not go out of fashion. Its value is less in novelty than in being available everywhere when a human needs to sanity-check a CIDR block.
It also shows the preservation path of many Unix tools: an original personal web page, tarball archives, distro packages, and a GitHub continuation that adds IPv6 support while keeping the old interface recognizable.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ipcalc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/kjokjo/ipcalc
安装元数据
| 软件包键 | brew:ipcalc |
|---|---|
| 版本 | 0.51 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ipcalc |
| 主页 | https://jodies.de/ipcalc |
| 仓库 | https://github.com/kjokjo/ipcalc |
| 上游文档 | https://github.com/kjokjo/ipcalc#readme |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://github.com/kjokjo/ipcalc/archive/refs/tags/0.51.tar.gz |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ipcalc |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ipcalc 0.51-1
parameter calculator for IPv4 addresses
sudo apt install ipcalcipcalc
nix profile install nixpkgs#ipcalcipcalc 0.51-1
parameter calculator for IPv4 addresses
sudo apt install ipcalcipcalc 1.0.3-r1
A modern IPv4/IPv6 ipcalc tool, assisting in network calculations in command line and as a tool for scripts.
https://gitlab.com/ipcalc/ipcalc
sudo apk add ipcalcipcalc-doc 1.0.3-r1
A modern IPv4/IPv6 ipcalc tool, assisting in network calculations in command line and as a tool for scripts. (documentation)
https://gitlab.com/ipcalc/ipcalc
sudo apk add ipcalc-docipcalc 1.0.3-13.fc44
IP network address calculator
https://gitlab.com/ipcalc/ipcalc
sudo dnf install ipcalcipcalc 0.51-2
Calculates IP broadcast, network, Cisco wildcard mask, and host ranges
sudo pacman -S ipcalcipcalc 1.0.3-2.6
IPv4/IPv6 tool assisting in network calculations on the command line
https://gitlab.com/ipcalc/ipcalc
sudo zypper install ipcalcipcalc
sudo port install ipcalcmain/ipcalc
scoop install main/ipcalc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.