"tcpdump -r -" option on ngrep
Hello
i have mikrotik router and I need to get some traffic info from it but doesn't have tools to cut it, as i need
the best way is stream the traffic to the a Linux box. The Mikrotik router has this facility just set the linux server ip which i want to stream to and download tools called trafr from mikrotik site and run it*on the Linux box
--------*
Mikrotil >Stream trafic send to > linuxbox*
and from linux box i run
#./trafr -s | /usr/sbin/tcpdump -A -n -r -
and i got all i need
but i actuality found the ngrep powerful and useful in finding out what’s i need on my network better than tcpdump*
so how can i run ngrep instead of tcpdump
as i understood from tcpdump with -r - option is " -r Read packets from file (which was created with the -w option). Standard input is used if file is ``-''."
can i have the same on ngrep ?
Last edited by jmishal; 09-06-2014 at 05:54 AM.
|