ngrep Command Examples

Filter network traffic packets using regular expressions. More information: https://github.com/jpr5/ngrep.

ngrep -d any

ngrep -d {{eth0}}

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

ngrep host {{www.example.com}}

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