mirror of https://github.com/OISF/suricata
stream: tcp: Handle retransmitted SYN with TSval
For connections that use TCP timestamps for which the first SYN packet does not reach the server, any replies to retransmitted SYNs will be tropped. This is happening in StateSynSentValidateTimestamp, where the timestamp value in a SYN-ACK packet must match the one from the SYN packet. However, since the server never received the first SYN packet, it will respond with an updated timestamp from any of the following SYN packets. The timestamp value inside suricata is not being updated at any time which should happen. This patch fixes that problem. Bug: #4376. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>pull/7531/head
parent
8109b0017e
commit
f50af12068
Loading…
Reference in New Issue