diff --git a/src/stream-tcp.c b/src/stream-tcp.c index d2acf1d41e..6fe7c61426 100644 --- a/src/stream-tcp.c +++ b/src/stream-tcp.c @@ -1467,8 +1467,10 @@ static int StreamTcpPacketStateSynSent(ThreadVars *tv, Packet *p, "toclient":"toserver"); /* check for bad responses */ - if (StateSynSentValidateTimestamp(ssn, p) == false) + if (StateSynSentValidateTimestamp(ssn, p) == false) { + StreamTcpSetEvent(p, STREAM_PKT_INVALID_TIMESTAMP); return -1; + } /* RST */ if (p->tcph->th_flags & TH_RST) {