macOS
brew install grepcidrlocal Homebrew formula metadata
sudo port install grepcidrMacPorts ports tree · sysutils/grepcidr/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de grepcidr pour les workflows d'agents IA.
installation
brew install grepcidrlocal Homebrew formula metadata
sudo port install grepcidrMacPorts ports tree · sysutils/grepcidr/Portfile · Source: api.github.com
sudo apt install grepcidrDebian stable package indexes · grepcidr · Source: deb.debian.org
sudo dnf install grepcidrFedora Rawhide package metadata · grepcidr · Source: dl.fedoraproject.org
nix profile install nixpkgs#grepcidrnixpkgs package indexes · pkgs/by-name/gr/grepcidr/package.nix · Source: api.github.com
sudo zypper install grepcidropenSUSE Tumbleweed package metadata · grepcidr · Source: download.opensuse.org
aperçu
Filter IP addresses matching IPv4 CIDR/network specification
historique
grepcidr is a small C command-line filter for matching IPv4 and IPv6 addresses against CIDR patterns. It borrows grep's interface style for a networking-specific job: select or reject log lines by address range.
Jem Berkes identifies the pc-tools.net grepcidr as the original project, created in 2004 and released as grepcidr 2.0 on 2014-05-26. The official page emphasizes that the 2.0 line is distinct from John Levine's separately developed fork, even though both names can confuse users.
Version 2.0 added IPv6 support, replaced a regex-based scanner with a hints scanner reported as faster on some platforms, enforced stricter IP text matching, added multiple file arguments, supported unlimited input line length, and improved CIDR validation.
grepcidr's niche is operational networking: mail filtering, network security, log analysis, and custom pipelines where a full IP-address database or firewall tool would be too heavy. Its adoption in package managers follows from being a single-purpose Unix filter with no documented configuration or credential state.
The official examples show grepcidr matching an IPv6 documentation prefix against a log file and matching a Googlebot-era IPv4 CIDR range against access.log. Options include count output, inverted matching, strict CIDR alignment, strict start-of-line matching, command-line patterns, and pattern files.
grepcidr is package-nerd significant because it is a tiny specialist filter that fills a gap between grep and heavier network-analysis tools. It lets shell users keep grep-like pipelines while making CIDR math correct enough for log and abuse workflows.
The official fork note matters for packaging: downstreams need to know whether they are shipping Berkes' grepcidr 2.0 line or Levine's unrelated implementation.
posture de sécurité
broad file, network, media, or database tool signal.
risque blue · confiance moyen · tool
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
grepcidr | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://www.pc-tools.net/unix/grepcidr/
métadonnées d'installation
| Clé du paquet | brew:grepcidr |
|---|---|
| Version | 2.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/grepcidr |
| Page d'accueil | https://www.pc-tools.net/unix/grepcidr/ |
| Docs amont | https://www.pc-tools.net/unix/grepcidr |
| Licence | GPL-2.0-or-later |
| Archive source | https://www.pc-tools.net/files/unix/grepcidr-2.0.tar.gz |
| Bouteille | disponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | grepcidr |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
grepcidr 2.0-2
Filter IP addresses matching IPv4/IPv6 CIDR/network specification
http://www.pc-tools.net/unix/grepcidr/
sudo apt install grepcidrgrepcidr
nix profile install nixpkgs#grepcidrgrepcidr 2.0-2
Filter IP addresses matching IPv4/IPv6 CIDR/network specification
http://www.pc-tools.net/unix/grepcidr/
sudo apt install grepcidrgrepcidr 2.0-12.fc44
Filter IPv4 and IPv6 addresses matching CIDR patterns
https://www.pc-tools.net/unix/grepcidr/
sudo dnf install grepcidrgrepcidr 2.0-2.6
Filter IP addresses matching IPv4/IPv6 CIDR specification
http://www.pc-tools.net/unix/grepcidr/
sudo zypper install grepcidrgrepcidr
sudo port install grepcidrpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.