Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"tcpdump -r -" option on ngrep
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jmishal
n00b
n00b


Joined: 06 Nov 2005
Posts: 37

PostPosted: Fri Sep 05, 2014 11:32 pm    Post subject: "tcpdump -r -" option on ngrep Reply with quote

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 which i want to stream to and download tools called trafr from mikrotik site and run it

--------
Mikrotil >Stream trafic to > linuxbox


and from linux box i run

#./trafr -s | /usr/sbin/tcpdump -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 ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum