• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to find out what program is listening on different ports?

 
shiva ghandi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys
I am supposed to work on a monitoring program

i wonder how i should chase different sockets' activities?

i mean:
1. what program is listening on busy ports?
2.how much traffic does it make?
3.what data are these ports sending?

SOS
help me!

tnx
 
Henry Wong
author
Marshal
Pie
Posts: 21496
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
shiva ghandi wrote:
I am supposed to work on a monitoring program

i wonder how i should chase different sockets' activities?

i mean:
1. what program is listening on busy ports?
2.how much traffic does it make?
3.what data are these ports sending?


For one, take a look at "netstat". For two and three, take a look at "tcpdump", "WinPcap", etc. for capturing. Take a look at Wireshark for viewing. And ... if money is not an issue, Corvil and TS-Associates make some cool hardware based network monitors.

Henry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic