macOS
brew install netmasklocal Homebrew formula metadata
安装
brew install netmasklocal Homebrew formula metadata
sudo apt install netmaskDebian stable package indexes · netmask · 来源: deb.debian.org
sudo dnf install netmaskFedora Rawhide package metadata · netmask · 来源: dl.fedoraproject.org
nix profile install nixpkgs#netmasknixpkgs package indexes · pkgs/by-name/ne/netmask/package.nix · 来源: api.github.com
概览
IP address netmask generation utility
历史
netmask is a tiny IPv4 network-mask formatting and range utility. The upstream README describes it as a handy tool for generating terse netmasks in common formats, cleaning up sloppy firewall rules, generalizing address ranges, and converting between netmask formats.
The available public history is thin. The GitHub repository is small, with 18 commits shown when checked, and GitHub listed 2.5.0 as the latest release on 2025-07-27. The source tree includes traditional Unix packaging artifacts such as a man page, Texinfo, Autotools files, Debian metadata, and tests.
Adoption is distro-tool level rather than ecosystem level. Debian packages it as `netmask` and describes it as a tiny program useful for firewalls, routers, and shell scripts; Homebrew packages version 2.5.0 and reported 247 installs over 365 days in its 2026-07-01 API output.
Package users run `netmask` when they need to turn address ranges into the smallest set of masks or convert between common address/netmask notations. Debian's package description explicitly calls out firewall and router work, plus use as a helper from shell scripts.
This is not a service and not a library in the package-manager sense. Its value is that it is faster and less error-prone than doing subnet arithmetic by hand while editing firewall rules or migration scripts.
netmask is the kind of small C utility that package indexes keep because network admins occasionally need it and because it has a stable, well-bounded job. The history is not rich enough to justify a high-confidence origin story.
安全态势
没有找到 netmask 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
netmask | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/tlby/netmask
安装元数据
| 软件包键 | brew:netmask |
|---|---|
| 版本 | 2.5.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/netmask |
| 主页 | https://github.com/tlby/netmask |
| 仓库 | https://github.com/tlby/netmask |
| 上游文档 | https://github.com/tlby/netmask#readme |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://github.com/tlby/netmask/archive/refs/tags/v2.5.0.tar.gz |
| 最后更新 | 2026-05-14T20:19:44Z |
| Pulse | updated |
| 依赖 | check |
| 构建依赖 | autoconf, autoconf-archive, automake, pkgconf, texinfo |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | netmask |
| 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 软件包链接分开显示。
netmask 2.4.4-4
helps determine network masks
https://github.com/tlby/netmask
sudo apt install netmasknetmask
nix profile install nixpkgs#netmasknetmask 2.4.4-4build1
helps determine network masks
https://github.com/tlby/netmask
sudo apt install netmasknetmask 2.5.0-3.fc44
Utility for determining network masks
https://github.com/tlby/netmask
sudo dnf install netmask来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.