开发者

Why TCP RST packet generated what are the possible cause

开发者 https://www.devze.com 2023-03-20 01:53 出处:网络
when TCP RST packet generated? what are the possible cause of generation on 开发者_StackOverflow社区TCP RST packet? The RST flag is used to signal any kind of error and terminate the connection.

when TCP RST packet generated? what are the possible cause of generation on 开发者_StackOverflow社区TCP RST packet?


The RST flag is used to signal any kind of error and terminate the connection.

  • If you send a packet with a wrong ACK, you will get a RST
  • If you don't acknowledge data in a timely manner, you get a RST

Basically, if you do anything wrong, a TCP will send a RST and terminate the connection.


It is also possible that Linux Kernel sent these RSTs.

An example: http://blog.facilelogin.com/2010/12/hand-crafting-tcp-handshake-with-scapy.html

0

精彩评论

暂无评论...
验证码 换一张
取 消