nmap のインストール

ポートのopen状況を確認するために nmap をインストール

[root@server ~]#  yum install -y nmap
Setting up Install Process
Setting up repositories
livna                     100% |=========================|  951 B    00:00
updates-released          100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 327 kB    00:00
updates-re: ################################################## 940/940
Added 64 new packages, deleted 90 old in 2.25 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package nmap.i386 2:3.81-3 set to be updated
--> Running transaction check
Dependencies Resolved
======================================================
Package                 Arch       Version          Repository        Size
======================================================
Installing:
nmap                    i386       2:3.81-3         base              527 k
Transaction Summary
======================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 527 k
Downloading Packages:
(1/1): nmap-3.81-3.i386.r 100% |=========================| 527 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: nmap                         ######################### [1/1]
Installed: nmap.i386 2:3.81-3
Complete!

ポートのopen状況の確認

[root@server ~]#  nmap localhost
Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-10-05 17:04 JST
Interesting ports on fedora.yokensaka.com (127.0.0.1):
(The 1652 ports scanned but not shown below are in state: closed)
PORT     STATE SERVICE
21/tcp   open  ftp
22/tcp   open  ssh
25/tcp   open  smtp
80/tcp   open  http
110/tcp  open  pop3
111/tcp  open  rpcbind
143/tcp  open  imap
631/tcp  open  ipp
993/tcp  open  imaps
995/tcp  open  pop3s
3306/tcp open  mysql
Nmap finished: 1 IP address (1 host up) scanned in 0.267 seconds

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください