Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've a .net application for windows. This application transfers a lot of data to and from a particular server on a fix port no 8888. I tried 'Tcpview' but couldn't figure out anything useful. I only figured that it uses 'tcp' connection.

  1. Is there a way to know which protocol is used for data transfer (I think port no 8888 is not specific port so not helpful)? How exactly my machine makes connection to this server? Is it telnet/http etc or what?

  2. How can I inspect the actual data which is being transferred?

  3. If data is encrypted, is it possible to know encryption method on client side (without reverse engineering)?

Thanks.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Wireshark may help to answer questions 1 and 2. You can set Wireshark to filter out anything except TCP port 8888. Then simply select one of the packets, and Wireshark will break it down into the various protocol layers (assuming it recognises the protocols). If you start Wireshark before your application, then you should be able to see any set-up activity generated by the application.

You will also be able to inspect the payload data (again, assuming Wireshark is able to decode the particular protocol which contains the payload).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.