Nmap

make -C /usr/ports/security/nmap install clean

Сканирование сети nmap -sP 192.168.1.0/24

192.168.1.2-254

Сканирование сервера nmap kate  Starting Nmap 4.20 ( http://insecure.org ) at 2010-01-22 14:52 MSK Interesting ports on kate (192.168.0.14): Not shown: 1694 filtered ports PORT    STATE SERVICE 139/tcp open  netbios-ssn 445/tcp open  microsoft-ds 4899/tcp open radmin MAC Address: 00:24:8C:B7:67:F8 (Unknown)  Nmap finished: 1 IP address (1 host up) scanned in 56.808 seconds 

telnet kate 445  Trying 192.168.0.14... Connected to kate. Escape character is '^]'. ^C^]<BR> </i>

CTRL+T
 * Просмотр прогресса

Stats: 0:06:44 elapsed; 0 hosts completed (1 up), 1 undergoing SYN Stealth Scan<BR> SYN Stealth Scan Timing: About 72.66% done; ETC: 16:09 (0:02:31 remaining)</i>

С порта баннеры забирает nmap -p 22 --open -sV --open позволяет пропустить те, где нет ответа?

sT- Connect

sudo nmap -sV lke Красивый вывод версии 5.0

<PRE> Starting Nmap 5.00 ( http://nmap.org ) at 2010-10-18 12:57 MSD Interesting ports on lke (192.168.5.11): Not shown: 997 closed ports PORT    STATE SERVICE VERSION 22/tcp  open  ssh     OpenSSH 4.5p1 (FreeBSD 20061110; protocol 2.0) 6000/tcp open X11     (access denied) 8010/tcp open xmpp? MAC Address: 00:10:4B:B2:0D:D7 (3com) Service Info: OSs: FreeBSD, Unix

Service detection performed. Please report any incorrect results at http://nmap.org/submit/. Nmap done: 1 IP address (1 host up) scanned in 12.76 seconds </PRE>

Некрасивый вывод 4.2 (?) sudo nmap -sV kvadriga <PRE> Starting Nmap 4.20 ( http://insecure.org ) at 2010-10-18 13:00 MSD Interesting ports on kvadriga (192.168.5.151): Not shown: 1695 closed ports PORT   STATE SERVICE VERSION 22/tcp open  ssh      (protocol 2.0) 631/tcp open ipp     CUPS 1.4 1 service unrecognized despite returning data. If you know the service/version, please submit the following fingerprint at http://www.insecure.org/cgi-bin/servi cefp-submit.cgi : SF-Port22-TCP:V=4.20%I=7%D=10/18%Time=4CBC0EBE%P=i386-portbld-freebsd7.0%r SF:(NULL,27,"SSH-2\.0-OpenSSH_5\.3p1\x20Debian-3ubuntu4\r\n"); MAC Address: 00:1D:7D:36:71:A5 (Unknown)

Service detection performed. Please report any incorrect results at http://insec ure.org/nmap/submit/. Nmap finished: 1 IP address (1 host up) scanned in 552.580 seconds </PRE>

Минусы
Может завешвать сетевые устройства, например, принтеры сетевые.

Для MS Windows
http://nmap.org/download.html