macOS
brew install grepcidrlocal Homebrew formula metadata
sudo port install grepcidrMacPorts ports tree · sysutils/grepcidr/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für grepcidr in AI-Agent-Workflows.
Installation
brew install grepcidrlocal Homebrew formula metadata
sudo port install grepcidrMacPorts ports tree · sysutils/grepcidr/Portfile · Quelle: api.github.com
sudo apt install grepcidrDebian stable package indexes · grepcidr · Quelle: deb.debian.org
sudo dnf install grepcidrFedora Rawhide package metadata · grepcidr · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#grepcidrnixpkgs package indexes · pkgs/by-name/gr/grepcidr/package.nix · Quelle: api.github.com
sudo zypper install grepcidropenSUSE Tumbleweed package metadata · grepcidr · Quelle: download.opensuse.org
Überblick
Filter IP addresses matching IPv4 CIDR/network specification
Verlauf
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.
Sicherheitslage
broad file, network, media, or database tool signal.
blue Risiko · mittel Konfidenz · tool
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
grepcidr | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://www.pc-tools.net/unix/grepcidr/
Installationsmetadaten
| Paketschlüssel | brew:grepcidr |
|---|---|
| Version | 2.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/grepcidr |
| Homepage | https://www.pc-tools.net/unix/grepcidr/ |
| Upstream-Dokumentation | https://www.pc-tools.net/unix/grepcidr |
| Lizenz | GPL-2.0-or-later |
| Quellarchiv | https://www.pc-tools.net/files/unix/grepcidr-2.0.tar.gz |
| Bottle | verfügbar (auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 grepcidrQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.