Monitoring network traffic with ngrep | July 27, 2007-->
July 27, 2007There are many tools to monitor network traffic. Wading through lines and lines of tcpdump output can be cumbersome sometimes. ngrep to the rescue. From their website:
ngrep strives to provide most of GNU grep's common features, applying them to the network layer.
To install ngrep on a Mac OS X machine you can use the port command if you have darwinports installed.
To monitor the traffic to a certain host include the host information:
Hint use ifconfig to figure out which device to use (in my case it is en0, it might be eth0 for example on your machine).
Ngrep homepage: http://ngrep.sourceforge.net/
For usage information you can find more information here: http://ngrep.sourceforge.net/usage.html.
