diff --git a/src/app-layer-parser.c b/src/app-layer-parser.c index acfe957463..1a196178c7 100644 --- a/src/app-layer-parser.c +++ b/src/app-layer-parser.c @@ -707,6 +707,11 @@ int AppLayerParse(Flow *f, uint8_t proto, uint8_t flags, uint8_t *input, uint16_t parser_idx = 0; AppLayerProto *p = &al_proto_table[proto]; + if (flags & STREAM_GAP) { + SCLogDebug("stream gap detected (missing packets), this is not yet supported."); + goto error; + } + TcpSession *ssn = f->protoctx; if (ssn == NULL) { SCLogDebug("no TCP session");