macOS
brew install netmasklocal Homebrew formula metadata
brew
IP address netmask generation utility. Version 2.5.0 via Homebrew; verified 2026-05-14.
install
brew install netmasklocal Homebrew formula metadata
sudo apt install netmaskDebian stable package indexes · netmask · source: deb.debian.org
sudo dnf install netmaskFedora Rawhide package metadata · netmask · source: dl.fedoraproject.org
nix profile install nixpkgs#netmasknixpkgs package indexes · pkgs/by-name/ne/netmask/package.nix · source: api.github.com
overview
IP address netmask generation utility
history
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.
security posture
No matching local secret-handling manifest was found for netmask. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
netmask | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/tlby/netmask
install metadata
| Package key | brew:netmask |
|---|---|
| Version | 2.5.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/netmask |
| Homepage | https://github.com/tlby/netmask |
| Repository | https://github.com/tlby/netmask |
| Upstream docs | https://github.com/tlby/netmask#readme |
| License | GPL-2.0-or-later |
| Source archive | https://github.com/tlby/netmask/archive/refs/tags/v2.5.0.tar.gz |
| Last updated | 2026-05-14T20:19:44Z |
| Pulse | updated |
| Dependencies | check |
| Build dependencies | autoconf, autoconf-archive, automake, pkgconf, texinfo |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 netmasksource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.