suricata
decode-events.h
Go to the documentation of this file.
1 /* Copyright (C) 2007-2022 Open Information Security Foundation
2  *
3  * You can copy, redistribute or modify this Program under the terms of
4  * the GNU General Public License version 2 as published by the Free
5  * Software Foundation.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * version 2 along with this program; if not, write to the Free Software
14  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15  * 02110-1301, USA.
16  */
17 
18 /**
19  * \file
20  *
21  * \author Victor Julien <victor@inliniac.net>
22  * \author Anoop Saldanha <anoopsaldanha@gmail.com>
23  */
24 
25 #ifndef SURICATA_DECODE_EVENTS_H
26 #define SURICATA_DECODE_EVENTS_H
27 
28 /* packet decoder events */
29 enum {
30  /* AF_PACKET EVENTS */
31  AFP_TRUNC_PKT = 0, /**< packet truncated by af-packet */
32 
33  /* IPV4 EVENTS */
34  IPV4_PKT_TOO_SMALL, /**< ipv4 pkt smaller than minimum header size */
35  IPV4_HLEN_TOO_SMALL, /**< ipv4 header smaller than minimum size */
36  IPV4_IPLEN_SMALLER_THAN_HLEN, /**< ipv4 pkt len smaller than ip header size */
37  IPV4_TRUNC_PKT, /**< truncated ipv4 packet */
38 
39  /* IPV4 OPTIONS */
40  IPV4_OPT_INVALID, /**< invalid ip options */
41  IPV4_OPT_INVALID_LEN, /**< ip options with invalid len */
42  IPV4_OPT_MALFORMED, /**< malformed ip options */
43  IPV4_OPT_PAD_REQUIRED, /**< pad bytes are needed in ip options */
44  IPV4_OPT_EOL_REQUIRED, /**< "end of list" needed in ip options */
45  IPV4_OPT_DUPLICATE, /**< duplicated ip option */
46  IPV4_OPT_UNKNOWN, /**< unknown ip option */
47  IPV4_WRONG_IP_VER, /**< wrong ip version in ip options */
48  IPV4_WITH_ICMPV6, /**< IPv4 packet with ICMPv6 header */
49  IPV4_PROTO_UNKNOWN, /**< IPv4 packet with unknown protocol*/
50 
51  /* ICMP EVENTS */
52  ICMPV4_PKT_TOO_SMALL, /**< icmpv4 packet smaller than minimum size */
53  ICMPV4_UNKNOWN_TYPE, /**< icmpv4 unknown type */
54  ICMPV4_UNKNOWN_CODE, /**< icmpv4 unknown code */
55  ICMPV4_IPV4_TRUNC_PKT, /**< truncated icmpv4 packet */
56  ICMPV4_IPV4_UNKNOWN_VER, /**< unknown version in icmpv4 packet*/
57 
58  /* ICMPv6 EVENTS */
59  ICMPV6_UNKNOWN_TYPE, /**< icmpv6 unknown type */
60  ICMPV6_UNKNOWN_CODE, /**< icmpv6 unknown code */
61  ICMPV6_PKT_TOO_SMALL, /**< icmpv6 smaller than minimum size */
62  ICMPV6_IPV6_UNKNOWN_VER, /**< unknown version in icmpv6 packet */
63  ICMPV6_IPV6_TRUNC_PKT, /**< truncated icmpv6 packet */
64  ICMPV6_MLD_MESSAGE_WITH_INVALID_HL, /**< invalid MLD that doesn't have HL 1 */
65  ICMPV6_UNASSIGNED_TYPE, /**< unassigned ICMPv6 type */
66  ICMPV6_EXPERIMENTATION_TYPE, /**< private experimentation ICMPv6 type */
67 
68  /* IPV6 EVENTS */
69  IPV6_PKT_TOO_SMALL, /**< ipv6 packet smaller than minimum size */
70  IPV6_TRUNC_PKT, /**< truncated ipv6 packet */
71  IPV6_TRUNC_EXTHDR, /**< truncated ipv6 extension header */
72  IPV6_EXTHDR_DUPL_FH, /**< duplicated "fragment" header in ipv6 extension headers */
73  IPV6_EXTHDR_USELESS_FH, /**< useless FH: offset 0 + no more fragments */
74  IPV6_EXTHDR_DUPL_RH, /**< duplicated "routing" header in ipv6 extension headers */
75  IPV6_EXTHDR_DUPL_HH, /**< duplicated "hop-by-hop" header in ipv6 extension headers */
76  IPV6_EXTHDR_DUPL_DH, /**< duplicated "destination" header in ipv6 extension headers */
77  IPV6_EXTHDR_DUPL_AH, /**< duplicated "authentication" header in ipv6 extension headers */
78  IPV6_EXTHDR_DUPL_EH, /**< duplicated "ESP" header in ipv6 extension headers */
79 
80  IPV6_EXTHDR_INVALID_OPTLEN, /**< the opt len in an hop or dst hdr is invalid. */
81  IPV6_WRONG_IP_VER, /**< wrong version in ipv6 */
82  IPV6_EXTHDR_AH_RES_NOT_NULL, /**< AH hdr reserved fields not null (rfc 4302) */
83 
84  IPV6_HOPOPTS_UNKNOWN_OPT, /**< unknown HOP opt */
85  IPV6_HOPOPTS_ONLY_PADDING, /**< all options in HOP opts are padding */
86  IPV6_DSTOPTS_UNKNOWN_OPT, /**< unknown DST opt */
87  IPV6_DSTOPTS_ONLY_PADDING, /**< all options in DST opts are padding */
88 
89  IPV6_EXTHDR_RH_TYPE_0, /**< RH 0 is deprecated as per rfc5095 */
90  IPV6_EXTHDR_ZERO_LEN_PADN, /**< padN w/o data (0 len) */
91  IPV6_FH_NON_ZERO_RES_FIELD, /**< reserved field not zero */
92  IPV6_DATA_AFTER_NONE_HEADER, /**< data after 'none' (59) header */
93 
94  IPV6_UNKNOWN_NEXT_HEADER, /**< unknown/unsupported next header */
95  IPV6_WITH_ICMPV4, /**< IPv6 packet with ICMPv4 header */
96 
97  /* TCP EVENTS */
98  TCP_PKT_TOO_SMALL, /**< tcp packet smaller than minimum size */
99  TCP_HLEN_TOO_SMALL, /**< tcp header smaller than minimum size */
100  TCP_INVALID_OPTLEN, /**< invalid len in tcp options */
101 
102  /* TCP OPTIONS */
103  TCP_OPT_INVALID_LEN, /**< tcp option with invalid len */
104  TCP_OPT_DUPLICATE, /**< duplicated tcp option */
105  TCP_OPT_WSCALE_OVER_MAX, /**< wscale option greater than maximum */
106 
107  /* UDP EVENTS */
108  UDP_PKT_TOO_SMALL, /**< udp packet smaller than minimum size */
109  UDP_HLEN_TOO_SMALL, /**< udp header smaller than minimum size */
110  UDP_HLEN_INVALID, /**< invalid len of upd header */
111  UDP_LEN_INVALID, /**< packet len in header is invalid */
112 
113  /* SLL EVENTS */
114  SLL_PKT_TOO_SMALL, /**< sll packet smaller than minimum size */
115 
116  /* SLL2 EVENTS */
117  SLL2_PKT_TOO_SMALL, /**< sll2 packet smaller than minimum size */
118 
119  /* ETHERNET EVENTS */
120  ETHERNET_PKT_TOO_SMALL, /**< ethernet packet smaller than minimum size */
121  ETHERNET_UNKNOWN_ETHERTYPE, /**< ethertype unknown/unhandled*/
122 
123  /* PPP EVENTS */
124  PPP_PKT_TOO_SMALL, /**< ppp packet smaller than minimum size */
125  PPPVJU_PKT_TOO_SMALL, /**< ppp vj uncompressed packet smaller than minimum size */
126  PPPIPV4_PKT_TOO_SMALL, /**< ppp ipv4 packet smaller than minimum size */
127  PPPIPV6_PKT_TOO_SMALL, /**< ppp ipv6 packet smaller than minimum size */
128  PPP_WRONG_TYPE, /**< wrong type in ppp frame */
129  PPP_UNSUP_PROTO, /**< protocol not supported for ppp */
130 
131  /* PPPOE EVENTS */
132  PPPOE_PKT_TOO_SMALL, /**< pppoe packet smaller than minimum size */
133  PPPOE_WRONG_CODE, /**< wrong code for pppoe */
134  PPPOE_MALFORMED_TAGS, /**< malformed tags in pppoe */
135 
136  /* GRE EVENTS */
137  GRE_PKT_TOO_SMALL, /**< gre packet smaller than minimum size */
138  GRE_WRONG_VERSION, /**< wrong version in gre header */
139  GRE_VERSION0_RECUR, /**< gre v0 recursion control */
140  GRE_VERSION0_FLAGS, /**< gre v0 flags */
141  GRE_VERSION0_HDR_TOO_BIG, /**< gre v0 header bigger than maximum size */
142  GRE_VERSION0_MALFORMED_SRE_HDR, /**< gre v0 malformed source route entry header */
143  GRE_VERSION1_CHKSUM, /**< gre v1 checksum */
144  GRE_VERSION1_ROUTE, /**< gre v1 routing */
145  GRE_VERSION1_SSR, /**< gre v1 strict source route */
146  GRE_VERSION1_RECUR, /**< gre v1 recursion control */
147  GRE_VERSION1_FLAGS, /**< gre v1 flags */
148  GRE_VERSION1_NO_KEY, /**< gre v1 no key present in header */
149  GRE_VERSION1_WRONG_PROTOCOL, /**< gre v1 wrong protocol */
150  GRE_VERSION1_MALFORMED_SRE_HDR, /**< gre v1 malformed source route entry header */
151  GRE_VERSION1_HDR_TOO_BIG, /**< gre v1 header too big */
152 
153  /* VLAN EVENTS */
154  VLAN_HEADER_TOO_SMALL, /**< vlan header smaller than minimum size */
155  VLAN_UNKNOWN_TYPE, /**< vlan unknown type */
157 
159 
160  /* VNTAG EVENTS */
161  VNTAG_HEADER_TOO_SMALL, /**< vntag header smaller than minimum size */
162  VNTAG_UNKNOWN_TYPE, /**< vntag unknown type */
163 
164  /* ETAG EVENTS */
165  ETAG_HEADER_TOO_SMALL, /**< etag header smaller than minimum size */
166  ETAG_UNKNOWN_TYPE, /**< etag unknown type */
167 
168  /* RAW EVENTS */
169  IPRAW_INVALID_IPV, /**< invalid ip version in ip raw */
170 
171  /* LINKTYPE NULL EVENTS */
172  LTNULL_PKT_TOO_SMALL, /**< pkt too small for lt:null */
173  LTNULL_UNSUPPORTED_TYPE, /**< pkt has a type that the decoder doesn't support */
174 
175  /* SCTP EVENTS */
176  SCTP_PKT_TOO_SMALL, /**< sctp packet smaller than minimum size */
177  SCTP_CHUNK_TOO_SMALL, /**< remaining data too small for chunk header */
178  SCTP_CHUNK_LEN_INVALID, /**< chunk length < 4 or exceeds remaining packet */
179  SCTP_INIT_CHUNK_BUNDLED, /**< RFC 4960 sec 6.10: INIT/INIT_ACK bundled with other chunks */
180  SCTP_INIT_WITH_NON_ZERO_VTAG, /**< INIT with vtag != 0 */
181  SCTP_DATA_WITH_ZERO_VTAG, /**< DATA chunk with vtag == 0 */
182  SCTP_TOO_MANY_CHUNKS, /**< more chunks than SCTP_MAX_TRACKED_CHUNKS */
183  SCTP_TOO_MANY_DATA_CHUNKS, /**< more DATA chunks than SCTP_MAX_DATA_CHUNKS */
184 
185  /* ESP EVENTS */
186  ESP_PKT_TOO_SMALL, /**< esp packet smaller than minimum size */
187 
188  /* Fragmentation reassembly events. */
194 
195  /* Fragment ignored due to internal error */
198 
199  /* IPv4 in IPv6 events */
202 
203  /* IPv6 in IPv6 events */
206 
207  /* MPLS decode events. */
214 
215  /* VXLAN events */
217 
218  /* Geneve events */
220 
221  /* ERSPAN events */
225 
226  /* Cisco Fabric Path/DCE events. */
228 
229  /* Cisco HDLC events. */
231 
232  /* NSH events */
239 
240  /* IGMP events */
241  IGMP_PKT_TOO_SMALL, /**< packet too small to fit the basic IGMP header */
242  IGMP_V3_PKT_TOO_SMALL, /**< packet too small to fit the IGMPv3 header */
244 
245  /* generic events */
247 
248  /* END OF DECODE EVENTS ON SINGLE PACKET */
250 
251  /* STREAM EVENTS */
312 
315 
325 
326  /* ARP EVENTS */
327  ARP_PKT_TOO_SMALL, /**< arp packet smaller than minimum size */
328  ARP_UNSUPPORTED_HARDWARE, /**< arp hw_type is not ethernet */
329  ARP_UNSUPPORTED_PROTOCOL, /**< arp proto_type is not ipv4 */
330  ARP_INVALID_PKT, /**< arp pkt len is not 28 */
331  ARP_INVALID_HARDWARE_SIZE, /**< arp hw size is 6 */
332  ARP_INVALID_PROTOCOL_SIZE, /**< arp proto size is not 4 */
333  ARP_UNSUPPORTED_OPCODE, /**< arp opcode is not listed */
334 
335  /* should always be last! */
337 };
338 
339 #define EVENT_IS_DECODER_PACKET_ERROR(e) \
340  ((e) < (DECODE_EVENT_PACKET_MAX))
341 
342 /* supported decoder events */
343 
345  const char *event_name;
346  uint8_t code;
347 };
348 /* +1 for the end of table marker */
349 extern const struct DecodeEvents_ DEvents[DECODE_EVENT_MAX + 1];
350 
351 #endif /* SURICATA_DECODE_EVENTS_H */
STREAM_EST_SYN_RESEND_DIFF_SEQ
@ STREAM_EST_SYN_RESEND_DIFF_SEQ
Definition: decode-events.h:284
STREAM_EST_SYN_RESEND
@ STREAM_EST_SYN_RESEND
Definition: decode-events.h:283
GRE_VERSION1_FLAGS
@ GRE_VERSION1_FLAGS
Definition: decode-events.h:147
PPPVJU_PKT_TOO_SMALL
@ PPPVJU_PKT_TOO_SMALL
Definition: decode-events.h:125
ARP_INVALID_PKT
@ ARP_INVALID_PKT
Definition: decode-events.h:330
IPV4_IPLEN_SMALLER_THAN_HLEN
@ IPV4_IPLEN_SMALLER_THAN_HLEN
Definition: decode-events.h:36
IPV4_PKT_TOO_SMALL
@ IPV4_PKT_TOO_SMALL
Definition: decode-events.h:34
STREAM_RST_INVALID_ACK
@ STREAM_RST_INVALID_ACK
Definition: decode-events.h:307
IPV4_IN_IPV6_PKT_TOO_SMALL
@ IPV4_IN_IPV6_PKT_TOO_SMALL
Definition: decode-events.h:200
IGMP_PKT_TOO_SMALL
@ IGMP_PKT_TOO_SMALL
Definition: decode-events.h:241
STREAM_FIN1_ACK_WRONG_SEQ
@ STREAM_FIN1_ACK_WRONG_SEQ
Definition: decode-events.h:289
STREAM_LASTACK_INVALID_ACK
@ STREAM_LASTACK_INVALID_ACK
Definition: decode-events.h:299
ICMPV6_IPV6_UNKNOWN_VER
@ ICMPV6_IPV6_UNKNOWN_VER
Definition: decode-events.h:62
STREAM_3WHS_ACK_IN_WRONG_DIR
@ STREAM_3WHS_ACK_IN_WRONG_DIR
Definition: decode-events.h:252
GENERIC_TOO_MANY_LAYERS
@ GENERIC_TOO_MANY_LAYERS
Definition: decode-events.h:246
STREAM_3WHS_SYNACK_RESEND_WITH_DIFF_SEQ
@ STREAM_3WHS_SYNACK_RESEND_WITH_DIFF_SEQ
Definition: decode-events.h:257
STREAM_PKT_INVALID_TIMESTAMP
@ STREAM_PKT_INVALID_TIMESTAMP
Definition: decode-events.h:304
IPV6_EXTHDR_DUPL_FH
@ IPV6_EXTHDR_DUPL_FH
Definition: decode-events.h:72
IPV4_OPT_INVALID_LEN
@ IPV4_OPT_INVALID_LEN
Definition: decode-events.h:41
SCTP_DATA_WITH_ZERO_VTAG
@ SCTP_DATA_WITH_ZERO_VTAG
Definition: decode-events.h:181
ETAG_UNKNOWN_TYPE
@ ETAG_UNKNOWN_TYPE
Definition: decode-events.h:166
STREAM_REASSEMBLY_SEGMENT_BEFORE_BASE_SEQ
@ STREAM_REASSEMBLY_SEGMENT_BEFORE_BASE_SEQ
Definition: decode-events.h:316
UDP_HLEN_TOO_SMALL
@ UDP_HLEN_TOO_SMALL
Definition: decode-events.h:109
VNTAG_HEADER_TOO_SMALL
@ VNTAG_HEADER_TOO_SMALL
Definition: decode-events.h:161
TCP_OPT_DUPLICATE
@ TCP_OPT_DUPLICATE
Definition: decode-events.h:104
VLAN_UNKNOWN_TYPE
@ VLAN_UNKNOWN_TYPE
Definition: decode-events.h:155
ICMPV6_UNASSIGNED_TYPE
@ ICMPV6_UNASSIGNED_TYPE
Definition: decode-events.h:65
NSH_UNSUPPORTED_VERSION
@ NSH_UNSUPPORTED_VERSION
Definition: decode-events.h:234
SCTP_TOO_MANY_CHUNKS
@ SCTP_TOO_MANY_CHUNKS
Definition: decode-events.h:182
STREAM_FIN_BUT_NO_SESSION
@ STREAM_FIN_BUT_NO_SESSION
Definition: decode-events.h:295
STREAM_REASSEMBLY_URGENT_OOB_LIMIT_REACHED
@ STREAM_REASSEMBLY_URGENT_OOB_LIMIT_REACHED
Definition: decode-events.h:324
IPV6_FRAG_OVERLAP
@ IPV6_FRAG_OVERLAP
Definition: decode-events.h:192
UDP_PKT_TOO_SMALL
@ UDP_PKT_TOO_SMALL
Definition: decode-events.h:108
STREAM_EST_ACK_ZWP_DATA
@ STREAM_EST_ACK_ZWP_DATA
Definition: decode-events.h:287
STREAM_4WHS_SYNACK_WITH_WRONG_SYN
@ STREAM_4WHS_SYNACK_WITH_WRONG_SYN
Definition: decode-events.h:268
ETHERNET_UNKNOWN_ETHERTYPE
@ ETHERNET_UNKNOWN_ETHERTYPE
Definition: decode-events.h:121
STREAM_EST_PACKET_OUT_OF_WINDOW
@ STREAM_EST_PACKET_OUT_OF_WINDOW
Definition: decode-events.h:277
GRE_VERSION1_WRONG_PROTOCOL
@ GRE_VERSION1_WRONG_PROTOCOL
Definition: decode-events.h:149
STREAM_EST_SYNACK_RESEND_WITH_DIFFERENT_ACK
@ STREAM_EST_SYNACK_RESEND_WITH_DIFFERENT_ACK
Definition: decode-events.h:280
ERSPAN_UNSUPPORTED_VERSION
@ ERSPAN_UNSUPPORTED_VERSION
Definition: decode-events.h:223
IPV6_DSTOPTS_ONLY_PADDING
@ IPV6_DSTOPTS_ONLY_PADDING
Definition: decode-events.h:87
GRE_VERSION1_ROUTE
@ GRE_VERSION1_ROUTE
Definition: decode-events.h:144
IPV6_HOPOPTS_ONLY_PADDING
@ IPV6_HOPOPTS_ONLY_PADDING
Definition: decode-events.h:85
STREAM_CLOSING_ACK_WRONG_SEQ
@ STREAM_CLOSING_ACK_WRONG_SEQ
Definition: decode-events.h:275
IPV4_OPT_UNKNOWN
@ IPV4_OPT_UNKNOWN
Definition: decode-events.h:46
GENEVE_UNKNOWN_PAYLOAD_TYPE
@ GENEVE_UNKNOWN_PAYLOAD_TYPE
Definition: decode-events.h:219
VNTAG_UNKNOWN_TYPE
@ VNTAG_UNKNOWN_TYPE
Definition: decode-events.h:162
STREAM_3WHS_SYNACK_WITH_WRONG_ACK
@ STREAM_3WHS_SYNACK_WITH_WRONG_ACK
Definition: decode-events.h:259
STREAM_3WHS_SYNACK_FLOOD
@ STREAM_3WHS_SYNACK_FLOOD
Definition: decode-events.h:260
STREAM_TIMEWAIT_INVALID_ACK
@ STREAM_TIMEWAIT_INVALID_ACK
Definition: decode-events.h:302
IPV6_TRUNC_EXTHDR
@ IPV6_TRUNC_EXTHDR
Definition: decode-events.h:71
VLAN_HEADER_TOO_MANY_LAYERS
@ VLAN_HEADER_TOO_MANY_LAYERS
Definition: decode-events.h:156
STREAM_3WHS_ASYNC_WRONG_SEQ
@ STREAM_3WHS_ASYNC_WRONG_SEQ
Definition: decode-events.h:253
STREAM_RST_BUT_NO_SESSION
@ STREAM_RST_BUT_NO_SESSION
Definition: decode-events.h:300
ARP_PKT_TOO_SMALL
@ ARP_PKT_TOO_SMALL
Definition: decode-events.h:327
VXLAN_UNKNOWN_PAYLOAD_TYPE
@ VXLAN_UNKNOWN_PAYLOAD_TYPE
Definition: decode-events.h:216
ICMPV4_IPV4_TRUNC_PKT
@ ICMPV4_IPV4_TRUNC_PKT
Definition: decode-events.h:55
IPV4_IN_IPV6_WRONG_IP_VER
@ IPV4_IN_IPV6_WRONG_IP_VER
Definition: decode-events.h:201
IPV4_OPT_PAD_REQUIRED
@ IPV4_OPT_PAD_REQUIRED
Definition: decode-events.h:43
ICMPV6_UNKNOWN_CODE
@ ICMPV6_UNKNOWN_CODE
Definition: decode-events.h:60
IPV6_TRUNC_PKT
@ IPV6_TRUNC_PKT
Definition: decode-events.h:70
PPP_WRONG_TYPE
@ PPP_WRONG_TYPE
Definition: decode-events.h:128
SCTP_TOO_MANY_DATA_CHUNKS
@ SCTP_TOO_MANY_DATA_CHUNKS
Definition: decode-events.h:183
IPV4_OPT_MALFORMED
@ IPV4_OPT_MALFORMED
Definition: decode-events.h:42
ICMPV4_UNKNOWN_TYPE
@ ICMPV4_UNKNOWN_TYPE
Definition: decode-events.h:53
STREAM_3WHS_SYN_RESEND_DIFF_SEQ_ON_SYN_RECV
@ STREAM_3WHS_SYN_RESEND_DIFF_SEQ_ON_SYN_RECV
Definition: decode-events.h:262
STREAM_FIN1_FIN_WRONG_SEQ
@ STREAM_FIN1_FIN_WRONG_SEQ
Definition: decode-events.h:290
GRE_VERSION1_SSR
@ GRE_VERSION1_SSR
Definition: decode-events.h:145
DECODE_EVENT_PACKET_MAX
@ DECODE_EVENT_PACKET_MAX
Definition: decode-events.h:249
GRE_WRONG_VERSION
@ GRE_WRONG_VERSION
Definition: decode-events.h:138
DCE_PKT_TOO_SMALL
@ DCE_PKT_TOO_SMALL
Definition: decode-events.h:227
STREAM_FIN_OUT_OF_WINDOW
@ STREAM_FIN_OUT_OF_WINDOW
Definition: decode-events.h:296
IPV6_EXTHDR_DUPL_HH
@ IPV6_EXTHDR_DUPL_HH
Definition: decode-events.h:75
SLL2_PKT_TOO_SMALL
@ SLL2_PKT_TOO_SMALL
Definition: decode-events.h:117
STREAM_FIN2_FIN_WRONG_SEQ
@ STREAM_FIN2_FIN_WRONG_SEQ
Definition: decode-events.h:293
ICMPV6_MLD_MESSAGE_WITH_INVALID_HL
@ ICMPV6_MLD_MESSAGE_WITH_INVALID_HL
Definition: decode-events.h:64
TCP_INVALID_OPTLEN
@ TCP_INVALID_OPTLEN
Definition: decode-events.h:100
ETHERNET_PKT_TOO_SMALL
@ ETHERNET_PKT_TOO_SMALL
Definition: decode-events.h:120
STREAM_CLOSEWAIT_FIN_OUT_OF_WINDOW
@ STREAM_CLOSEWAIT_FIN_OUT_OF_WINDOW
Definition: decode-events.h:272
STREAM_EST_SYNACK_RESEND_WITH_DIFF_SEQ
@ STREAM_EST_SYNACK_RESEND_WITH_DIFF_SEQ
Definition: decode-events.h:281
GRE_VERSION1_RECUR
@ GRE_VERSION1_RECUR
Definition: decode-events.h:146
STREAM_REASSEMBLY_INSERT_LIMIT
@ STREAM_REASSEMBLY_INSERT_LIMIT
Definition: decode-events.h:322
STREAM_SHUTDOWN_SYN_RESEND
@ STREAM_SHUTDOWN_SYN_RESEND
Definition: decode-events.h:303
IPV6_PKT_TOO_SMALL
@ IPV6_PKT_TOO_SMALL
Definition: decode-events.h:69
IPV6_FRAG_IGNORED
@ IPV6_FRAG_IGNORED
Definition: decode-events.h:197
STREAM_4WHS_SYNACK_WITH_WRONG_ACK
@ STREAM_4WHS_SYNACK_WITH_WRONG_ACK
Definition: decode-events.h:267
ARP_INVALID_HARDWARE_SIZE
@ ARP_INVALID_HARDWARE_SIZE
Definition: decode-events.h:331
IPV6_EXTHDR_USELESS_FH
@ IPV6_EXTHDR_USELESS_FH
Definition: decode-events.h:73
PPPIPV4_PKT_TOO_SMALL
@ PPPIPV4_PKT_TOO_SMALL
Definition: decode-events.h:126
MPLS_UNKNOWN_PAYLOAD_TYPE
@ MPLS_UNKNOWN_PAYLOAD_TYPE
Definition: decode-events.h:213
IPV4_FRAG_PKT_TOO_LARGE
@ IPV4_FRAG_PKT_TOO_LARGE
Definition: decode-events.h:189
MPLS_BAD_LABEL_ROUTER_ALERT
@ MPLS_BAD_LABEL_ROUTER_ALERT
Definition: decode-events.h:210
GRE_VERSION1_CHKSUM
@ GRE_VERSION1_CHKSUM
Definition: decode-events.h:143
STREAM_3WHS_WRONG_SEQ_WRONG_ACK
@ STREAM_3WHS_WRONG_SEQ_WRONG_ACK
Definition: decode-events.h:265
STREAM_FIN_SYN
@ STREAM_FIN_SYN
Definition: decode-events.h:297
MPLS_PKT_TOO_SMALL
@ MPLS_PKT_TOO_SMALL
Definition: decode-events.h:209
STREAM_3WHS_SYN_TOCLIENT_ON_SYN_RECV
@ STREAM_3WHS_SYN_TOCLIENT_ON_SYN_RECV
Definition: decode-events.h:263
STREAM_REASSEMBLY_OVERLAP_DIFFERENT_DATA
@ STREAM_REASSEMBLY_OVERLAP_DIFFERENT_DATA
Definition: decode-events.h:319
IPV6_EXTHDR_DUPL_AH
@ IPV6_EXTHDR_DUPL_AH
Definition: decode-events.h:77
NSH_BAD_HEADER_LENGTH
@ NSH_BAD_HEADER_LENGTH
Definition: decode-events.h:235
IPV4_TRUNC_PKT
@ IPV4_TRUNC_PKT
Definition: decode-events.h:37
IPV6_FRAG_PKT_TOO_LARGE
@ IPV6_FRAG_PKT_TOO_LARGE
Definition: decode-events.h:190
STREAM_3WHS_SYNACK_IN_WRONG_DIRECTION
@ STREAM_3WHS_SYNACK_IN_WRONG_DIRECTION
Definition: decode-events.h:255
STREAM_LASTACK_ACK_WRONG_SEQ
@ STREAM_LASTACK_ACK_WRONG_SEQ
Definition: decode-events.h:298
IPV6_IN_IPV6_WRONG_IP_VER
@ IPV6_IN_IPV6_WRONG_IP_VER
Definition: decode-events.h:205
PPPOE_WRONG_CODE
@ PPPOE_WRONG_CODE
Definition: decode-events.h:133
IPV4_HLEN_TOO_SMALL
@ IPV4_HLEN_TOO_SMALL
Definition: decode-events.h:35
IEEE8021AH_HEADER_TOO_SMALL
@ IEEE8021AH_HEADER_TOO_SMALL
Definition: decode-events.h:158
IPV6_FRAG_INVALID_LENGTH
@ IPV6_FRAG_INVALID_LENGTH
Definition: decode-events.h:193
STREAM_FIN2_INVALID_ACK
@ STREAM_FIN2_INVALID_ACK
Definition: decode-events.h:294
IPV6_DSTOPTS_UNKNOWN_OPT
@ IPV6_DSTOPTS_UNKNOWN_OPT
Definition: decode-events.h:86
STREAM_REASSEMBLY_INSERT_INVALID
@ STREAM_REASSEMBLY_INSERT_INVALID
Definition: decode-events.h:323
MPLS_BAD_LABEL_IMPLICIT_NULL
@ MPLS_BAD_LABEL_IMPLICIT_NULL
Definition: decode-events.h:211
PPPOE_PKT_TOO_SMALL
@ PPPOE_PKT_TOO_SMALL
Definition: decode-events.h:132
IPRAW_INVALID_IPV
@ IPRAW_INVALID_IPV
Definition: decode-events.h:169
STREAM_FIN1_INVALID_ACK
@ STREAM_FIN1_INVALID_ACK
Definition: decode-events.h:291
DecodeEvents_
Definition: decode-events.h:344
IPV6_EXTHDR_ZERO_LEN_PADN
@ IPV6_EXTHDR_ZERO_LEN_PADN
Definition: decode-events.h:90
DecodeEvents_::code
uint8_t code
Definition: decode-events.h:346
ARP_UNSUPPORTED_HARDWARE
@ ARP_UNSUPPORTED_HARDWARE
Definition: decode-events.h:328
IPV6_EXTHDR_DUPL_DH
@ IPV6_EXTHDR_DUPL_DH
Definition: decode-events.h:76
TCP_OPT_WSCALE_OVER_MAX
@ TCP_OPT_WSCALE_OVER_MAX
Definition: decode-events.h:105
STREAM_3WHS_SYN_FLOOD
@ STREAM_3WHS_SYN_FLOOD
Definition: decode-events.h:264
SCTP_CHUNK_LEN_INVALID
@ SCTP_CHUNK_LEN_INVALID
Definition: decode-events.h:178
STREAM_RST_WITH_DATA
@ STREAM_RST_WITH_DATA
Definition: decode-events.h:308
STREAM_REASSEMBLY_DEPTH_REACHED
@ STREAM_REASSEMBLY_DEPTH_REACHED
Definition: decode-events.h:320
SLL_PKT_TOO_SMALL
@ SLL_PKT_TOO_SMALL
Definition: decode-events.h:114
IPV4_OPT_INVALID
@ IPV4_OPT_INVALID
Definition: decode-events.h:40
STREAM_EST_SYNACK_RESEND
@ STREAM_EST_SYNACK_RESEND
Definition: decode-events.h:279
ICMPV4_IPV4_UNKNOWN_VER
@ ICMPV4_IPV4_UNKNOWN_VER
Definition: decode-events.h:56
IPV4_PROTO_UNKNOWN
@ IPV4_PROTO_UNKNOWN
Definition: decode-events.h:49
DecodeEvents_::event_name
const char * event_name
Definition: decode-events.h:345
IPV6_UNKNOWN_NEXT_HEADER
@ IPV6_UNKNOWN_NEXT_HEADER
Definition: decode-events.h:94
STREAM_PKT_BAD_WINDOW_UPDATE
@ STREAM_PKT_BAD_WINDOW_UPDATE
Definition: decode-events.h:311
STREAM_REASSEMBLY_INSERT_MEMCAP
@ STREAM_REASSEMBLY_INSERT_MEMCAP
Definition: decode-events.h:321
STREAM_FIN_INVALID_ACK
@ STREAM_FIN_INVALID_ACK
Definition: decode-events.h:288
STREAM_CLOSEWAIT_ACK_OUT_OF_WINDOW
@ STREAM_CLOSEWAIT_ACK_OUT_OF_WINDOW
Definition: decode-events.h:271
GRE_VERSION1_HDR_TOO_BIG
@ GRE_VERSION1_HDR_TOO_BIG
Definition: decode-events.h:151
STREAM_EST_PKT_BEFORE_LAST_ACK
@ STREAM_EST_PKT_BEFORE_LAST_ACK
Definition: decode-events.h:278
GRE_VERSION1_NO_KEY
@ GRE_VERSION1_NO_KEY
Definition: decode-events.h:148
STREAM_3WHS_SYNACK_TFO_DATA_IGNORED
@ STREAM_3WHS_SYNACK_TFO_DATA_IGNORED
Definition: decode-events.h:261
STREAM_3WHS_RIGHT_SEQ_WRONG_ACK_EVASION
@ STREAM_3WHS_RIGHT_SEQ_WRONG_ACK_EVASION
Definition: decode-events.h:254
LTNULL_PKT_TOO_SMALL
@ LTNULL_PKT_TOO_SMALL
Definition: decode-events.h:172
STREAM_SUSPECTED_RST_INJECT
@ STREAM_SUSPECTED_RST_INJECT
Definition: decode-events.h:313
TCP_HLEN_TOO_SMALL
@ TCP_HLEN_TOO_SMALL
Definition: decode-events.h:99
IGMP_MALFORMED
@ IGMP_MALFORMED
Definition: decode-events.h:243
STREAM_4WHS_WRONG_SEQ
@ STREAM_4WHS_WRONG_SEQ
Definition: decode-events.h:269
STREAM_4WHS_INVALID_ACK
@ STREAM_4WHS_INVALID_ACK
Definition: decode-events.h:270
STREAM_CLOSEWAIT_PKT_BEFORE_LAST_ACK
@ STREAM_CLOSEWAIT_PKT_BEFORE_LAST_ACK
Definition: decode-events.h:273
PPP_PKT_TOO_SMALL
@ PPP_PKT_TOO_SMALL
Definition: decode-events.h:124
ESP_PKT_TOO_SMALL
@ ESP_PKT_TOO_SMALL
Definition: decode-events.h:186
STREAM_PKT_SPURIOUS_RETRANSMISSION
@ STREAM_PKT_SPURIOUS_RETRANSMISSION
Definition: decode-events.h:310
GRE_VERSION0_HDR_TOO_BIG
@ GRE_VERSION0_HDR_TOO_BIG
Definition: decode-events.h:141
IPV6_WITH_ICMPV4
@ IPV6_WITH_ICMPV4
Definition: decode-events.h:95
IPV6_EXTHDR_INVALID_OPTLEN
@ IPV6_EXTHDR_INVALID_OPTLEN
Definition: decode-events.h:80
IPV6_EXTHDR_DUPL_RH
@ IPV6_EXTHDR_DUPL_RH
Definition: decode-events.h:74
ERSPAN_TOO_MANY_VLAN_LAYERS
@ ERSPAN_TOO_MANY_VLAN_LAYERS
Definition: decode-events.h:224
STREAM_3WHS_SYNACK_TOSERVER_ON_SYN_RECV
@ STREAM_3WHS_SYNACK_TOSERVER_ON_SYN_RECV
Definition: decode-events.h:258
ARP_UNSUPPORTED_PROTOCOL
@ ARP_UNSUPPORTED_PROTOCOL
Definition: decode-events.h:329
IPV6_HOPOPTS_UNKNOWN_OPT
@ IPV6_HOPOPTS_UNKNOWN_OPT
Definition: decode-events.h:84
STREAM_WRONG_THREAD
@ STREAM_WRONG_THREAD
Definition: decode-events.h:314
DECODE_EVENT_MAX
@ DECODE_EVENT_MAX
Definition: decode-events.h:336
DEvents
const struct DecodeEvents_ DEvents[DECODE_EVENT_MAX+1]
Definition: decode-events.c:29
UDP_HLEN_INVALID
@ UDP_HLEN_INVALID
Definition: decode-events.h:110
VLAN_HEADER_TOO_SMALL
@ VLAN_HEADER_TOO_SMALL
Definition: decode-events.h:154
LTNULL_UNSUPPORTED_TYPE
@ LTNULL_UNSUPPORTED_TYPE
Definition: decode-events.h:173
ETAG_HEADER_TOO_SMALL
@ ETAG_HEADER_TOO_SMALL
Definition: decode-events.h:165
TCP_OPT_INVALID_LEN
@ TCP_OPT_INVALID_LEN
Definition: decode-events.h:103
GRE_VERSION0_MALFORMED_SRE_HDR
@ GRE_VERSION0_MALFORMED_SRE_HDR
Definition: decode-events.h:142
PPP_UNSUP_PROTO
@ PPP_UNSUP_PROTO
Definition: decode-events.h:129
ICMPV6_IPV6_TRUNC_PKT
@ ICMPV6_IPV6_TRUNC_PKT
Definition: decode-events.h:63
IPV6_FH_NON_ZERO_RES_FIELD
@ IPV6_FH_NON_ZERO_RES_FIELD
Definition: decode-events.h:91
ICMPV6_EXPERIMENTATION_TYPE
@ ICMPV6_EXPERIMENTATION_TYPE
Definition: decode-events.h:66
IPV6_WRONG_IP_VER
@ IPV6_WRONG_IP_VER
Definition: decode-events.h:81
STREAM_CLOSEWAIT_INVALID_ACK
@ STREAM_CLOSEWAIT_INVALID_ACK
Definition: decode-events.h:274
GRE_VERSION0_FLAGS
@ GRE_VERSION0_FLAGS
Definition: decode-events.h:140
STREAM_PKT_INVALID_ACK
@ STREAM_PKT_INVALID_ACK
Definition: decode-events.h:305
ICMPV4_UNKNOWN_CODE
@ ICMPV4_UNKNOWN_CODE
Definition: decode-events.h:54
IPV4_WRONG_IP_VER
@ IPV4_WRONG_IP_VER
Definition: decode-events.h:47
ARP_INVALID_PROTOCOL_SIZE
@ ARP_INVALID_PROTOCOL_SIZE
Definition: decode-events.h:332
STREAM_REASSEMBLY_SEQ_GAP
@ STREAM_REASSEMBLY_SEQ_GAP
Definition: decode-events.h:318
STREAM_REASSEMBLY_NO_SEGMENT
@ STREAM_REASSEMBLY_NO_SEGMENT
Definition: decode-events.h:317
STREAM_EST_INVALID_ACK
@ STREAM_EST_INVALID_ACK
Definition: decode-events.h:286
GRE_PKT_TOO_SMALL
@ GRE_PKT_TOO_SMALL
Definition: decode-events.h:137
ICMPV4_PKT_TOO_SMALL
@ ICMPV4_PKT_TOO_SMALL
Definition: decode-events.h:52
STREAM_PKT_RETRANSMISSION
@ STREAM_PKT_RETRANSMISSION
Definition: decode-events.h:309
SCTP_INIT_CHUNK_BUNDLED
@ SCTP_INIT_CHUNK_BUNDLED
Definition: decode-events.h:179
NSH_UNSUPPORTED_TYPE
@ NSH_UNSUPPORTED_TYPE
Definition: decode-events.h:237
AFP_TRUNC_PKT
@ AFP_TRUNC_PKT
Definition: decode-events.h:31
SCTP_PKT_TOO_SMALL
@ SCTP_PKT_TOO_SMALL
Definition: decode-events.h:176
UDP_LEN_INVALID
@ UDP_LEN_INVALID
Definition: decode-events.h:111
IPV4_OPT_EOL_REQUIRED
@ IPV4_OPT_EOL_REQUIRED
Definition: decode-events.h:44
IPV6_DATA_AFTER_NONE_HEADER
@ IPV6_DATA_AFTER_NONE_HEADER
Definition: decode-events.h:92
IPV4_WITH_ICMPV6
@ IPV4_WITH_ICMPV6
Definition: decode-events.h:48
IGMP_V3_PKT_TOO_SMALL
@ IGMP_V3_PKT_TOO_SMALL
Definition: decode-events.h:242
NSH_UNKNOWN_PAYLOAD
@ NSH_UNKNOWN_PAYLOAD
Definition: decode-events.h:238
PPPIPV6_PKT_TOO_SMALL
@ PPPIPV6_PKT_TOO_SMALL
Definition: decode-events.h:127
STREAM_CLOSING_INVALID_ACK
@ STREAM_CLOSING_INVALID_ACK
Definition: decode-events.h:276
STREAM_PKT_BROKEN_ACK
@ STREAM_PKT_BROKEN_ACK
Definition: decode-events.h:306
MPLS_HEADER_TOO_SMALL
@ MPLS_HEADER_TOO_SMALL
Definition: decode-events.h:208
GRE_VERSION0_RECUR
@ GRE_VERSION0_RECUR
Definition: decode-events.h:139
IPV6_IN_IPV6_PKT_TOO_SMALL
@ IPV6_IN_IPV6_PKT_TOO_SMALL
Definition: decode-events.h:204
ICMPV6_PKT_TOO_SMALL
@ ICMPV6_PKT_TOO_SMALL
Definition: decode-events.h:61
ERSPAN_HEADER_TOO_SMALL
@ ERSPAN_HEADER_TOO_SMALL
Definition: decode-events.h:222
NSH_RESERVED_TYPE
@ NSH_RESERVED_TYPE
Definition: decode-events.h:236
SCTP_CHUNK_TOO_SMALL
@ SCTP_CHUNK_TOO_SMALL
Definition: decode-events.h:177
STREAM_TIMEWAIT_ACK_WRONG_SEQ
@ STREAM_TIMEWAIT_ACK_WRONG_SEQ
Definition: decode-events.h:301
STREAM_EST_SYN_TOCLIENT
@ STREAM_EST_SYN_TOCLIENT
Definition: decode-events.h:285
STREAM_3WHS_ACK_DATA_INJECT
@ STREAM_3WHS_ACK_DATA_INJECT
Definition: decode-events.h:266
SCTP_INIT_WITH_NON_ZERO_VTAG
@ SCTP_INIT_WITH_NON_ZERO_VTAG
Definition: decode-events.h:180
NSH_HEADER_TOO_SMALL
@ NSH_HEADER_TOO_SMALL
Definition: decode-events.h:233
STREAM_FIN2_ACK_WRONG_SEQ
@ STREAM_FIN2_ACK_WRONG_SEQ
Definition: decode-events.h:292
IPV6_EXTHDR_DUPL_EH
@ IPV6_EXTHDR_DUPL_EH
Definition: decode-events.h:78
IPV6_EXTHDR_AH_RES_NOT_NULL
@ IPV6_EXTHDR_AH_RES_NOT_NULL
Definition: decode-events.h:82
STREAM_EST_SYNACK_TOSERVER
@ STREAM_EST_SYNACK_TOSERVER
Definition: decode-events.h:282
ICMPV6_UNKNOWN_TYPE
@ ICMPV6_UNKNOWN_TYPE
Definition: decode-events.h:59
IPV6_EXTHDR_RH_TYPE_0
@ IPV6_EXTHDR_RH_TYPE_0
Definition: decode-events.h:89
IPV4_FRAG_OVERLAP
@ IPV4_FRAG_OVERLAP
Definition: decode-events.h:191
MPLS_BAD_LABEL_RESERVED
@ MPLS_BAD_LABEL_RESERVED
Definition: decode-events.h:212
TCP_PKT_TOO_SMALL
@ TCP_PKT_TOO_SMALL
Definition: decode-events.h:98
IPV4_OPT_DUPLICATE
@ IPV4_OPT_DUPLICATE
Definition: decode-events.h:45
IPV4_FRAG_IGNORED
@ IPV4_FRAG_IGNORED
Definition: decode-events.h:196
CHDLC_PKT_TOO_SMALL
@ CHDLC_PKT_TOO_SMALL
Definition: decode-events.h:230
STREAM_3WHS_SYNACK_RESEND_WITH_DIFFERENT_ACK
@ STREAM_3WHS_SYNACK_RESEND_WITH_DIFFERENT_ACK
Definition: decode-events.h:256
ARP_UNSUPPORTED_OPCODE
@ ARP_UNSUPPORTED_OPCODE
Definition: decode-events.h:333
GRE_VERSION1_MALFORMED_SRE_HDR
@ GRE_VERSION1_MALFORMED_SRE_HDR
Definition: decode-events.h:150
PPPOE_MALFORMED_TAGS
@ PPPOE_MALFORMED_TAGS
Definition: decode-events.h:134