Automic VaultAutomic Vault

brew

grepcidr mit Homebrew, apt, dnf, MacPorts, Nix, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für grepcidr in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install grepcidr

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install grepcidr

MacPorts ports tree · sysutils/grepcidr/Portfile · Quelle: api.github.com

Linux

Debian aptverifiziert · 92%
sudo apt install grepcidr

Debian stable package indexes · grepcidr · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install grepcidr

Fedora Rawhide package metadata · grepcidr · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#grepcidr

nixpkgs package indexes · pkgs/by-name/gr/grepcidr/package.nix · Quelle: api.github.com

openSUSE zypperverifiziert · 92%
sudo zypper install grepcidr

openSUSE Tumbleweed package metadata · grepcidr · Quelle: download.opensuse.org

Überblick

Paketzusammenfassung

Filter IP addresses matching IPv4 CIDR/network specification

Befehle und Aliase

  • grepcidr

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2004: Original grepcidr project created, according to the official project page.
  • 2014: grepcidr 2.0 released with IPv6 support, faster scanning, stricter matching, and multiple-file support.
  • 2014: Official page documented the distinction between Berkes' project and the separately developed grepcidr-2 fork.

Related projects

  • grep is the interface model for matching and inverted matching.
  • John Levine's grepcidr-2 fork is called out by the official page as an unrelated implementation.
  • Spamhaus is credited on the official page for sponsorship and testing of features.

Sicherheitslage

Risikostufe: blue

broad file, network, media, or database tool signal.

Risikoklassifikator

blue Risiko · mittel Konfidenz · tool

Warum

  • broad file, network, media, or database tool signal

Signale

  • text:network

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 13 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
grepcidrcliglobales Executable

Aktualität

Version und 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.

Seite generiert2026-07-10
Manager-Version2.0
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://www.pc-tools.net/unix/grepcidr/

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:grepcidr
Version2.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/grepcidr
Homepagehttps://www.pc-tools.net/unix/grepcidr/
Upstream-Dokumentationhttps://www.pc-tools.net/unix/grepcidr
LizenzGPL-2.0-or-later
Quellarchivhttps://www.pc-tools.net/files/unix/grepcidr-2.0.tar.gz
Bottleverfü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-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegrepcidr
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

grepcidr 2.0-2

Filter IP addresses matching IPv4/IPv6 CIDR/network specification

http://www.pc-tools.net/unix/grepcidr/

sudo apt install grepcidr
  • Section: net
  • Architecture: amd64
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Grepcidr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: grepcidr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

grepcidr

nix profile install nixpkgs#grepcidr
  • normalized package name match
  • Abgeglichen nach: Grepcidr
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gr/grepcidr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

grepcidr 2.0-2

Filter IP addresses matching IPv4/IPv6 CIDR/network specification

http://www.pc-tools.net/unix/grepcidr/

sudo apt install grepcidr
  • Section: universe/net
  • Architecture: amd64
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Grepcidr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: grepcidr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

grepcidr 2.0-12.fc44

Filter IPv4 and IPv6 addresses matching CIDR patterns

https://www.pc-tools.net/unix/grepcidr/

sudo dnf install grepcidr
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: grepcidr
  • 2 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Grepcidr
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: grepcidr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

grepcidr 2.0-2.6

Filter IP addresses matching IPv4/IPv6 CIDR specification

http://www.pc-tools.net/unix/grepcidr/

sudo zypper install grepcidr
  • License: GPL-3.0-or-later
  • Category: Productivity/Text/Utilities
  • Architecture: x86_64
  • Source Package: grepcidr
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Grepcidr
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: grepcidr from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

grepcidr

sudo port install grepcidr
  • normalized package name match
  • Abgeglichen nach: Grepcidr
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/grepcidr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment