"RST" 标志的用途是什么?
What is the purpose of "RST" flag?
我使用 Nmap 扫描我的 metasploitable 机器以寻找来自 Kali 的开放端口,并使用 Wireshark 捕获流量,并注意到对于发送到开放端口的每个 SYN 数据包,也会发送一个 RST 数据包。为什么?
阅读RFC 793 3.4以了解有关重置数据包的更多信息。在你的情况下,解释是:
1. If the connection does not exist (CLOSED) then a reset is sent
in response to any incoming segment except another reset. In
particular, SYNs addressed to a non-existent connection are rejected
by this means.
我使用 Nmap 扫描我的 metasploitable 机器以寻找来自 Kali 的开放端口,并使用 Wireshark 捕获流量,并注意到对于发送到开放端口的每个 SYN 数据包,也会发送一个 RST 数据包。为什么?
阅读RFC 793 3.4以了解有关重置数据包的更多信息。在你的情况下,解释是:
1. If the connection does not exist (CLOSED) then a reset is sent in response to any incoming segment except another reset. In particular, SYNs addressed to a non-existent connection are rejected by this means.