PAGES
← all tools
◆ Network Analysis & Monitoring

ngrep

open-source

PCAPPCAPA packet capture, recorded network packets that can be inspected later. Analysts use it to reconstruct communication and investigate protocol behavior or suspicious traffic.-based network packet analyzer that matches extended regular or hexadecimal expressions against packet data payloads.

Summary

ngrep is an open-source, free command-line tool that applies grep-style regular expression matching to network packet payloads captured via PCAP. It runs from the terminal (or as a Docker container against a live interface), reading captured traffic or a pcap file and filtering it with BPFBPFA Linux kernel virtual machine that lets programs attach small, sandboxed bytecode filters to kernel hooks — syscalls, network events, tracepoints — so cyber tools can observe or redirect kernel behaviour without writing a kernel module. logic similar to tcpdump, while its regex or hex matching narrows results to specific payload patterns. It suits people debugging plaintext protocols like HTTP, IMAP, DNS or SIPSIPSession Initiation Protocol, an IETF signaling standard for setting up and tearing down real-time voice and video calls over IP networks, giving cyber tools a structured way to intercept, fuzz, or analyze VoIP traffic., and those analyzing suspicious traffic from malware or compromised hosts, rather than teams wanting a full packet-analysis GUIGUIA graphical user interface, controls such as windows, buttons and menus. It lets people use software visually rather than entering commands.. Its own README compares it directly to GNU grep and to tools like tcpdump and snoop, positioning it as their regex-driven counterpart. Started in 2000 and still active, with 13 contributors and 159 commits in the past year, the project last released 194 days ago.

PCAP-based network packet analyzer that matches extended regular or hexadecimal expressions against packet data payloads.

How ngrep helps

Which plaintext protocol exchanges are actually failing between these two hosts?

filters the capture (or live interface) to the conversation with BPF logic, then matches the regex against payload text so the request/response bodies causing the failure are printed directly to the terminal

Is this host talking to something it shouldn't be?

scans captured or live traffic for payload patterns typical of malware or command-and-control chatter and prints every matching packet with its source and destination, letting suspicious sessions be picked out from normal ones

Did a credential or cookie actually go out over this connection in plaintext?

matches a regex against the payload of each packet and shows the full header and body text of every hit, so a captured login or session cookie is visible in the output

Which packets in this old capture file match a pattern I only just learned to look for?

rereads a saved pcap file offline and applies the same regex/hex matching used on live traffic, reporting every matching packet without needing to recapture

Which containers were actually part of this traffic?

resolves the IP addresses in matched packets to Docker or Podman container names, using live event tracking when the container socket is reachable and falling back to periodic polling otherwise

Is there any traffic here at all matching what I'm looking for?

prints a row of markers for every non-matching packet and exits with a distinct status when nothing in the whole capture matched, distinguishing an empty result from a real one

all 3 features, with the evidence for each →

Languages

Not documented

Features

3 capabilities across 2 capability groups · 3 backed by code, an API document or a real run

Built from ngrep's releases, docs, README and our own runs. “Seen” marks the month we first spotted a release the vendor didn't date. Group names and tags are our labels.

Compare with peers →

  • ngrep covers 1 of the 5 network observation capabilities we track.
  • ngrep covers 1 of the 34 network analysis capabilities we track.

What ngrep offers you

  • Command-line interface1
Network traffic analysis 2 features Network observation since 2026
Live packet capture and pcap file inspection verified Matches and displays network packets against patterns, supporting both live traffic and pcap file replay, with output showing matched packet headers and payloads and non-matching packets indicated by '#' characters. 3 other sources · first seen Aug 2026

Shared capability: Network traffic analysis

Also counts toward: Command-line interface

docs

  • PCAP-based network packet analyzer that matches extended regular or hexadecimal expressions against packet data payloads.

we ran it

  • Multiple matched HTTP GET requests from 192.168.0.51 to various hosts including tomshardware.co.uk and ad-related endpoints, with full headers and cookies visible. Aug 2026 · the full run
  • The tool opened the pcap file and applied its default IP filter alongside the TCP match pattern, printing a long sequence of '#' characters representing non-matching packets before exiting. Aug 2026 · the full run
Container name resolution for IP addresses verified Resolves container IP addresses to their Docker or Podman container names in packet output, using the Events API when the socket is accessible or falling back to CLI-based polling with a 30-second cache TTL. 1 other source · first seen Feb 2026

Shared capability: Network traffic analysis

command line

  • -r — Resolve container IP addresses to their Docker or Podman container names. When enabled, IP addresses are displayed as in packet output. If the Docker or Podman socket is accessible, ngrep uses the Events API for real-time container tracking. Otherwise, it falls back to CLI-based polling with a 30-second cache TTL. v1.49.0 · Feb 2026 · command-line history
