suricata
decode-events.c
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 Anoop Saldanha <anoopsaldanha@gmail.com>
22  */
23 
24 #include "suricata-common.h"
25 
26 #include "decode-events.h"
27 /* code moved to app-layer-events */
28 
29 const struct DecodeEvents_ DEvents[] = {
30  /* CAPTURE EVENTS */
31  {
32  "decoder.afpacket.trunc_pkt",
34  },
35  /* IPV4 EVENTS */
36  {
37  "decoder.ipv4.pkt_too_small",
39  },
40  {
41  "decoder.ipv4.hlen_too_small",
43  },
44  {
45  "decoder.ipv4.iplen_smaller_than_hlen",
47  },
48  {
49  "decoder.ipv4.trunc_pkt",
51  },
52 
53  /* IPV4 OPTIONS */
54  {
55  "decoder.ipv4.opt_invalid",
57  },
58  {
59  "decoder.ipv4.opt_invalid_len",
61  },
62  {
63  "decoder.ipv4.opt_malformed",
65  },
66  {
67  "decoder.ipv4.opt_pad_required",
69  },
70  {
71  "decoder.ipv4.opt_eol_required",
73  },
74  {
75  "decoder.ipv4.opt_duplicate",
77  },
78  {
79  "decoder.ipv4.opt_unknown",
81  },
82  {
83  "decoder.ipv4.wrong_ip_version",
85  },
86  {
87  "decoder.ipv4.icmpv6",
89  },
90 
91  /* ICMP EVENTS */
92  {
93  "decoder.icmpv4.pkt_too_small",
95  },
96  {
97  "decoder.icmpv4.unknown_type",
99  },
100  {
101  "decoder.icmpv4.unknown_code",
103  },
104  {
105  "decoder.icmpv4.ipv4_trunc_pkt",
107  },
108  {
109  "decoder.icmpv4.ipv4_unknown_ver",
111  },
112 
113  /* ICMPv6 EVENTS */
114  {
115  "decoder.icmpv6.unknown_type",
117  },
118  {
119  "decoder.icmpv6.unknown_code",
121  },
122  {
123  "decoder.icmpv6.pkt_too_small",
125  },
126  {
127  "decoder.icmpv6.ipv6_unknown_version",
129  },
130  {
131  "decoder.icmpv6.ipv6_trunc_pkt",
133  },
134  {
135  "decoder.icmpv6.mld_message_with_invalid_hl",
137  },
138  {
139  "decoder.icmpv6.unassigned_type",
141  },
142  {
143  "decoder.icmpv6.experimentation_type",
145  },
146 
147  /* IPV6 EVENTS */
148  {
149  "decoder.ipv6.pkt_too_small",
151  },
152  {
153  "decoder.ipv6.trunc_pkt",
155  },
156  {
157  "decoder.ipv6.trunc_exthdr",
159  },
160  {
161  "decoder.ipv6.exthdr_dupl_fh",
163  },
164  {
165  "decoder.ipv6.exthdr_useless_fh",
167  },
168  {
169  "decoder.ipv6.exthdr_dupl_rh",
171  },
172  {
173  "decoder.ipv6.exthdr_dupl_hh",
175  },
176  {
177  "decoder.ipv6.exthdr_dupl_dh",
179  },
180  {
181  "decoder.ipv6.exthdr_dupl_ah",
183  },
184  {
185  "decoder.ipv6.exthdr_dupl_eh",
187  },
188  {
189  "decoder.ipv6.exthdr_invalid_optlen",
191  },
192  {
193  "decoder.ipv6.wrong_ip_version",
195  },
196  {
197  "decoder.ipv6.exthdr_ah_res_not_null",
199  },
200  {
201  "decoder.ipv6.hopopts_unknown_opt",
203  },
204  {
205  "decoder.ipv6.hopopts_only_padding",
207  },
208  {
209  "decoder.ipv6.dstopts_unknown_opt",
211  },
212  {
213  "decoder.ipv6.dstopts_only_padding",
215  },
216  {
217  "decoder.ipv6.rh_type_0",
219  },
220  {
221  "decoder.ipv6.zero_len_padn",
223  },
224  {
225  "decoder.ipv6.fh_non_zero_reserved_field",
227  },
228  {
229  "decoder.ipv6.data_after_none_header",
231  },
232  {
233  "decoder.ipv6.unknown_next_header",
235  },
236  {
237  "decoder.ipv6.icmpv4",
239  },
240 
241  /* TCP EVENTS */
242  {
243  "decoder.tcp.pkt_too_small",
245  },
246  {
247  "decoder.tcp.hlen_too_small",
249  },
250  {
251  "decoder.tcp.invalid_optlen",
253  },
254 
255  /* TCP OPTIONS */
256  {
257  "decoder.tcp.opt_invalid_len",
259  },
260  {
261  "decoder.tcp.opt_duplicate",
263  },
264 
265  /* UDP EVENTS */
266  {
267  "decoder.udp.pkt_too_small",
269  },
270  {
271  "decoder.udp.hlen_too_small",
273  },
274  {
275  "decoder.udp.hlen_invalid",
277  },
278  {
279  "decoder.udp.len_invalid",
281  },
282 
283  /* SLL EVENTS */
284  {
285  "decoder.sll.pkt_too_small",
287  },
288 
289  /* ETHERNET EVENTS */
290  {
291  "decoder.ethernet.pkt_too_small",
293  },
294  {
295  "decoder.ethernet.unknown_ethertype",
297  },
298 
299  /* PPP EVENTS */
300  {
301  "decoder.ppp.pkt_too_small",
303  },
304  {
305  "decoder.ppp.vju_pkt_too_small",
307  },
308  {
309  "decoder.ppp.ip4_pkt_too_small",
311  },
312  {
313  "decoder.ppp.ip6_pkt_too_small",
315  },
316  {
317  "decoder.ppp.wrong_type",
319  }, /** unknown & invalid protocol */
320  {
321  "decoder.ppp.unsup_proto",
323  }, /** unsupported but valid protocol */
324 
325  /* PPPOE EVENTS */
326  {
327  "decoder.pppoe.pkt_too_small",
329  },
330  {
331  "decoder.pppoe.wrong_code",
333  },
334  {
335  "decoder.pppoe.malformed_tags",
337  },
338 
339  /* GRE EVENTS */
340  {
341  "decoder.gre.pkt_too_small",
343  },
344  {
345  "decoder.gre.wrong_version",
347  },
348  {
349  "decoder.gre.version0_recur",
351  },
352  {
353  "decoder.gre.version0_flags",
355  },
356  {
357  "decoder.gre.version0_hdr_too_big",
359  },
360  {
361  "decoder.gre.version0_malformed_sre_hdr",
363  },
364  {
365  "decoder.gre.version1_chksum",
367  },
368  {
369  "decoder.gre.version1_route",
371  },
372  {
373  "decoder.gre.version1_ssr",
375  },
376  {
377  "decoder.gre.version1_recur",
379  },
380  {
381  "decoder.gre.version1_flags",
383  },
384  {
385  "decoder.gre.version1_no_key",
387  },
388  {
389  "decoder.gre.version1_wrong_protocol",
391  },
392  {
393  "decoder.gre.version1_malformed_sre_hdr",
395  },
396  {
397  "decoder.gre.version1_hdr_too_big",
399  },
400 
401  /* VLAN EVENTS */
402  {
403  "decoder.vlan.header_too_small",
405  },
406  {
407  "decoder.vlan.unknown_type",
409  },
410  {
411  "decoder.vlan.too_many_layers",
413  },
414  {
415  "decoder.ieee8021ah.header_too_small",
417  },
418 
419  /* VNTAG EVENTS */
420  {
421  "decoder.vntag.header_too_small",
423  },
424  {
425  "decoder.vntag.unknown_type",
427  },
428 
429  /* RAW EVENTS */
430  {
431  "decoder.ipraw.invalid_ip_version",
433  },
434 
435  /* LINKTYPE NULL EVENTS */
436  {
437  "decoder.ltnull.pkt_too_small",
439  },
440  {
441  "decoder.ltnull.unsupported_type",
443  },
444 
445  /* SCTP EVENTS */
446  {
447  "decoder.sctp.pkt_too_small",
449  },
450 
451  /* ESP EVENTS */
452  {
453  "decoder.esp.pkt_too_small",
455  },
456 
457  /* Fragmentation reassembly events. */
458  {
459  "decoder.ipv4.frag_pkt_too_large",
461  },
462  {
463  "decoder.ipv6.frag_pkt_too_large",
465  },
466  {
467  "decoder.ipv4.frag_overlap",
469  },
470  {
471  "decoder.ipv6.frag_overlap",
473  },
474  {
475  "decoder.ipv6.frag_invalid_length",
477  },
478  /* Fragment ignored due to internal error */
479  {
480  "decoder.ipv4.frag_ignored",
482  },
483  {
484  "decoder.ipv6.frag_ignored",
486  },
487 
488  /* IPv4 in IPv6 events */
489  {
490  "decoder.ipv6.ipv4_in_ipv6_too_small",
492  },
493  {
494  "decoder.ipv6.ipv4_in_ipv6_wrong_version",
496  },
497  /* IPv6 in IPv6 events */
498  {
499  "decoder.ipv6.ipv6_in_ipv6_too_small",
501  },
502  {
503  "decoder.ipv6.ipv6_in_ipv6_wrong_version",
505  },
506 
507  /* MPLS events */
508  {
509  "decoder.mpls.header_too_small",
511  },
512  {
513  "decoder.mpls.pkt_too_small",
515  },
516  {
517  "decoder.mpls.bad_label_router_alert",
519  },
520  {
521  "decoder.mpls.bad_label_implicit_null",
523  },
524  {
525  "decoder.mpls.bad_label_reserved",
527  },
528  {
529  "decoder.mpls.unknown_payload_type",
531  },
532 
533  /* VXLAN events */
534  {
535  "decoder.vxlan.unknown_payload_type",
537  },
538 
539  /* Geneve events */
540  {
541  "decoder.geneve.unknown_payload_type",
543  },
544 
545  /* ERSPAN events */
546  {
547  "decoder.erspan.header_too_small",
549  },
550  {
551  "decoder.erspan.unsupported_version",
553  },
554  {
555  "decoder.erspan.too_many_vlan_layers",
557  },
558 
559  /* Cisco Fabric Path/DCE events. */
560  {
561  "decoder.dce.pkt_too_small",
563  },
564 
565  /* Cisco HDLC events. */
566  {
567  "decoder.chdlc.pkt_too_small",
569  },
570 
571  /* NSH events */
572  {
573  "decoder.nsh.header_too_small",
575  },
576  {
577  "decoder.nsh.unsupported_version",
579  },
580  {
581  "decoder.nsh.bad_header_length",
583  },
584  {
585  "decoder.nsh.reserved_type",
587  },
588  {
589  "decoder.nsh.unsupported_type",
591  },
592  {
593  "decoder.nsh.unknown_payload",
595  },
596  {
597  "decoder.too_many_layers",
599  },
600 
601  /* STREAM EVENTS */
602  {
603  "stream.3whs_ack_in_wrong_dir",
605  },
606  {
607  "stream.3whs_async_wrong_seq",
609  },
610  {
611  "stream.3whs_right_seq_wrong_ack_evasion",
613  },
614  {
615  "stream.3whs_synack_in_wrong_direction",
617  },
618  {
619  "stream.3whs_synack_resend_with_diff_ack",
621  },
622  {
623  "stream.3whs_synack_resend_with_diff_seq",
625  },
626  {
627  "stream.3whs_synack_toserver_on_syn_recv",
629  },
630  {
631  "stream.3whs_synack_with_wrong_ack",
633  },
634  {
635  "stream.3whs_synack_flood",
637  },
638  {
639  "stream.3whs_synack_tfo_data_ignored",
641  },
642  {
643  "stream.3whs_syn_resend_diff_seq_on_syn_recv",
645  },
646  {
647  "stream.3whs_syn_toclient_on_syn_recv",
649  },
650  {
651  "stream.3whs_syn_flood",
653  },
654  {
655  "stream.3whs_wrong_seq_wrong_ack",
657  },
658  {
659  "stream.3whs_ack_data_inject",
661  },
662  {
663  "stream.4whs_synack_with_wrong_ack",
665  },
666  {
667  "stream.4whs_synack_with_wrong_syn",
669  },
670  {
671  "stream.4whs_wrong_seq",
673  },
674  {
675  "stream.4whs_invalid_ack",
677  },
678  {
679  "stream.closewait_ack_out_of_window",
681  },
682  {
683  "stream.closewait_fin_out_of_window",
685  },
686  {
687  "stream.closewait_pkt_before_last_ack",
689  },
690  {
691  "stream.closewait_invalid_ack",
693  },
694  {
695  "stream.closing_ack_wrong_seq",
697  },
698  {
699  "stream.closing_invalid_ack",
701  },
702  {
703  "stream.est_packet_out_of_window",
705  },
706  {
707  "stream.est_pkt_before_last_ack",
709  },
710  {
711  "stream.est_synack_resend",
713  },
714  {
715  "stream.est_synack_resend_with_diff_ack",
717  },
718  {
719  "stream.est_synack_resend_with_diff_seq",
721  },
722  {
723  "stream.est_synack_toserver",
725  },
726  {
727  "stream.est_syn_resend",
729  },
730  {
731  "stream.est_syn_resend_diff_seq",
733  },
734  {
735  "stream.est_syn_toclient",
737  },
738  {
739  "stream.est_invalid_ack",
741  },
742  {
743  "stream.est_ack_zwp_data",
745  },
746  {
747  "stream.fin_invalid_ack",
749  },
750  {
751  "stream.fin1_ack_wrong_seq",
753  },
754  {
755  "stream.fin1_fin_wrong_seq",
757  },
758  {
759  "stream.fin1_invalid_ack",
761  },
762  {
763  "stream.fin2_ack_wrong_seq",
765  },
766  {
767  "stream.fin2_fin_wrong_seq",
769  },
770  {
771  "stream.fin2_invalid_ack",
773  },
774  {
775  "stream.fin_but_no_session",
777  },
778  {
779  "stream.fin_out_of_window",
781  },
782  {
783  "stream.fin_syn",
785  },
786  {
787  "stream.lastack_ack_wrong_seq",
789  },
790  {
791  "stream.lastack_invalid_ack",
793  },
794  {
795  "stream.rst_but_no_session",
797  },
798  {
799  "stream.timewait_ack_wrong_seq",
801  },
802  {
803  "stream.timewait_invalid_ack",
805  },
806  {
807  "stream.shutdown_syn_resend",
809  },
810  {
811  "stream.pkt_invalid_timestamp",
813  },
814  {
815  "stream.pkt_invalid_ack",
817  },
818  {
819  "stream.pkt_broken_ack",
821  },
822  {
823  "stream.rst_invalid_ack",
825  },
826  {
827  "stream.rst_with_data",
829  },
830  {
831  "stream.pkt_retransmission",
833  },
834  {
835  "stream.pkt_spurious_retransmission",
837  },
838  {
839  "stream.pkt_bad_window_update",
841  },
842 
843  {
844  "stream.suspected_rst_inject",
846  },
847  {
848  "stream.wrong_thread",
850  },
851 
852  {
853  "stream.reassembly_segment_before_base_seq",
855  },
856  {
857  "stream.reassembly_no_segment",
859  },
860  {
861  "stream.reassembly_seq_gap",
863  },
864  {
865  "stream.reassembly_overlap_different_data",
867  },
868  {
869  "stream.reassembly_depth_reached",
871  },
872  {
873  "stream.reassembly_insert_memcap",
875  },
876  {
877  "stream.reassembly_insert_limit",
879  },
880  {
881  "stream.reassembly_insert_invalid",
883  },
884  {
885  "stream.reassembly_urgent_oob_limit_reached",
887  },
888 
889  /* ARP EVENTS */
890  {
891  "decoder.arp.pkt_too_small",
893  },
894  {
895  "decoder.arp.unsupported_hardware",
897  },
898  {
899  "decoder.arp.unsupported_protocol",
901  },
902  {
903  "decoder.arp.invalid_pkt",
905  },
906  {
907  "decoder.arp.invalid_hardware_size",
909  },
910  {
911  "decoder.arp.invalid_protocol_size",
913  },
914  {
915  "decoder.arp.unsupported_opcode",
917  },
918 
919  { NULL, 0 },
920 };
STREAM_3WHS_ACK_IN_WRONG_DIR
@ STREAM_3WHS_ACK_IN_WRONG_DIR
Definition: decode-events.h:231
STREAM_REASSEMBLY_INSERT_MEMCAP
@ STREAM_REASSEMBLY_INSERT_MEMCAP
Definition: decode-events.h:300
STREAM_CLOSING_INVALID_ACK
@ STREAM_CLOSING_INVALID_ACK
Definition: decode-events.h:255
MPLS_BAD_LABEL_IMPLICIT_NULL
@ MPLS_BAD_LABEL_IMPLICIT_NULL
Definition: decode-events.h:195
MPLS_HEADER_TOO_SMALL
@ MPLS_HEADER_TOO_SMALL
Definition: decode-events.h:192
PPPIPV4_PKT_TOO_SMALL
@ PPPIPV4_PKT_TOO_SMALL
Definition: decode-events.h:121
CHDLC_PKT_TOO_SMALL
@ CHDLC_PKT_TOO_SMALL
Definition: decode-events.h:214
IEEE8021AH_HEADER_TOO_SMALL
@ IEEE8021AH_HEADER_TOO_SMALL
Definition: decode-events.h:153
STREAM_REASSEMBLY_INSERT_LIMIT
@ STREAM_REASSEMBLY_INSERT_LIMIT
Definition: decode-events.h:301
GRE_VERSION0_FLAGS
@ GRE_VERSION0_FLAGS
Definition: decode-events.h:135
TCP_OPT_DUPLICATE
@ TCP_OPT_DUPLICATE
Definition: decode-events.h:103
GRE_VERSION0_RECUR
@ GRE_VERSION0_RECUR
Definition: decode-events.h:134
ERSPAN_TOO_MANY_VLAN_LAYERS
@ ERSPAN_TOO_MANY_VLAN_LAYERS
Definition: decode-events.h:208
IPV6_EXTHDR_DUPL_EH
@ IPV6_EXTHDR_DUPL_EH
Definition: decode-events.h:77
GRE_VERSION1_NO_KEY
@ GRE_VERSION1_NO_KEY
Definition: decode-events.h:143
IPV4_OPT_PAD_REQUIRED
@ IPV4_OPT_PAD_REQUIRED
Definition: decode-events.h:43
STREAM_TIMEWAIT_INVALID_ACK
@ STREAM_TIMEWAIT_INVALID_ACK
Definition: decode-events.h:281
STREAM_3WHS_SYNACK_WITH_WRONG_ACK
@ STREAM_3WHS_SYNACK_WITH_WRONG_ACK
Definition: decode-events.h:238
IPV4_OPT_INVALID_LEN
@ IPV4_OPT_INVALID_LEN
Definition: decode-events.h:41
IPV4_TRUNC_PKT
@ IPV4_TRUNC_PKT
Definition: decode-events.h:37
PPPOE_WRONG_CODE
@ PPPOE_WRONG_CODE
Definition: decode-events.h:128
IPV4_HLEN_TOO_SMALL
@ IPV4_HLEN_TOO_SMALL
Definition: decode-events.h:35
GENEVE_UNKNOWN_PAYLOAD_TYPE
@ GENEVE_UNKNOWN_PAYLOAD_TYPE
Definition: decode-events.h:203
IPV6_EXTHDR_INVALID_OPTLEN
@ IPV6_EXTHDR_INVALID_OPTLEN
Definition: decode-events.h:79
IPV6_EXTHDR_DUPL_FH
@ IPV6_EXTHDR_DUPL_FH
Definition: decode-events.h:71
IPV6_FH_NON_ZERO_RES_FIELD
@ IPV6_FH_NON_ZERO_RES_FIELD
Definition: decode-events.h:90
VNTAG_HEADER_TOO_SMALL
@ VNTAG_HEADER_TOO_SMALL
Definition: decode-events.h:156
IPV6_IN_IPV6_PKT_TOO_SMALL
@ IPV6_IN_IPV6_PKT_TOO_SMALL
Definition: decode-events.h:188
ICMPV4_IPV4_UNKNOWN_VER
@ ICMPV4_IPV4_UNKNOWN_VER
Definition: decode-events.h:55
STREAM_3WHS_ACK_DATA_INJECT
@ STREAM_3WHS_ACK_DATA_INJECT
Definition: decode-events.h:245
STREAM_4WHS_SYNACK_WITH_WRONG_SYN
@ STREAM_4WHS_SYNACK_WITH_WRONG_SYN
Definition: decode-events.h:247
STREAM_FIN1_ACK_WRONG_SEQ
@ STREAM_FIN1_ACK_WRONG_SEQ
Definition: decode-events.h:268
GRE_VERSION0_HDR_TOO_BIG
@ GRE_VERSION0_HDR_TOO_BIG
Definition: decode-events.h:136
TCP_HLEN_TOO_SMALL
@ TCP_HLEN_TOO_SMALL
Definition: decode-events.h:98
STREAM_PKT_INVALID_ACK
@ STREAM_PKT_INVALID_ACK
Definition: decode-events.h:284
STREAM_PKT_RETRANSMISSION
@ STREAM_PKT_RETRANSMISSION
Definition: decode-events.h:288
IPV6_FRAG_INVALID_LENGTH
@ IPV6_FRAG_INVALID_LENGTH
Definition: decode-events.h:177
IPV4_IN_IPV6_PKT_TOO_SMALL
@ IPV4_IN_IPV6_PKT_TOO_SMALL
Definition: decode-events.h:184
GRE_VERSION1_ROUTE
@ GRE_VERSION1_ROUTE
Definition: decode-events.h:139
NSH_UNSUPPORTED_VERSION
@ NSH_UNSUPPORTED_VERSION
Definition: decode-events.h:218
STREAM_FIN2_INVALID_ACK
@ STREAM_FIN2_INVALID_ACK
Definition: decode-events.h:273
IPV6_FRAG_PKT_TOO_LARGE
@ IPV6_FRAG_PKT_TOO_LARGE
Definition: decode-events.h:174
ICMPV4_PKT_TOO_SMALL
@ ICMPV4_PKT_TOO_SMALL
Definition: decode-events.h:51
PPPOE_MALFORMED_TAGS
@ PPPOE_MALFORMED_TAGS
Definition: decode-events.h:129
STREAM_CLOSEWAIT_PKT_BEFORE_LAST_ACK
@ STREAM_CLOSEWAIT_PKT_BEFORE_LAST_ACK
Definition: decode-events.h:252
IPV6_FRAG_IGNORED
@ IPV6_FRAG_IGNORED
Definition: decode-events.h:181
STREAM_EST_PACKET_OUT_OF_WINDOW
@ STREAM_EST_PACKET_OUT_OF_WINDOW
Definition: decode-events.h:256
IPV6_PKT_TOO_SMALL
@ IPV6_PKT_TOO_SMALL
Definition: decode-events.h:68
STREAM_REASSEMBLY_OVERLAP_DIFFERENT_DATA
@ STREAM_REASSEMBLY_OVERLAP_DIFFERENT_DATA
Definition: decode-events.h:298
UDP_LEN_INVALID
@ UDP_LEN_INVALID
Definition: decode-events.h:109
STREAM_4WHS_INVALID_ACK
@ STREAM_4WHS_INVALID_ACK
Definition: decode-events.h:249
ARP_INVALID_HARDWARE_SIZE
@ ARP_INVALID_HARDWARE_SIZE
Definition: decode-events.h:310
STREAM_RST_INVALID_ACK
@ STREAM_RST_INVALID_ACK
Definition: decode-events.h:286
STREAM_3WHS_SYNACK_RESEND_WITH_DIFF_SEQ
@ STREAM_3WHS_SYNACK_RESEND_WITH_DIFF_SEQ
Definition: decode-events.h:236
SCTP_PKT_TOO_SMALL
@ SCTP_PKT_TOO_SMALL
Definition: decode-events.h:167
ICMPV4_UNKNOWN_TYPE
@ ICMPV4_UNKNOWN_TYPE
Definition: decode-events.h:52
IPV6_EXTHDR_AH_RES_NOT_NULL
@ IPV6_EXTHDR_AH_RES_NOT_NULL
Definition: decode-events.h:81
IPV6_DSTOPTS_ONLY_PADDING
@ IPV6_DSTOPTS_ONLY_PADDING
Definition: decode-events.h:86
IPV6_IN_IPV6_WRONG_IP_VER
@ IPV6_IN_IPV6_WRONG_IP_VER
Definition: decode-events.h:189
STREAM_FIN1_FIN_WRONG_SEQ
@ STREAM_FIN1_FIN_WRONG_SEQ
Definition: decode-events.h:269
IPV4_FRAG_PKT_TOO_LARGE
@ IPV4_FRAG_PKT_TOO_LARGE
Definition: decode-events.h:173
STREAM_4WHS_SYNACK_WITH_WRONG_ACK
@ STREAM_4WHS_SYNACK_WITH_WRONG_ACK
Definition: decode-events.h:246
PPP_WRONG_TYPE
@ PPP_WRONG_TYPE
Definition: decode-events.h:123
IPV6_UNKNOWN_NEXT_HEADER
@ IPV6_UNKNOWN_NEXT_HEADER
Definition: decode-events.h:93
STREAM_PKT_BAD_WINDOW_UPDATE
@ STREAM_PKT_BAD_WINDOW_UPDATE
Definition: decode-events.h:290
IPV4_IPLEN_SMALLER_THAN_HLEN
@ IPV4_IPLEN_SMALLER_THAN_HLEN
Definition: decode-events.h:36
STREAM_3WHS_SYNACK_TFO_DATA_IGNORED
@ STREAM_3WHS_SYNACK_TFO_DATA_IGNORED
Definition: decode-events.h:240
ARP_UNSUPPORTED_HARDWARE
@ ARP_UNSUPPORTED_HARDWARE
Definition: decode-events.h:307
IPRAW_INVALID_IPV
@ IPRAW_INVALID_IPV
Definition: decode-events.h:160
ARP_UNSUPPORTED_PROTOCOL
@ ARP_UNSUPPORTED_PROTOCOL
Definition: decode-events.h:308
STREAM_PKT_INVALID_TIMESTAMP
@ STREAM_PKT_INVALID_TIMESTAMP
Definition: decode-events.h:283
STREAM_CLOSEWAIT_ACK_OUT_OF_WINDOW
@ STREAM_CLOSEWAIT_ACK_OUT_OF_WINDOW
Definition: decode-events.h:250
IPV4_FRAG_IGNORED
@ IPV4_FRAG_IGNORED
Definition: decode-events.h:180
TCP_PKT_TOO_SMALL
@ TCP_PKT_TOO_SMALL
Definition: decode-events.h:97
ERSPAN_HEADER_TOO_SMALL
@ ERSPAN_HEADER_TOO_SMALL
Definition: decode-events.h:206
VLAN_HEADER_TOO_MANY_LAYERS
@ VLAN_HEADER_TOO_MANY_LAYERS
Definition: decode-events.h:151
UDP_PKT_TOO_SMALL
@ UDP_PKT_TOO_SMALL
Definition: decode-events.h:106
ARP_PKT_TOO_SMALL
@ ARP_PKT_TOO_SMALL
Definition: decode-events.h:306
ICMPV6_UNKNOWN_CODE
@ ICMPV6_UNKNOWN_CODE
Definition: decode-events.h:59
IPV6_DATA_AFTER_NONE_HEADER
@ IPV6_DATA_AFTER_NONE_HEADER
Definition: decode-events.h:91
STREAM_3WHS_SYNACK_FLOOD
@ STREAM_3WHS_SYNACK_FLOOD
Definition: decode-events.h:239
NSH_BAD_HEADER_LENGTH
@ NSH_BAD_HEADER_LENGTH
Definition: decode-events.h:219
PPP_PKT_TOO_SMALL
@ PPP_PKT_TOO_SMALL
Definition: decode-events.h:119
STREAM_CLOSEWAIT_INVALID_ACK
@ STREAM_CLOSEWAIT_INVALID_ACK
Definition: decode-events.h:253
ESP_PKT_TOO_SMALL
@ ESP_PKT_TOO_SMALL
Definition: decode-events.h:170
STREAM_FIN_SYN
@ STREAM_FIN_SYN
Definition: decode-events.h:276
IPV6_EXTHDR_RH_TYPE_0
@ IPV6_EXTHDR_RH_TYPE_0
Definition: decode-events.h:88
STREAM_3WHS_WRONG_SEQ_WRONG_ACK
@ STREAM_3WHS_WRONG_SEQ_WRONG_ACK
Definition: decode-events.h:244
IPV4_OPT_EOL_REQUIRED
@ IPV4_OPT_EOL_REQUIRED
Definition: decode-events.h:44
DEvents
const struct DecodeEvents_ DEvents[]
Definition: decode-events.c:29
NSH_UNKNOWN_PAYLOAD
@ NSH_UNKNOWN_PAYLOAD
Definition: decode-events.h:222
STREAM_EST_SYN_TOCLIENT
@ STREAM_EST_SYN_TOCLIENT
Definition: decode-events.h:264
AFP_TRUNC_PKT
@ AFP_TRUNC_PKT
Definition: decode-events.h:31
GENERIC_TOO_MANY_LAYERS
@ GENERIC_TOO_MANY_LAYERS
Definition: decode-events.h:225
STREAM_3WHS_SYNACK_RESEND_WITH_DIFFERENT_ACK
@ STREAM_3WHS_SYNACK_RESEND_WITH_DIFFERENT_ACK
Definition: decode-events.h:235
STREAM_REASSEMBLY_URGENT_OOB_LIMIT_REACHED
@ STREAM_REASSEMBLY_URGENT_OOB_LIMIT_REACHED
Definition: decode-events.h:303
GRE_VERSION1_HDR_TOO_BIG
@ GRE_VERSION1_HDR_TOO_BIG
Definition: decode-events.h:146
STREAM_CLOSEWAIT_FIN_OUT_OF_WINDOW
@ STREAM_CLOSEWAIT_FIN_OUT_OF_WINDOW
Definition: decode-events.h:251
IPV6_WITH_ICMPV4
@ IPV6_WITH_ICMPV4
Definition: decode-events.h:94
GRE_WRONG_VERSION
@ GRE_WRONG_VERSION
Definition: decode-events.h:133
MPLS_BAD_LABEL_ROUTER_ALERT
@ MPLS_BAD_LABEL_ROUTER_ALERT
Definition: decode-events.h:194
IPV6_EXTHDR_USELESS_FH
@ IPV6_EXTHDR_USELESS_FH
Definition: decode-events.h:72
STREAM_EST_ACK_ZWP_DATA
@ STREAM_EST_ACK_ZWP_DATA
Definition: decode-events.h:266
ETHERNET_PKT_TOO_SMALL
@ ETHERNET_PKT_TOO_SMALL
Definition: decode-events.h:115
STREAM_REASSEMBLY_NO_SEGMENT
@ STREAM_REASSEMBLY_NO_SEGMENT
Definition: decode-events.h:296
IPV4_FRAG_OVERLAP
@ IPV4_FRAG_OVERLAP
Definition: decode-events.h:175
STREAM_RST_BUT_NO_SESSION
@ STREAM_RST_BUT_NO_SESSION
Definition: decode-events.h:279
STREAM_SUSPECTED_RST_INJECT
@ STREAM_SUSPECTED_RST_INJECT
Definition: decode-events.h:292
ICMPV4_IPV4_TRUNC_PKT
@ ICMPV4_IPV4_TRUNC_PKT
Definition: decode-events.h:54
DecodeEvents_
Definition: decode-events.h:323
STREAM_EST_SYNACK_TOSERVER
@ STREAM_EST_SYNACK_TOSERVER
Definition: decode-events.h:261
IPV6_FRAG_OVERLAP
@ IPV6_FRAG_OVERLAP
Definition: decode-events.h:176
STREAM_REASSEMBLY_SEQ_GAP
@ STREAM_REASSEMBLY_SEQ_GAP
Definition: decode-events.h:297
PPPIPV6_PKT_TOO_SMALL
@ PPPIPV6_PKT_TOO_SMALL
Definition: decode-events.h:122
STREAM_EST_INVALID_ACK
@ STREAM_EST_INVALID_ACK
Definition: decode-events.h:265
STREAM_PKT_SPURIOUS_RETRANSMISSION
@ STREAM_PKT_SPURIOUS_RETRANSMISSION
Definition: decode-events.h:289
IPV4_IN_IPV6_WRONG_IP_VER
@ IPV4_IN_IPV6_WRONG_IP_VER
Definition: decode-events.h:185
STREAM_FIN_INVALID_ACK
@ STREAM_FIN_INVALID_ACK
Definition: decode-events.h:267
IPV4_WITH_ICMPV6
@ IPV4_WITH_ICMPV6
Definition: decode-events.h:48
IPV4_OPT_INVALID
@ IPV4_OPT_INVALID
Definition: decode-events.h:40
STREAM_FIN_OUT_OF_WINDOW
@ STREAM_FIN_OUT_OF_WINDOW
Definition: decode-events.h:275
ERSPAN_UNSUPPORTED_VERSION
@ ERSPAN_UNSUPPORTED_VERSION
Definition: decode-events.h:207
IPV6_EXTHDR_DUPL_DH
@ IPV6_EXTHDR_DUPL_DH
Definition: decode-events.h:75
decode-events.h
ARP_INVALID_PROTOCOL_SIZE
@ ARP_INVALID_PROTOCOL_SIZE
Definition: decode-events.h:311
MPLS_UNKNOWN_PAYLOAD_TYPE
@ MPLS_UNKNOWN_PAYLOAD_TYPE
Definition: decode-events.h:197
ICMPV6_UNKNOWN_TYPE
@ ICMPV6_UNKNOWN_TYPE
Definition: decode-events.h:58
STREAM_TIMEWAIT_ACK_WRONG_SEQ
@ STREAM_TIMEWAIT_ACK_WRONG_SEQ
Definition: decode-events.h:280
STREAM_3WHS_SYNACK_TOSERVER_ON_SYN_RECV
@ STREAM_3WHS_SYNACK_TOSERVER_ON_SYN_RECV
Definition: decode-events.h:237
STREAM_EST_PKT_BEFORE_LAST_ACK
@ STREAM_EST_PKT_BEFORE_LAST_ACK
Definition: decode-events.h:257
GRE_PKT_TOO_SMALL
@ GRE_PKT_TOO_SMALL
Definition: decode-events.h:132
IPV4_OPT_UNKNOWN
@ IPV4_OPT_UNKNOWN
Definition: decode-events.h:46
LTNULL_UNSUPPORTED_TYPE
@ LTNULL_UNSUPPORTED_TYPE
Definition: decode-events.h:164
IPV4_WRONG_IP_VER
@ IPV4_WRONG_IP_VER
Definition: decode-events.h:47
NSH_HEADER_TOO_SMALL
@ NSH_HEADER_TOO_SMALL
Definition: decode-events.h:217
IPV6_DSTOPTS_UNKNOWN_OPT
@ IPV6_DSTOPTS_UNKNOWN_OPT
Definition: decode-events.h:85
suricata-common.h
IPV6_EXTHDR_ZERO_LEN_PADN
@ IPV6_EXTHDR_ZERO_LEN_PADN
Definition: decode-events.h:89
STREAM_PKT_BROKEN_ACK
@ STREAM_PKT_BROKEN_ACK
Definition: decode-events.h:285
ICMPV6_PKT_TOO_SMALL
@ ICMPV6_PKT_TOO_SMALL
Definition: decode-events.h:60
STREAM_REASSEMBLY_INSERT_INVALID
@ STREAM_REASSEMBLY_INSERT_INVALID
Definition: decode-events.h:302
IPV4_OPT_DUPLICATE
@ IPV4_OPT_DUPLICATE
Definition: decode-events.h:45
STREAM_EST_SYNACK_RESEND_WITH_DIFFERENT_ACK
@ STREAM_EST_SYNACK_RESEND_WITH_DIFFERENT_ACK
Definition: decode-events.h:259
STREAM_EST_SYNACK_RESEND_WITH_DIFF_SEQ
@ STREAM_EST_SYNACK_RESEND_WITH_DIFF_SEQ
Definition: decode-events.h:260
ICMPV6_IPV6_UNKNOWN_VER
@ ICMPV6_IPV6_UNKNOWN_VER
Definition: decode-events.h:61
STREAM_EST_SYNACK_RESEND
@ STREAM_EST_SYNACK_RESEND
Definition: decode-events.h:258
STREAM_3WHS_RIGHT_SEQ_WRONG_ACK_EVASION
@ STREAM_3WHS_RIGHT_SEQ_WRONG_ACK_EVASION
Definition: decode-events.h:233
STREAM_LASTACK_ACK_WRONG_SEQ
@ STREAM_LASTACK_ACK_WRONG_SEQ
Definition: decode-events.h:277
NSH_UNSUPPORTED_TYPE
@ NSH_UNSUPPORTED_TYPE
Definition: decode-events.h:221
IPV6_HOPOPTS_ONLY_PADDING
@ IPV6_HOPOPTS_ONLY_PADDING
Definition: decode-events.h:84
STREAM_LASTACK_INVALID_ACK
@ STREAM_LASTACK_INVALID_ACK
Definition: decode-events.h:278
SLL_PKT_TOO_SMALL
@ SLL_PKT_TOO_SMALL
Definition: decode-events.h:112
VNTAG_UNKNOWN_TYPE
@ VNTAG_UNKNOWN_TYPE
Definition: decode-events.h:157
STREAM_WRONG_THREAD
@ STREAM_WRONG_THREAD
Definition: decode-events.h:293
ARP_INVALID_PKT
@ ARP_INVALID_PKT
Definition: decode-events.h:309
GRE_VERSION1_MALFORMED_SRE_HDR
@ GRE_VERSION1_MALFORMED_SRE_HDR
Definition: decode-events.h:145
IPV6_TRUNC_PKT
@ IPV6_TRUNC_PKT
Definition: decode-events.h:69
STREAM_RST_WITH_DATA
@ STREAM_RST_WITH_DATA
Definition: decode-events.h:287
VLAN_UNKNOWN_TYPE
@ VLAN_UNKNOWN_TYPE
Definition: decode-events.h:150
IPV6_HOPOPTS_UNKNOWN_OPT
@ IPV6_HOPOPTS_UNKNOWN_OPT
Definition: decode-events.h:83
ARP_UNSUPPORTED_OPCODE
@ ARP_UNSUPPORTED_OPCODE
Definition: decode-events.h:312
ETHERNET_UNKNOWN_ETHERTYPE
@ ETHERNET_UNKNOWN_ETHERTYPE
Definition: decode-events.h:116
GRE_VERSION1_SSR
@ GRE_VERSION1_SSR
Definition: decode-events.h:140
IPV6_WRONG_IP_VER
@ IPV6_WRONG_IP_VER
Definition: decode-events.h:80
ICMPV6_IPV6_TRUNC_PKT
@ ICMPV6_IPV6_TRUNC_PKT
Definition: decode-events.h:62
UDP_HLEN_TOO_SMALL
@ UDP_HLEN_TOO_SMALL
Definition: decode-events.h:107
TCP_INVALID_OPTLEN
@ TCP_INVALID_OPTLEN
Definition: decode-events.h:99
STREAM_3WHS_SYNACK_IN_WRONG_DIRECTION
@ STREAM_3WHS_SYNACK_IN_WRONG_DIRECTION
Definition: decode-events.h:234
LTNULL_PKT_TOO_SMALL
@ LTNULL_PKT_TOO_SMALL
Definition: decode-events.h:163
IPV6_TRUNC_EXTHDR
@ IPV6_TRUNC_EXTHDR
Definition: decode-events.h:70
STREAM_3WHS_SYN_RESEND_DIFF_SEQ_ON_SYN_RECV
@ STREAM_3WHS_SYN_RESEND_DIFF_SEQ_ON_SYN_RECV
Definition: decode-events.h:241
TCP_OPT_INVALID_LEN
@ TCP_OPT_INVALID_LEN
Definition: decode-events.h:102
ICMPV6_UNASSIGNED_TYPE
@ ICMPV6_UNASSIGNED_TYPE
Definition: decode-events.h:64
ICMPV6_MLD_MESSAGE_WITH_INVALID_HL
@ ICMPV6_MLD_MESSAGE_WITH_INVALID_HL
Definition: decode-events.h:63
STREAM_FIN2_ACK_WRONG_SEQ
@ STREAM_FIN2_ACK_WRONG_SEQ
Definition: decode-events.h:271
STREAM_SHUTDOWN_SYN_RESEND
@ STREAM_SHUTDOWN_SYN_RESEND
Definition: decode-events.h:282
GRE_VERSION1_CHKSUM
@ GRE_VERSION1_CHKSUM
Definition: decode-events.h:138
GRE_VERSION0_MALFORMED_SRE_HDR
@ GRE_VERSION0_MALFORMED_SRE_HDR
Definition: decode-events.h:137
STREAM_REASSEMBLY_SEGMENT_BEFORE_BASE_SEQ
@ STREAM_REASSEMBLY_SEGMENT_BEFORE_BASE_SEQ
Definition: decode-events.h:295
IPV6_EXTHDR_DUPL_RH
@ IPV6_EXTHDR_DUPL_RH
Definition: decode-events.h:73
VLAN_HEADER_TOO_SMALL
@ VLAN_HEADER_TOO_SMALL
Definition: decode-events.h:149
NSH_RESERVED_TYPE
@ NSH_RESERVED_TYPE
Definition: decode-events.h:220
IPV4_OPT_MALFORMED
@ IPV4_OPT_MALFORMED
Definition: decode-events.h:42
DCE_PKT_TOO_SMALL
@ DCE_PKT_TOO_SMALL
Definition: decode-events.h:211
STREAM_EST_SYN_RESEND
@ STREAM_EST_SYN_RESEND
Definition: decode-events.h:262
STREAM_3WHS_SYN_FLOOD
@ STREAM_3WHS_SYN_FLOOD
Definition: decode-events.h:243
STREAM_REASSEMBLY_DEPTH_REACHED
@ STREAM_REASSEMBLY_DEPTH_REACHED
Definition: decode-events.h:299
STREAM_FIN2_FIN_WRONG_SEQ
@ STREAM_FIN2_FIN_WRONG_SEQ
Definition: decode-events.h:272
IPV6_EXTHDR_DUPL_HH
@ IPV6_EXTHDR_DUPL_HH
Definition: decode-events.h:74
VXLAN_UNKNOWN_PAYLOAD_TYPE
@ VXLAN_UNKNOWN_PAYLOAD_TYPE
Definition: decode-events.h:200
ICMPV4_UNKNOWN_CODE
@ ICMPV4_UNKNOWN_CODE
Definition: decode-events.h:53
IPV4_PKT_TOO_SMALL
@ IPV4_PKT_TOO_SMALL
Definition: decode-events.h:34
IPV6_EXTHDR_DUPL_AH
@ IPV6_EXTHDR_DUPL_AH
Definition: decode-events.h:76
STREAM_FIN1_INVALID_ACK
@ STREAM_FIN1_INVALID_ACK
Definition: decode-events.h:270
MPLS_BAD_LABEL_RESERVED
@ MPLS_BAD_LABEL_RESERVED
Definition: decode-events.h:196
PPPOE_PKT_TOO_SMALL
@ PPPOE_PKT_TOO_SMALL
Definition: decode-events.h:127
STREAM_3WHS_ASYNC_WRONG_SEQ
@ STREAM_3WHS_ASYNC_WRONG_SEQ
Definition: decode-events.h:232
ICMPV6_EXPERIMENTATION_TYPE
@ ICMPV6_EXPERIMENTATION_TYPE
Definition: decode-events.h:65
STREAM_3WHS_SYN_TOCLIENT_ON_SYN_RECV
@ STREAM_3WHS_SYN_TOCLIENT_ON_SYN_RECV
Definition: decode-events.h:242
PPP_UNSUP_PROTO
@ PPP_UNSUP_PROTO
Definition: decode-events.h:124
MPLS_PKT_TOO_SMALL
@ MPLS_PKT_TOO_SMALL
Definition: decode-events.h:193
GRE_VERSION1_FLAGS
@ GRE_VERSION1_FLAGS
Definition: decode-events.h:142
STREAM_EST_SYN_RESEND_DIFF_SEQ
@ STREAM_EST_SYN_RESEND_DIFF_SEQ
Definition: decode-events.h:263
STREAM_FIN_BUT_NO_SESSION
@ STREAM_FIN_BUT_NO_SESSION
Definition: decode-events.h:274
STREAM_4WHS_WRONG_SEQ
@ STREAM_4WHS_WRONG_SEQ
Definition: decode-events.h:248
UDP_HLEN_INVALID
@ UDP_HLEN_INVALID
Definition: decode-events.h:108
GRE_VERSION1_RECUR
@ GRE_VERSION1_RECUR
Definition: decode-events.h:141
PPPVJU_PKT_TOO_SMALL
@ PPPVJU_PKT_TOO_SMALL
Definition: decode-events.h:120
STREAM_CLOSING_ACK_WRONG_SEQ
@ STREAM_CLOSING_ACK_WRONG_SEQ
Definition: decode-events.h:254
GRE_VERSION1_WRONG_PROTOCOL
@ GRE_VERSION1_WRONG_PROTOCOL
Definition: decode-events.h:144