|
|
@ -706,15 +706,16 @@ int AppLayerParse(Flow *f, uint8_t proto, uint8_t flags, uint8_t *input,
|
|
|
|
|
|
|
|
|
|
|
|
uint16_t parser_idx = 0;
|
|
|
|
uint16_t parser_idx = 0;
|
|
|
|
AppLayerProto *p = &al_proto_table[proto];
|
|
|
|
AppLayerProto *p = &al_proto_table[proto];
|
|
|
|
|
|
|
|
TcpSession *ssn = NULL;
|
|
|
|
|
|
|
|
|
|
|
|
if (flags & STREAM_GAP) {
|
|
|
|
ssn = f->protoctx;
|
|
|
|
SCLogDebug("stream gap detected (missing packets), this is not yet supported.");
|
|
|
|
if (ssn == NULL) {
|
|
|
|
|
|
|
|
SCLogDebug("no TCP session");
|
|
|
|
goto error;
|
|
|
|
goto error;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TcpSession *ssn = f->protoctx;
|
|
|
|
if (flags & STREAM_GAP) {
|
|
|
|
if (ssn == NULL) {
|
|
|
|
SCLogDebug("stream gap detected (missing packets), this is not yet supported.");
|
|
|
|
SCLogDebug("no TCP session");
|
|
|
|
|
|
|
|
goto error;
|
|
|
|
goto error;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|