From aa26dae5a19c522eceb1e05e775f62fba38f8e8d Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 18 Jul 2013 08:02:08 +0200 Subject: [PATCH] Stream: don't inject stream end pseudo pkt on FinWait2 state. Bug #883. --- src/stream-tcp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/stream-tcp.c b/src/stream-tcp.c index af562ee7b6..a30fc1c6d4 100644 --- a/src/stream-tcp.c +++ b/src/stream-tcp.c @@ -3004,8 +3004,6 @@ static int StreamTcpPacketStateFinWait2(ThreadVars *tv, Packet *p, SCLogDebug("ssn %p: =+ next SEQ %" PRIu32 ", last ACK " "%" PRIu32 "", ssn, ssn->client.next_seq, ssn->server.last_ack); - - StreamTcpPseudoPacketCreateStreamEndPacket(p, ssn, pq); } else { /* implied to client */ SCLogDebug("ssn %p: pkt (%" PRIu32 ") is to client: SEQ " "%" PRIu32 ", ACK %" PRIu32 "", ssn, p->payload_len, @@ -3060,8 +3058,6 @@ static int StreamTcpPacketStateFinWait2(ThreadVars *tv, Packet *p, SCLogDebug("ssn %p: =+ next SEQ %" PRIu32 ", last ACK " "%" PRIu32 "", ssn, ssn->server.next_seq, ssn->client.last_ack); - - StreamTcpPseudoPacketCreateStreamEndPacket(p, ssn, pq); } } else if (p->tcph->th_flags & TH_SYN) {