tcp reset

Posted anyu686

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tcp reset相关的知识,希望对你有一定的参考价值。

RESET is a flag in TCP packets to indicate that the conection is not longer working. So, if any of the two participants in a TCP connection send a packet contains such a RESET flag, the connection will be closed immediately

 

When an unexpected TCP packet arrives at a host, that host usually responds by sending a reset packet back on the same connection. A reset packet is simply one with no payload and with the RST bit set in the TCP header flags.

There are a few circumstances in which a TCP packet might not be expected; the two most common are:

  1. The packet is an initial SYN packet trying to establish a connection to a server port on which no process is listening.

  2. The packet arrives on a TCP connection that was previously established, but the local application already closed its socket or exited and the OS closed the socket.

以上是关于tcp reset的主要内容,如果未能解决你的问题,请参考以下文章

基于scapy的tcp reset阻断

抓包排错-tcp.flags.reset

TCP中的RST标志(Reset)详解

异常和TCP通讯

connection reset by peer 发生了什么?

Dockerread tcp 172.16.11.202:42874->104.18.125.25:443: read: connection reset by peer