jpr5/ngrep
ngrep is like GNU grep applied to the network layer. It's a PCAP-based tool that allows you to specify an extended regular or hexadecimal expression to match against data payloads of packets. It understands many kinds of protocols, including IPv4/6, TCP, UDP, ICMPv4/6, IGMP and Raw, across a wide variety of interface types, and understands BPF filter logic in the same fashion as more common packet sniffing tools, such as tcpdump and snoop. observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 66
- Release rhythm 69
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 8
- age_days: 6090
- days_rel: 206
- days_push: 206
- n_releases_24m: 4
Adoption not part of the score
1020 stars · 106 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ngrep is a PCAP-based command-line tool that applies GNU grep-style regular or hexadecimal expression matching to network packet payloads. It understands IPv4/6, TCP, UDP, ICMPv4/6, IGMP and Raw protocols and supports BPF filter logic like tcpdump.
Use cases
- grep network traffic for a pattern
- debug plaintext protocol interactions like HTTP, DNS, SIP
- search pcap dump files for specific data
- analyze anomalous network communications from malware
- sniff packets matching a BPF filter
- inspect HTTP requests on port 80
When to choose
- you need to search live traffic or pcap files for payload patterns with regex
- you want tcpdump-style BPF filtering combined with grep-style matching
- you're debugging plaintext protocols like HTTP, IMAP, or DNS
When to avoid
- you need deep protocol dissection or GUI analysis (use Wireshark)
- traffic is encrypted and you need to inspect decrypted content
- you need long-term traffic monitoring or alerting rather than ad-hoc matching
Facets
cli-tool · maturity active
search-engine networking security developer-tools cli networking security developer-tools windows cli cross-platform packet-sniffer pcap grep network-debugging bpf-filter tcpdump traffic-analysis command-line linux macos docker
2 sources
- readme: https://github.com/jpr5/ngrep · fetched 2026-08-28 · 7bfb4c8bf3dc
- homepage: https://github.com/jpr5/ngrep · fetched 2026-08-29 · f124a8d9369e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jpr5/ngrep | main | 74 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem