PDA

View Full Version : [ubuntu] capture voip data for skype



h9uest
December 9th, 2010, 01:18 PM
Hi all:

I'm using tcpdump and tcptrace to track all incoming and outgoing data packets through my network interfaces. But I fail to monitor the voip data for skype that way, although it works well with http port 80, for example.

I want to track the ip address of the data packets for skype, i.e. know the ip address of the other one speaking at the other end of skype. How can I achieve this?

FYI, I've checked the port setting in my skype and I'm sure I'm listening on the right port. But nothing is showing up while I'm in connection with skype.

Thanks a lot.

puppywhacker
December 9th, 2010, 06:21 PM
Skype uses P2P protocols to route packets. I don't think you will ever see the end-point you are connecting to. Rather it is distributed over a bunch of other (super) nodes. Skype uses a lot of secretive stuff

to see which connections you have there is no need to tcpdump, an netstat is enough.

netstat -tulpn | grep skype

h9uest
December 11th, 2010, 03:01 PM
Thanks, dude.