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

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:

主站蜘蛛池模板: 固阳县| 武城县| 正定县| 锦州市| 中江县| 建始县| 江城| 江山市| 东台市| 九寨沟县| 开鲁县| 温州市| 贺州市| 南通市| 全椒县| 广饶县| 南阳市| 永福县| 张家口市| 龙井市| 磐安县| 白山市| 灵寿县| 青田县| 东乌| 龙陵县| 平阴县| 龙泉市| 邢台县| 兴仁县| 长垣县| 沈阳市| 札达县| 民乐县| 平湖市| 祥云县| 屏南县| 策勒县| 开阳县| 商河县| 米林县|