Hex and ASCII payload display 1 feature Network analysis since 2025
UTF-8 character display in packet output verified Optionally renders UTF-8 characters in packet contents output instead of escaping them. 2 other sources · first seen Oct 2025

Shared capability: Hex and ASCII payload display

command line

  • -u — Display UTF-8 characters in packet contents output. v1.48.2 · Nov 2025 · command-line history
  • -U — Display UTF-8 characters in packet contents output. v1.48.1 · Oct 2025 · command-line history

Lines in monospace are the tool's own words: help text parsed from its source, or an endpoint from its API document. Under release, a line is our summary of a dated release. Under docs, it is quoted from the tool's own documentation or website. Each links back to the source it came from.

Score card

  1. Shipping velocity releases a month, last 12 months
  2. Documentation quality release-notes rubric, 0–100
  3. Breaking-change discipline how rarely a release breaks users, and notice given
  4. Maintenance risk quiet time against its own cadence, maintainers
  5. Innovation & surface new capabilities, API and MCP surface
  6. Community health
  7. Contributor trend distinct committers, this year against last
  8. Maintainer concentration bus factor now against a year ago
  9. Issue backlog trend issues closed per issue opened, 12 months
  10. Responsiveness median time to a maintainer’s first reply

Nine scores for ngrep, each built from the releases, notes and API history this site tracks — and, on Researcher and Business, where it stands among every measured tool in its category and how that has moved.

Score cards are part of every paid plan.

See plans →

Each score is 0–100 on a published rubric, derived from data this site already shows. A dimension we cannot measure says so — it is never scored 0 and never enters a rank.

How this is scored
  • Shipping velocity — releases a month over the last 12 months, on a log scale where 16 a month scores 100. Needs 3 releases in the window.
  • Documentation quality — the release-notes rubric published on the analytics page, unchanged.
  • Breaking-change discipline — the share of releases carrying a breaking change (none scores 100, half or more scores 0). Only projects that label breaking changes are measured: a clean record cannot be told from an unlabelled one.
  • Maintenance risk — quiet time measured against the tool's own release cadence (quiet longer than 90 days and three typical gaps scores 0), plus the number of active maintainers and whether contributors are growing, where known. Higher is lower risk.
  • Innovation & surface — new capabilities in the feature ledger this year, API and MCP operations added, and the share of commits that are features: the mean of whichever we hold.
  • Community health (open-source tools only) — each is a direction, not a size: contributors this year against last, the bus factor now against a year ago, and issues closed per issue opened, where steady scores 50, doubled 100 and halved 0; plus the median time to a maintainer's first reply (an hour scores about 100, a month or more 0). A commercial card has no repository and carries none of the four.
  • Documented delivery (commercial tools) — when a vendor's documented new capabilities have slowed against its own baseline, that counts against the overall standing as heavily as two low dimensions. Steady delivery, or too little history to judge, leaves the standing alone; it is never a sixth score.
  • Open-source tools are scored on repository signals; commercial tools on their published changelog. Ranks compare tools within one category and one profile and need at least five measured peers; the overall standing needs three ranked dimensions. Best-in-breed or consolidator is a shape, not a quality, and is never scored.

Release-note detail over time

See how much detail ngrep puts in its release notes, quarter by quarter, and compare it with tracked tools in the same category. This history uses up to ten retained, reviewed notes per tool; sparse or blank older quarters may reflect that limit.

Checking release-note history…

Explore the full chart →

Releases

Nothing shipped since we started watching. Releases and docs updates land here as they happen.

last release Feb 8, 2026 · watching since Jun 24, 2026

Project health

Issue, contributor and maintainer activity in jpr5/ngrep, 2023-10 – 2026-09, as of 2026-09-25. Twelve-month figures first; the trend lines run the whole window.

  1. Contributors 2 ±0 vs prior 12 months
  2. Maintainers 1 +1 joined · −1 left, last 12 months
  3. Bus factor 1 committers behind half the commits
  4. Community-filed 100% of issues opened, last 12 months
  5. Median time to close 6.6 years first maintainer reply 19 hours
  6. Open backlog 0 of 22 issues ever filed
  1. Issues opened / month 0 · 0 communitymaintainers
  2. Open backlog 0
  3. Contributors / month 0
  4. Commits / month 0
  5. Stars 1,021
Issue themes, last 12 months
  • other 100%

Counts from the project's public repository and git history; no individuals are identified. Maintainers are the committers covering 80% of the last year's commits. how we measure this

Libraries its release ships

What its latest release locks, checked against known advisories.

None of its release's images build from a lockfile we can read.

Add the badge to your README

Maintain this project? The badge links readers straight to this page, so they can follow every release here.

Tracked by Cyber Toolchain Choose a badge style and copy the code →
browse all tools → score card for your toolchain →