1 |
On Tue, 4 Jul 2006 17:38:28 -0700 |
2 |
Grant <emailgrant@×××××.com> wrote: |
3 |
> How can I check which ports are open? |
4 |
|
5 |
nmap can do this. Just `emerge nmap` and run `nmap yourdomain.com` |
6 |
Below is what the output looks like: |
7 |
|
8 |
tcort@pan ~ $ nmap cs.ubishops.ca |
9 |
|
10 |
Starting Nmap 4.01 ( http://www.insecure.org/nmap/ ) at 2006-07-04 |
11 |
22:14 EDT Interesting ports on cs.ubishops.ca (206.167.194.132): |
12 |
(The 1662 ports scanned but not shown below are in state: closed) |
13 |
PORT STATE SERVICE |
14 |
21/tcp open ftp |
15 |
22/tcp open ssh |
16 |
25/tcp open smtp |
17 |
80/tcp open http |
18 |
110/tcp open pop3 |
19 |
143/tcp open imap |
20 |
443/tcp open https |
21 |
465/tcp open smtps |
22 |
993/tcp open imaps |
23 |
995/tcp open pop3s |
24 |
|
25 |
Nmap finished: 1 IP address (1 host up) scanned in 5.906 seconds |