Hello everyone!!!
I need to make a program that will list all the local ports that are open and the processes that use them. Is there any way to create such a program? I would also like to know if i can monitor the traffic(data thats transmitted) of a port even if another process already uses that port.
Am I asking too much??? :D
Port monitoring with VB.NET
Started by sakishrist, Jan 13 2008 02:46 AM
2 replies to this topic
#1
Posted 13 January 2008 - 02:46 AM
|
|
|
#2
Posted 16 January 2008 - 05:27 AM
Checking ports is simple. Use Visual Basic to open ALL ports. If you receive an error when trying to open a port then that port is in use. You'll have to map the common ports such as "21" = "ftp". This only works for a local machine. To test ports on a remote machine make a connection to that port. If it isn't rejected then the port is open.
For monitoring traffic I have no ideas. You could make a proxy software where all traffic flows through it. Other than that I do not know.
For monitoring traffic I have no ideas. You could make a proxy software where all traffic flows through it. Other than that I do not know.
#3
Posted 16 January 2008 - 11:35 AM
Lop said:
Checking ports is simple.
Use Visual Basic to open ALL ports.
Use Visual Basic to open ALL ports.
1. Take too much time
2. Make Your computer say to others "Come on, Hack Me!"
Quote
If you receive an error when trying to open a port then that port is in use.
Maybe you are right... but risky! You can simple scan your computer for open ports normally by applying this:
Quote
To test ports on a remote machine make a connection to that port. If it isn't rejected then the port is open.
Instead of an IP insert localhost
Quote
You'll have to map the common ports such as "21" = "ftp". This only works for a local machine.
That would only state the protocol, not the process using it.
Quote
I would also like to know if i can monitor the traffic(data thats transmitted) of a port even if another process already uses that port.
I don't know if that is possible to do that for every open port.. maybe yes.. maybe no.


Sign In
Create Account


Back to top









