官术网_书友最值得收藏!

The reason switch

Note that, in the output from the UDP scan, some ports are reported as open/filtered. This indicates that Nmap cannot determine whether the port is open or is filtered by a device such as a firewall. Unlike TCP ports that respond with a RST packet when they are closed, UDP ports respond with an ICMP packet when they are closed. This can make scans far less reliable, as often the ICMP response is blocked or dropped by intermediate devices (firewalls or routers).

Nmap has a switch that will return the reason why it has placed a particular port in a particular state. For instance, we can run the same UDP scan as before with the --reason switch and Nmap will return the same results, but this time it will give us the reason it has determined the particular state of the port. Type nmap -sU --reason 192.168.10.70:

Note that, in the preceding screenshot, I have highlighted the REASON why Nmap has found that port 123 is either open or filtered. Nmap tells us that it received no response, so it doesn't know if that port is open or filtered:

主站蜘蛛池模板: 安仁县| 开鲁县| 洛阳市| 夏津县| 电白县| 铜川市| 黄陵县| 左云县| 离岛区| 宜兰县| 望都县| 庆阳市| 开封县| 德兴市| 乐亭县| 疏附县| 嘉黎县| 石阡县| 天柱县| 五大连池市| 从江县| 闵行区| 林芝县| 信宜市| 石家庄市| 榆中县| 克东县| 南通市| 都匀市| 政和县| 竹北市| 慈溪市| 岳池县| 宽城| 武城县| 谢通门县| 玉环县| 定安县| 丰镇市| 上虞市| 珲春市|