出于好奇,我将定期运行nmap localhost
,以查看主机上哪些端口处于打开状态。不久前,我运行了此命令并获得以下输出:
Starting Nmap 7.70 ( https://nmap.org ) at 2019-10-09 09:57 EDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00023s latency).
Other addresses for localhost (not scanned): ::1
Not shown: 998 closed ports
PORT STATE SERVICE
5666/tcp filtered nrpe
6543/tcp filtered mythtv
没有人知道为什么nrpe和mythtv可能在本地主机上运行吗?一秒钟后,nmap localhost
瞬间返回到开放端口,这对我来说似乎很粗略。其他人的任何建议都会有所帮助!