logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Filter Network Traffic - Control Packets with ngrep | Online Free DevTools by Hexmos

Filter network traffic with ngrep, a powerful tool for analyzing packets using regular expressions. Capture, inspect, and debug network communications. Free online tool, no registration required.

ngrep

Filter network traffic packets using regex. More information: https://github.com/jpr5/ngrep/blob/master/EXAMPLES.md.

  • Capture traffic of all interfaces:

ngrep -d any

  • Capture traffic of a specific interface:

ngrep -d {{eth0}}

  • Capture traffic crossing port 22 of interface eth0:

ngrep -d {{eth0}} port {{22}}

  • Capture traffic from or to a host:

ngrep host {{www.example.com}}

  • Filter keyword ‘User-Agent:’ of interface eth0:

ngrep -d {{eth0}} '{{User-Agent:}}'

See Also