tags:

views:

359

answers:

2

Hey ,I was trying to findout a way to read multiple port using tcpdump.suppose i have two port p1 and p2 , i want to read the traffic moving through both port simountinously.is there any way to do it using tcpdump or will i have to use some other tool. Basically i am running proxyserver which is running on some port.i want to read the traffic moving through this port as well traffic moving through port 80(HTTP). Any help will be appriciated! THANKS!!!

A: 

Two copies of tcpdump in two windows.

bmargulies
Or, background one and then start another in the *same* terminal.
AJ
oh thanks ,actually i was trying that but it was not working as when i starting one other getting stopped by it self.I tried both running in different terminal as well as one as background process and other as forground.but now it is working.thanks anyway!btw i will be thankfull to you if you could point out reason for the above problem!!thanks
mawia
this is totally unnecessary. The second answer is what you're looking for.
jdizzle
I can't delete it, it's accepted.
bmargulies
+3  A: 

tcpdump port 80 or port 3128

caf