B
Brad Tilley
I have a program that uses threads to quickly check class B networks (65,536)
hosts for public web servers. It works great. I'd like to check for other
servers as well. Basically, I've got the hosts threaded. Now, I'd like to
thread the ports so that while the hosts are being probed concurrently that
ports on the hosts could be probed concurrently as well. It might look like
this:
A Thread
host
A Thread
port 80
port 443
port 25
host
A Thread
port 445
port 139
host
A Thread
...
I can demonstrate actually code (with only threaded hosts) if that would be
helpful, but I'd rather keep it abstract and discuss how to handle threads
within a thread... hope that makes sense.
hosts for public web servers. It works great. I'd like to check for other
servers as well. Basically, I've got the hosts threaded. Now, I'd like to
thread the ports so that while the hosts are being probed concurrently that
ports on the hosts could be probed concurrently as well. It might look like
this:
A Thread
host
A Thread
port 80
port 443
port 25
host
A Thread
port 445
port 139
host
A Thread
...
I can demonstrate actually code (with only threaded hosts) if that would be
helpful, but I'd rather keep it abstract and discuss how to handle threads
within a thread... hope that makes sense.