macOS
brew install cidrlocal Homebrew formula metadata
安装
brew install cidrlocal Homebrew formula metadata
概览
CLI to perform various actions on CIDR ranges
历史
cidr is a small Go command-line tool for inspecting, counting, checking, and subdividing IPv4 and IPv6 CIDR prefixes.
The GitHub repository was created in September 2022, and the first GitHub release followed that month. The README defines the tool around CIDR explanation, address containment, address counting, overlap checks, and division into smaller networks.
The README documents Homebrew installation, Debian and Ubuntu packages for newer releases, and prebuilt binaries for Linux, macOS, and Windows. The batch input also records MacPorts packaging.
Typical commands include explaining a CIDR range, testing whether an address belongs to a range, counting addresses, checking whether two prefixes overlap, and dividing a prefix into distinct networks. The README examples cover both IPv4 and IPv6.
cidr is package-nerd useful because it packages common subnet arithmetic into a simple cross-platform CLI, replacing shell snippets or ad hoc web calculators in scripts, package tests, and network automation.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cidr | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/bschaatsbergen/cidr
安装元数据
| 软件包键 | brew:cidr |
|---|---|
| 版本 | 2.3.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cidr |
| 主页 | https://github.com/bschaatsbergen/cidr |
| 仓库 | https://github.com/bschaatsbergen/cidr |
| 上游文档 | https://github.com/bschaatsbergen/cidr#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/bschaatsbergen/cidr/archive/refs/tags/v2.3.0.tar.gz |
| 构建依赖 | go |
| 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 | cidr |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cidr 2.2.0-2+b9
Simplifies IPv4/IPv6 CIDR network prefix management
https://github.com/bschaatsbergen/cidr
sudo apt install cidrcidr
sudo port install cidr来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.