| $ nmap -sP 10.0.0.1-254 Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2006-11-01 14:46 NZDT Host 10.0.0.25 appears to be up. MAC Address: 00:0C:F1:AE:E6:08 (Intel) Host 10.0.0.51 appears to be up. MAC Address: 08:00:09:9A:1A:AA (Hewlett Packard) Host 10.0.0.70 appears to be up. MAC Address: 00:0F:EA:64:4E:1E (Giga-Byte Tech Co.) |
| #nmap -sS 10.0.0.89 Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2006-11-01 14:52 NZDT Interesting ports on 10.0.0.89: (The 1637 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 42/tcp open nameserver 80/tcp open http 110/tcp open pop3 ... |
| # nmap -sV 10.0.0.89 Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2006-11-01 14:47 NZDT Interesting ports on 10.0.0.89: (The 1637 ports scanned but not shown below are in state: closed) PORT STATE SERVICE VERSION 21/tcp open ftp? 22/tcp open ssh OpenSSH 3.8.1p1 Debian-8.sarge.4 (protocol 2.0) 42/tcp open nameserver? 80/tcp open http Apache httpd 1.3.33 ((Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.3.10-16) 110/tcp open pop3? ... |
| # nmap -O -sS 10.0.0.89 Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2006-11-02 09:02 NZDT Interesting ports on 10.0.0.89: (The 1637 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 21/tcp open ftp ... Device type: general purpose Running: Linux 2.4.X|2.5.X|2.6.X OS details: Linux 2.5.25 - 2.6.3 or Gentoo 1.2 Linux 2.4.19 rc1-rc7), Linux 2.6.3 - 2.6.8 Uptime 30.906 days (since Mon Oct 2 11:18:59 2006) |
因此,请使用nmap在你的网络上检查所有机器,看是否存在有临时安装的但又被忘记删除的服务,你也可以用它从你的网络范围之外来检查你的防火墙是否正确地配置了。
![]() |

