How can I know which Internet proxies servers are available in a LAN? The computer I'm using is running Windows.
3 Answers
In general, a scan of port 53 (tcp should be okay), for the entire LAN would show you which computers are running the DNS service. You can get nmap for Windows to do this.
If you suspect a computer might be a DNS server, you can telnet <ip> 53
and see if the sessions starts. You could of course also use nslookup.
Edit:
So you want to scan for tcp ports 80,8080,8081, using nmap you could nmap -sT -pT:80,8080,8081 192.168.1.1/24
to scan the 192.168.1.1 255.255.255.0 network, and look for 'open' ports.
-
-
Sorry. I originally asked for DNS server but what I really wanted to ask for are Internet proxies to configure my web browser.– AnonymousDec 10, 2009 at 13:18
-
-
So yes, you could use nmap to scan for those common ports Massimo mentioned and then see if they are a proxy. Dec 10, 2009 at 13:20
You can't.
A proxy server could be listening on any TCP port, and although 80, 8080, 8081 and similar ones are quite common, there's no guarantee that if one of such ports is open on a given host, that is actually a proxy server.
-
I know 2 proxies in this LAN listening at 8080. How can I know all the servers listening at 8080?– AnonymousDec 10, 2009 at 13:19
-
Use a port scanner, such as NMAP. But beware, this could make your network admin quite unhappy.– MassimoDec 10, 2009 at 13:21
-
seems like a pretty simple question.
there are a number of windows clients that look like they will find proxies
try