← Back to tools
View AGENTS.md for ngrep
ngrep
Network packet grep - match regex against network traffic payloads
Description
ngrep (Network grep) applies grep logic to the network layer, allowing you to match regular expressions against data payloads of packets. It recognizes IPv4/6, TCP, UDP, ICMPv4/6, IGMP and Raw across Ethernet, PPP, SLIP, FDDI, Token Ring, and null interfaces.
AI Summary
Grep for network traffic that matches regex patterns against packet payloads
Capabilities
- + Match regular expressions against network packet payloads
- + Support IPv4/6, TCP, UDP, ICMP protocols
- + Work across multiple network interface types
- + Filter by BPF expressions
Use When
- → You need to search for patterns in network traffic
- → You want a quick network debugging tool
Avoid When
- x You need full packet analysis (use Wireshark/tcpdump instead)