LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   viewing all ftp servers available in LAN (https://www.linuxquestions.org/questions/linux-newbie-8/viewing-all-ftp-servers-available-in-lan-375848/)

mohtasham1983 10-22-2005 03:32 PM

viewing all ftp servers available in LAN
 
is there any command to show all available ftp servers in LAN?

bulliver 10-22-2005 04:13 PM

Sort of a hack, but this:
Code:

# nmap -p 20,21 192.168.0.*
seems to work for me, as long as FTP is on the standard port. I don't have FTP but:
Code:

# nmap -p 22 192.168.0.*
returns:
Code:

Starting nmap 3.93 ( http://www.insecure.org/nmap/ ) at 2005-10-22 14:12 PDT
Interesting ports on vyvyan.badcomputer.org (192.168.0.10):
PORT  STATE SERVICE
22/tcp open  ssh

Interesting ports on nina.badcomputer.org (192.168.0.100):
PORT  STATE SERVICE
22/tcp open  ssh

Interesting ports on virgo.badcomputer.org (192.168.0.102):
PORT  STATE SERVICE
22/tcp open  ssh

Nmap finished: 256 IP addresses (3 hosts up) scanned in 2.408 seconds



All times are GMT -5. The time now is 03:25 AM.