stream/event: New reassembly depth event

Issue: 3512

This commit adds a stream event triggered when the stream assembly depth
is reached.
pull/7703/head
Jeff Lucovsky 3 years ago committed by Victor Julien
parent e1e03c25c9
commit 6a039ab316

@ -1,4 +1,4 @@
/* Copyright (C) 2007-2013 Open Information Security Foundation
/* Copyright (C) 2007-2022 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
@ -836,6 +836,10 @@ const struct DecodeEvents_ DEvents[] = {
"stream.reassembly_overlap_different_data",
STREAM_REASSEMBLY_OVERLAP_DIFFERENT_DATA,
},
{
"stream.reassembly_depth_reached",
STREAM_REASSEMBLY_DEPTH_REACHED,
},
{ NULL, 0 },
};

@ -1,4 +1,4 @@
/* Copyright (C) 2007-2013 Open Information Security Foundation
/* Copyright (C) 2007-2022 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
@ -287,6 +287,7 @@ enum {
STREAM_REASSEMBLY_NO_SEGMENT,
STREAM_REASSEMBLY_SEQ_GAP,
STREAM_REASSEMBLY_OVERLAP_DIFFERENT_DATA,
STREAM_REASSEMBLY_DEPTH_REACHED,
/* should always be last! */
DECODE_EVENT_MAX,

Loading…
Cancel
Save