# ngrep
> Network packet grep - match regex against network traffic payloads

## 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

## When to Use
- You need to search for patterns in network traffic
- You want a quick network debugging tool

## When NOT to Use
- You need full packet analysis (use Wireshark/tcpdump instead)

## Related Tools
- [sysdig](/tools/sysdig) (complementary)

---
Source: https://littlescripts.sh/tools/ngrep
