nmap を使用して、実験用のポート スキャンを実行しています。宛先 IP は 192.168.199.201 です。そして、以下の2つのコマンドを試します:
-sT の使用:
stevennl@stevennl:~$ sudo nmap -sT 192.168.199.201
Starting Nmap 7.01 ( https://nmap.org ) at 2016-10-31 19:43 CST
Nmap scan report for 192.168.199.201
Host is up (0.00058s latency).
Not shown: 999 closed ports
PORT STATE SERVICE
80/tcp open http
MAC Address: 08:00:27:9E:4C:49 (Oracle VirtualBox virtual NIC)
Nmap done: 1 IP address (1 host up) scanned in 0.47 seconds
-sS の使用:
stevennl@stevennl:~$ sudo nmap -sS 192.168.199.201
Starting Nmap 7.01 ( https://nmap.org ) at 2016-10-31 19:43 CST
Nmap scan report for 192.168.199.201
Host is up (0.00040s latency).
Not shown: 999 closed ports
PORT STATE SERVICE
80/tcp open http
MAC Address: 08:00:27:9E:4C:49 (Oracle VirtualBox virtual NIC)
Nmap done: 1 IP address (1 host up) scanned in 1.81 seconds
-sS パラメータを使用すると、スキャンに時間がかかるのはなぜでしょうか。-sT を使用すると TCP の 3 回のハンドシェイクを完了する必要がありますが、-sS を使用すると TCP 接続が確立されないためです。-sS を使用する方が速いに違いありませんが、結果は逆です。間違っていますか?