Files
linux/net/ipv4
Jason Xing 11f46ea981 tcp: rstreason: fully support in tcp_check_req()
We're going to send an RST due to invalid syn packet which is already
checked whether 1) it is in sequence, 2) it is a retransmitted skb.

As RFC 793 says, if the state of socket is not CLOSED/LISTEN/SYN-SENT,
then we should send an RST when receiving bad syn packet:
"fourth, check the SYN bit,...If the SYN is in the window it is an
error, send a reset"

Signed-off-by: Jason Xing <kernelxing@tencent.com>
Link: https://lore.kernel.org/r/20240510122502.27850-6-kerneljasonxing@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-05-13 17:33:57 -07:00
..
2024-05-01 18:37:07 -07:00
2024-05-08 10:39:26 +01:00
2024-01-23 15:13:55 +01:00
2024-04-30 18:32:38 -07:00
2024-01-04 10:23:10 -08:00
2024-04-30 18:46:52 -07:00
2022-12-20 03:13:45 +01:00
2023-09-14 16:16:36 +02:00