macOS
brew install ngreplocal Homebrew formula metadata
sudo port install ngrepMacPorts ports tree · net/ngrep/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ngrep in AI-Agent-Workflows.
Installation
brew install ngreplocal Homebrew formula metadata
sudo port install ngrepMacPorts ports tree · net/ngrep/Portfile · Quelle: api.github.com
sudo apk add ngrepAlpine Linux edge package indexes · ngrep · Quelle: dl-cdn.alpinelinux.org
sudo apt install ngrepDebian stable package indexes · ngrep · Quelle: deb.debian.org
sudo dnf install ngrepFedora Rawhide package metadata · ngrep · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#ngrepnixpkgs package indexes · pkgs/by-name/ng/ngrep/package.nix · Quelle: api.github.com
sudo pacman -S ngrepArch Linux sync databases · ngrep · Quelle: geo.mirror.pkgbuild.com
sudo zypper install ngrepopenSUSE Tumbleweed package metadata · ngrep · Quelle: download.opensuse.org
Überblick
Network grep
Verlauf
ngrep is "network grep": a pcap-based command-line packet analyzer that applies regular-expression or hexadecimal matching to packet payloads while also accepting BPF filters like tcpdump. It is built for quick inspection of plaintext traffic and saved capture files.
ngrep was written by Jordan Ritter and dates back to the early 2000s; a freshmeat announcement for ngrep 1.39.1 appeared on April 23, 2001. The tool's identity has stayed stable: bring GNU grep-style matching to the network layer.
The project lived for years as a classic Unix network utility and later moved active issue and patch handling to GitHub. Its README still frames ngrep as a PCAP tool that understands IPv4/IPv6, TCP, UDP, ICMP, IGMP, raw packets, several link-layer interface types, and BPF filter logic.
ngrep became a small but widely packaged troubleshooting utility because it sits between tcpdump and a full packet analyzer. It was included de facto in many popular distributions over decades, and the maintainer explicitly asks distribution package maintainers to forward bugs and patches so upstream can track downstream fixes.
Its adoption is bounded by encryption. ngrep is excellent for DNS, old HTTP, SMTP, SIP, IMAP, test traffic, malware beacons in plaintext, and pcap triage; it is less useful when payloads are TLS-encrypted unless the useful signal is in headers, metadata, or local decrypted test traffic.
A typical workflow is `sudo ngrep -d any -W byline 'Host:|User-Agent:' tcp port 80`, or using an empty match expression with a BPF filter to print payloads for a protocol. It can read and write pcap dump files, making it useful for quick command-line passes before opening Wireshark.
Package nerds install it because it is the fast, memorable answer to "show me packets containing this string". It is especially handy on servers where a GUI analyzer is unavailable and tcpdump output is too raw for the immediate question.
ngrep is a survivor from the era when small C network tools solved one sharp problem well. It matters less as a dependency and more as an operator tool: a tiny package that can save a debugging session when traffic is still human-readable.
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 |
|---|---|---|---|
ngrep | 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.
Installationsmetadaten
| Paketschlüssel | brew:ngrep |
|---|---|
| Version | 1.49.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/ngrep |
| Homepage | https://github.com/jpr5/ngrep |
| Repository | https://github.com/jpr5/ngrep |
| Upstream-Dokumentation | https://github.com/jpr5/ngrep#readme |
| Lizenz | ngrep |
| Quellarchiv | https://github.com/jpr5/ngrep/archive/refs/tags/v1.49.0.tar.gz |
| Zuletzt aktualisiert | 2026-06-25T13:37:57+02:00 |
| Pulse | updated |
| Abhängigkeiten | libpcap, pcre2 |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ngrep |
| 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.
ngrep 1.47+ds1-6
grep for network traffic
sudo apt install ngrepngrep
nix profile install nixpkgs#ngrepngrep 1.47+ds1-5build2
grep for network traffic
sudo apt install ngrepngrep 1.49.0-r0
A grep-like utility that allows you to search for network packets on an interface
https://ngrep.sourceforge.net/
sudo apk add ngrepngrep-dbg 1.49.0-r0
A grep-like utility that allows you to search for network packets on an interface (debug symbols)
https://ngrep.sourceforge.net/
sudo apk add ngrep-dbgngrep-doc 1.49.0-r0
A grep-like utility that allows you to search for network packets on an interface (documentation)
https://ngrep.sourceforge.net/
sudo apk add ngrep-docngrep 1.47^20241209gitb2e3ba3-4.fc44
Network layer grep tool
sudo dnf install ngrepngrep 1.49.0-1
A grep-like utility that allows you to search for network packets on an interface.
https://github.com/jpr5/ngrep/
sudo pacman -S ngrepngrep 1.49.0-1.3
Network grep
sudo zypper install ngrepngrep
sudo port install ngrepQuellspur
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.