Hi Aaron,
On 01/08/2004, at 1:25 AM, Aaron Ballman wrote:
What is the best way to find machines on a network that have ports
open.
eg I want to find all the machines on the local network that have port
4563
open
You are wondering how to do a "port scan" and the short answer is: why
do
you need to do this?
I am using port 4563 as my port inside a clients site.
I want to be able to look at the local net and see if any machines have
been set to be a server by the client
It's complicated to do it properly. If you just need
something very simple and don't mind abusing the local network, then
you can
simply loop over all the local addresses (using the netmask to
determine
what IPs are "local") and try connecting on that port.
I thought about the brute force method ( which I will use if I can't
find another way )
Isn't there some way of broadcasting to the whole internal net at once?
Keith
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|