Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

generators.h

Go to the documentation of this file.
00001 /* $Id$ */
00002 /*
00003 ** Copyright (C) 1998-2002 Martin Roesch <roesch@sourcefire.com>
00004 **
00005 ** This program is free software; you can redistribute it and/or modify
00006 ** it under the terms of the GNU General Public License as published by
00007 ** the Free Software Foundation; either version 2 of the License, or
00008 ** (at your option) any later version.
00009 **
00010 ** This program is distributed in the hope that it will be useful,
00011 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 ** GNU General Public License for more details.
00014 **
00015 ** You should have received a copy of the GNU General Public License
00016 ** along with this program; if not, write to the Free Software
00017 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00018 */
00019 
00020 #ifndef __GENERATORS_H__
00021 #define __GENERATORS_H__
00022 
00023 #define GENERATOR_SNORT_ENGINE        1
00024 
00025 #define GENERATOR_TAG                 2
00026 #define    TAG_LOG_PKT                1
00027 
00028 #define GENERATOR_SPP_PORTSCAN      100
00029 #define     PORTSCAN_SCAN_DETECT        1
00030 #define     PORTSCAN_INTER_INFO         2
00031 #define     PORTSCAN_SCAN_END           3
00032 
00033 #define GENERATOR_SPP_MINFRAG       101
00034 #define     MINFRAG_ALERT_ID            1
00035 
00036 #define GENERATOR_SPP_HTTP_DECODE   102
00037 #define     HTTP_DECODE_UNICODE_ATTACK  1
00038 #define     HTTP_DECODE_CGINULL_ATTACK  2
00039 #define     HTTP_DECODE_LARGE_METHOD    3
00040 #define     HTTP_DECODE_MISSING_URI     4
00041 #define     HTTP_DECODE_DOUBLE_ENC      5
00042 #define     HTTP_DECODE_ILLEGAL_HEX     6
00043 #define     HTTP_DECODE_OVERLONG_CHAR   7
00044 
00045 
00046 #define GENERATOR_SPP_DEFRAG        103
00047 #define     DEFRAG_FRAG_OVERFLOW        1
00048 #define     DEFRAG_FRAGS_DISCARDED      2
00049 
00050 #define GENERATOR_SPP_SPADE         104
00051 #define     SPADE_ANOM_THRESHOLD_EXCEEDED   1
00052 #define     SPADE_ANOM_THRESHOLD_ADJUSTED   2
00053 
00054 #define GENERATOR_SPP_BO            105
00055 #define     BO_TRAFFIC_DETECT           1
00056 #define     BO_CLIENT_TRAFFIC_DETECT    2
00057 #define     BO_SERVER_TRAFFIC_DETECT    3
00058 #define     BO_SNORT_BUFFER_ATTACK      4
00059 
00060 #define GENERATOR_SPP_RPC_DECODE    106
00061 #define     RPC_FRAG_TRAFFIC                1
00062 #define     RPC_MULTIPLE_RECORD             2
00063 #define     RPC_LARGE_FRAGSIZE              3
00064 #define     RPC_INCOMPLETE_SEGMENT          4
00065 #define     RPC_ZERO_LENGTH_FRAGMENT        5
00066 
00067 #define GENERATOR_SPP_STREAM2       107
00068 #define GENERATOR_SPP_STREAM3       108
00069 #define GENERATOR_SPP_TELNET_NEG    109
00070 
00071 #define GENERATOR_SPP_UNIDECODE     110
00072 #define     UNIDECODE_CGINULL_ATTACK        1
00073 #define     UNIDECODE_DIRECTORY_TRAVERSAL   2
00074 #define     UNIDECODE_UNKNOWN_MAPPING       3
00075 #define     UNIDECODE_INVALID_MAPPING       4
00076 
00077 #define GENERATOR_SPP_STREAM4       111
00078 #define     STREAM4_STEALTH_ACTIVITY            1
00079 #define     STREAM4_EVASIVE_RST                 2
00080 #define     STREAM4_EVASIVE_RETRANS             3
00081 #define     STREAM4_WINDOW_VIOLATION            4
00082 #define     STREAM4_DATA_ON_SYN                 5
00083 #define     STREAM4_STEALTH_FULL_XMAS           6
00084 #define     STREAM4_STEALTH_SAPU                7
00085 #define     STREAM4_STEALTH_FIN_SCAN            8
00086 #define     STREAM4_STEALTH_NULL_SCAN           9
00087 #define     STREAM4_STEALTH_NMAP_XMAS_SCAN      10
00088 #define     STREAM4_STEALTH_VECNA_SCAN          11
00089 #define     STREAM4_STEALTH_NMAP_FINGERPRINT    12
00090 #define     STREAM4_STEALTH_SYN_FIN_SCAN        13
00091 #define     STREAM4_FORWARD_OVERLAP             14
00092 #define     STREAM4_TTL_EVASION                 15
00093 #define     STREAM4_EVASIVE_RETRANS_DATA        16
00094 #define     STREAM4_EVASIVE_RETRANS_DATASPLIT   17
00095 #define     STREAM4_MULTIPLE_ACKED              18
00096 #define     STREAM4_EMERGENCY                   19
00097 #define     STREAM4_SUSPEND                     20
00098 #define     STREAM4_ZERO_TIMESTAMP              21
00099 #define     STREAM4_OVERLAP_LIMIT               22
00100 #define     STREAM4_TCP_NO_ACK                  23
00101 
00102 #define GENERATOR_SPP_ARPSPOOF      112
00103 #define     ARPSPOOF_UNICAST_ARP_REQUEST         1
00104 #define     ARPSPOOF_ETHERFRAME_ARP_MISMATCH_SRC  2
00105 #define     ARPSPOOF_ETHERFRAME_ARP_MISMATCH_DST  3
00106 #define     ARPSPOOF_ARP_CACHE_OVERWRITE_ATTACK   4
00107 
00108 #define GENERATOR_SPP_FRAG2         113
00109 #define     FRAG2_OVERSIZE_FRAG                   1
00110 #define     FRAG2_TEARDROP                        2
00111 #define     FRAG2_TTL_EVASION                     3
00112 #define     FRAG2_OVERLAP                         4
00113 #define     FRAG2_DUPFIRST                        5
00114 #define     FRAG2_MEM_EXCEED                      6
00115 #define     FRAG2_OUTOFORDER                      7
00116 #define     FRAG2_IPOPTIONS                       8
00117 #define     FRAG2_EMERGENCY                       9
00118 #define     FRAG2_SUSPEND                         10
00119 
00120 #define GENERATOR_SPP_FNORD         114
00121 #define     FNORD_NOPSLED                         1
00122 
00123 #define GENERATOR_SPP_ASN1          115
00124 #define     ASN1_INDEFINITE_LENGTH                1
00125 #define     ASN1_INVALID_LENGTH                   2
00126 #define     ASN1_OVERSIZED_ITEM                   3
00127 #define     ASN1_SPEC_VIOLATION                   4
00128 #define     ASN1_DATUM_BAD_LENGTH                 5
00129 
00130 
00131 #define GENERATOR_SNORT_DECODE      116
00132 #define     DECODE_NOT_IPV4_DGRAM                 1
00133 #define     DECODE_IPV4_INVALID_HEADER_LEN        2
00134 #define     DECODE_IPV4_DGRAM_LT_IPHDR            3
00135 #define     DECODE_IPV4OPT_BADLEN                 4
00136 #define     DECODE_IPV4OPT_TRUNCATED              5
00137 
00138 #define     DECODE_TCP_DGRAM_LT_TCPHDR            45
00139 #define     DECODE_TCP_INVALID_OFFSET             46
00140 #define     DECODE_TCP_LARGE_OFFSET               47
00141 
00142 #define     DECODE_TCPOPT_BADLEN                  54
00143 #define     DECODE_TCPOPT_TRUNCATED               55
00144 #define     DECODE_TCPOPT_TTCP                    56
00145 #define     DECODE_TCPOPT_OBSOLETE                57
00146 #define     DECODE_TCPOPT_EXPERIMENT              58
00147 
00148 #define     DECODE_UDP_DGRAM_LT_UDPHDR            95
00149 #define     DECODE_UDP_DGRAM_INVALID_LENGTH       96
00150 #define     DECODE_UDP_DGRAM_SHORT_PACKET         97
00151 
00152 #define     DECODE_ICMP_DGRAM_LT_ICMPHDR          105
00153 #define     DECODE_ICMP_DGRAM_LT_TIMESTAMPHDR     106
00154 #define     DECODE_ICMP_DGRAM_LT_ADDRHDR          107
00155 #define     DECODE_IPV4_DGRAM_UNKNOWN             108
00156 
00157 #define     DECODE_ARP_TRUNCATED                  109
00158 #define     DECODE_EAPOL_TRUNCATED                110
00159 #define     DECODE_EAPKEY_TRUNCATED               111
00160 #define     DECODE_EAP_TRUNCATED                  112
00161 
00162 #define     DECODE_BAD_PPPOE                      120
00163 #define     DECODE_BAD_VLAN                       130
00164 #define     DECODE_BAD_VLAN_ETHLLC                131
00165 #define     DECODE_BAD_VLAN_OTHER                 132
00166 #define     DECODE_BAD_80211_ETHLLC               133 
00167 #define     DECODE_BAD_80211_OTHER                134
00168 
00169 #define     DECODE_BAD_TRH                        140
00170 #define     DECODE_BAD_TR_ETHLLC                  141
00171 #define     DECODE_BAD_TR_MR_LEN                  142
00172 #define     DECODE_BAD_TRHMR                      143
00173 
00174 #define     DECODE_BAD_TRAFFIC_LOOPBACK           150 
00175 #define     DECODE_BAD_TRAFFIC_SAME_SRCDST        151 
00176 
00177 #define GENERATOR_SPP_SCAN2         117
00178 #define     SCAN_TYPE                             1
00179 
00180 #define GENERATOR_SPP_CONV         118
00181 #define     CONV_BAD_IP_PROTOCOL                            1
00182 
00183 /*
00184 **  HttpInspect Generator IDs
00185 **
00186 **  IMPORTANT::
00187 **    Whenever events are added to the internal HttpInspect
00188 **    event queue, you must also add the event here.  The
00189 **    trick is that whatever the number is in HttpInspect,
00190 **    it must be +1 when you define it here.
00191 */
00192 #define GENERATOR_SPP_HTTP_INSPECT_CLIENT           119
00193 #define     HI_CLIENT_ASCII                         1   /* done */
00194 #define     HI_CLIENT_DOUBLE_DECODE                 2   /* done */
00195 #define     HI_CLIENT_U_ENCODE                      3   /* done */
00196 #define     HI_CLIENT_BARE_BYTE                     4   /* done */
00197 #define     HI_CLIENT_BASE36                        5   /* done */
00198 #define     HI_CLIENT_UTF_8                         6   /* done */
00199 #define     HI_CLIENT_IIS_UNICODE                   7   /* done */
00200 #define     HI_CLIENT_MULTI_SLASH                   8   /* done */
00201 #define     HI_CLIENT_IIS_BACKSLASH                 9   /* done */
00202 #define     HI_CLIENT_SELF_DIR_TRAV                 10  /* done */
00203 #define     HI_CLIENT_DIR_TRAV                      11  /* done */
00204 #define     HI_CLIENT_APACHE_WS                     12  /* done */
00205 #define     HI_CLIENT_IIS_DELIMITER                 13  /* done */
00206 #define     HI_CLIENT_NON_RFC_CHAR                  14  /* done */
00207 #define     HI_CLIENT_OVERSIZE_DIR                  15  /* done */
00208 #define     HI_CLIENT_LARGE_CHUNK                   16  /* done */
00209 #define     HI_CLIENT_PROXY_USE                     17  /* done */
00210 #define     HI_CLIENT_WEBROOT_DIR                   18  /* done */
00211 
00212 #define GENERATOR_SPP_HTTP_INSPECT_ANOM_SERVER      120
00213 #define     HI_ANOM_SERVER_ALERT                    1   /* done */
00214 
00215 #define GENERATOR_FLOW_PORTSCAN                     121
00216 #define     FLOW_SCANNER_FIXED_ALERT                 1
00217 #define     FLOW_SCANNER_SLIDING_ALERT               2
00218 #define     FLOW_TALKER_FIXED_ALERT                  3
00219 #define     FLOW_TALKER_SLIDING_ALERT                4
00220 
00221 #define GENERATOR_PSNG                             122
00222 #define     PSNG_TCP_PORTSCAN                      1
00223 #define     PSNG_TCP_DECOY_PORTSCAN                2
00224 #define     PSNG_TCP_PORTSWEEP                     3
00225 #define     PSNG_TCP_DISTRIBUTED_PORTSCAN          4
00226 #define     PSNG_TCP_FILTERED_PORTSCAN             5
00227 #define     PSNG_TCP_FILTERED_DECOY_PORTSCAN       6
00228 #define     PSNG_TCP_PORTSWEEP_FILTERED            7
00229 #define     PSNG_TCP_FILTERED_DISTRIBUTED_PORTSCAN 8
00230 
00231 #define     PSNG_IP_PORTSCAN                       9
00232 #define     PSNG_IP_DECOY_PORTSCAN                 10
00233 #define     PSNG_IP_PORTSWEEP                      11
00234 #define     PSNG_IP_DISTRIBUTED_PORTSCAN           12
00235 #define     PSNG_IP_FILTERED_PORTSCAN              13
00236 #define     PSNG_IP_FILTERED_DECOY_PORTSCAN        14
00237 #define     PSNG_IP_PORTSWEEP_FILTERED             15
00238 #define     PSNG_IP_FILTERED_DISTRIBUTED_PORTSCAN  16
00239 
00240 #define     PSNG_UDP_PORTSCAN                      17
00241 #define     PSNG_UDP_DECOY_PORTSCAN                18
00242 #define     PSNG_UDP_PORTSWEEP                     19
00243 #define     PSNG_UDP_DISTRIBUTED_PORTSCAN          20
00244 #define     PSNG_UDP_FILTERED_PORTSCAN             21
00245 #define     PSNG_UDP_FILTERED_DECOY_PORTSCAN       22
00246 #define     PSNG_UDP_PORTSWEEP_FILTERED            23
00247 #define     PSNG_UDP_FILTERED_DISTRIBUTED_PORTSCAN 24
00248 
00249 #define     PSNG_ICMP_PORTSWEEP                    25
00250 #define     PSNG_ICMP_PORTSWEEP_FILTERED           26
00251 
00252 #define     PSNG_OPEN_PORT                         27
00253 
00254 #define GENERATOR_SPP_CLAMAV                       123
00255 #define     CLAMAV_VIRUSFOUND                       1
00256 
00257 #define GENERATOR_SMTP                             124
00258 
00259 /*  This is where all the alert messages will be archived for each
00260     internal alerts */
00261 
00262 #define ARPSPOOF_UNICAST_ARP_REQUEST_STR "(spp_arpspoof) Unicast ARP request"
00263 #define ARPSPOOF_ETHERFRAME_ARP_MISMATCH_SRC_STR \
00264 "(spp_arpspoof) Ethernet/ARP Mismatch request for Source"
00265 #define ARPSPOOF_ETHERFRAME_ARP_MISMATCH_DST_STR \
00266 "(spp_arpspoof) Ethernet/ARP Mismatch request for Destination"
00267 #define ARPSPOOF_ARP_CACHE_OVERWRITE_ATTACK_STR \
00268 "(spp_arpspoof) Attempted ARP cache overwrite attack"
00269 
00270 #define ASN1_INDEFINITE_LENGTH_STR "(spp_asn1) Indefinite ASN.1 length encoding"
00271 #define ASN1_INVALID_LENGTH_STR "(spp_asn1) Invalid ASN.1 length encoding"
00272 #define ASN1_OVERSIZED_ITEM_STR "(spp_asn1) ASN.1 oversized item, possible overflow"
00273 #define ASN1_SPEC_VIOLATION_STR  "(spp_asn1) ASN.1 spec violation, possible overflow"
00274 #define ASN1_DATUM_BAD_LENGTH_STR "(spp_asn1) ASN.1 Attack: Datum length > packet length"
00275 
00276 #define BO_TRAFFIC_DETECT_STR "(spo_bo) Back Orifice Traffic detected"
00277 #define BO_CLIENT_TRAFFIC_DETECT_STR "(spo_bo) Back Orifice Client Traffic detected"
00278 #define BO_SERVER_TRAFFIC_DETECT_STR "(spo_bo) Back Orifice Server Traffic detected"
00279 #define BO_SNORT_BUFFER_ATTACK_STR "(spo_bo) Back Orifice Snort buffer attack"
00280 
00281 #define FNORD_NOPSLED_IA32_STR "(spp_fnord) Possible Mutated IA32 NOP Sled detected"
00282 #define FNORD_NOPSLED_HPPA_STR "(spp_fnord) Possible Mutated HPPA NOP Sled detected"
00283 #define FNORD_NOPSLED_SPARC_STR "(spp_fnord) Possible Mutated SPARC NOP Sled detected"
00284 
00285 #define FRAG2_DUPFIRST_STR "(spp_frag2) Duplicate first fragments"
00286 #define FRAG2_IPOPTIONS_STR "(spp_frag2) IP Options on Fragmented Packet"
00287 #define FRAG2_OUTOFORDER_STR "(spp_frag2) Out of order fragments" 
00288 #define FRAG2_OVERLAP_STR "(spp_frag2) Overlapping new fragment (probable fragroute)"
00289 #define FRAG2_OVERSIZE_FRAG_STR "(spp_frag2) Oversized fragment, probable DoS"
00290 #define FRAG2_TEARDROP_STR "(spp_frag2) Teardrop attack"
00291 #define FRAG2_TTL_EVASION_STR "(spp_frag2) TTL Limit Exceeded (reassemble) detection"
00292 #define FRAG2_EMERGENCY_STR "(spp_frag2) Shifting to Emergency Session Mode"
00293 #define FRAG2_SUSPEND_STR "(spp_frag2) Shifting to Suspend Mode"
00294 
00295 #define GENERATOR_SPP_FRAG3                         123
00296 #define     FRAG3_IPOPTIONS                          1
00297 #define     FRAG3_TEARDROP                           2
00298 #define     FRAG3_SHORT_FRAG                         3
00299 #define     FRAG3_ANOMALY_OVERSIZE                   4
00300 #define     FRAG3_ANOMALY_ZERO                       5
00301 #define     FRAG3_ANOMALY_BADSIZE_SM                 6
00302 #define     FRAG3_ANOMALY_BADSIZE_LG                 7
00303 #define     FRAG3_ANOMALY_OVLP                       8
00304 
00305 
00306 
00307 /*  spp_http_decode strings */
00308 #define HTTP_DECODE_LARGE_METHOD_STR "(spp_http_decode) A large HTTP method was received"
00309 #define HTTP_DECODE_MISSING_URI_STR "(spp_http_decode) HTTP request without URI"
00310 #define HTTP_DECODE_DOUBLE_ENC_STR  "(spp_http_decode) Double Hex Encoding Received"
00311 #define HTTP_DECODE_ILLEGAL_HEX_STR "(spp_http_decode) Illegal URL hex encoding"
00312 #define HTTP_DECODE_OVERLONG_CHAR_STR "(spp_http_decode) Overlong Unicode character received"
00313 
00314 
00315 /*  spp_stream4 strings */
00316 #define STREAM4_MULTIPLE_ACKED_STR "(spp_stream4) Multiple Acked Packets (possible fragroute)"
00317 #define STREAM4_DATA_ON_SYN_STR  "(spp_stream4) DATA ON SYN detection"
00318 #define STREAM4_STEALTH_NMAP_FINGERPRINT_STR "(spp_stream4) NMAP FINGERPRINT (stateful) detection"
00319 #define STREAM4_STEALTH_FULL_XMAS_STR "(spp_stream4) STEALTH ACTIVITY (Full XMAS scan) detection"
00320 #define STREAM4_STEALTH_SAPU_STR "(spp_stream4) STEALTH ACTIVITY (SAPU scan) detection"
00321 #define STREAM4_STEALTH_FIN_SCAN_STR "(spp_stream4) STEALTH ACTIVITY (FIN scan) detection"
00322 #define STREAM4_STEALTH_SYN_FIN_SCAN_STR "(spp_stream4) STEALTH ACTIVITY (SYN FIN scan) detection"
00323 #define STREAM4_STEALTH_NULL_SCAN_STR "(spp_stream4) STEALTH ACTIVITY (NULL scan) detection"
00324 #define STREAM4_STEALTH_NMAP_XMAS_SCAN_STR "(spp_stream4) STEALTH ACTIVITY (XMAS scan) detection"
00325 #define STREAM4_STEALTH_VECNA_SCAN_STR "(spp_stream4) STEALTH ACTIVITY (Vecna scan) detection"
00326 #define STREAM4_STEALTH_ACTIVITY_STR "(spp_stream4) STEALTH ACTIVITY (unknown) detection"
00327 #define STREAM4_EVASIVE_RST_STR "(spp_stream4) possible EVASIVE RST detection"
00328 #define STREAM4_TTL_EVASION_STR "(spp_stream4) TTL LIMIT Exceeded"
00329 #define STREAM4_EVASIVE_RETRANS_STR "(spp_stream4) Possible RETRANSMISSION detection"
00330 #define STREAM4_WINDOW_VIOLATION_STR "(spp_stream4) WINDOW VIOLATION detection"
00331 #define STREAM4_EVASIVE_RETRANS_DATA_STR \
00332  "(spp_stream4) TCP CHECKSUM CHANGED ON RETRANSMISSION (possible fragroute) detection"
00333 #define STREAM4_FORWARD_OVERLAP_STR "(spp_stream4) FORWARD OVERLAP detection"
00334 #define STREAM4_EVASIVE_RETRANS_DATASPLIT_STR \
00335 "(spp_stream4) TCP TOO FAST RETRANSMISSION WITH DIFFERENT DATA SIZE (possible fragroute) detection"
00336 #define STREAM4_EMERGENCY_STR "(spp_stream4) Shifting to Emergency Session Mode"
00337 #define STREAM4_SUSPEND_STR "(spp_stream4) Shifting to Suspend Mode"
00338 #define STREAM4_ZERO_TIMESTAMP_STR "(spp_stream4) TCP Option Timestamp value of 0"
00339 #define STREAM4_OVERLAP_LIMIT_STR "(spp_stream4) TCP stream too many overlapping packets"
00340 #define STREAM4_TCP_NO_ACK_STR "(spp_stream4) Packet in Established TCP stream missing ACK"
00341 
00342 /*   FRAG3 strings */
00343 #define FRAG3_IPOPTIONS_STR "(spp_frag3) Inconsistent IP Options on Fragmented Packets"
00344 #define FRAG3_TEARDROP_STR "(spp_frag3) Teardrop attack"
00345 #define FRAG3_SHORT_FRAG_STR "(spp_frag3) Short fragment, possible DoS attempt"
00346 #define FRAG3_ANOM_OVERSIZE_STR "(spp_frag3) Fragment packet ends after defragmented packet"
00347 #define FRAG3_ANOM_ZERO_STR "(spp_frag3) Zero-byte fragment packet"
00348 #define FRAG3_ANOM_BADSIZE_SM_STR "(spp_frag3) Bad fragment size, packet size is negative"
00349 #define FRAG3_ANOM_BADSIZE_LG_STR "(spp_frag3) Bad fragment size, packet size is greater than 65536"
00350 #define FRAG3_ANOM_OVLP_STR "(spp_frag3) Fragmentation overlap"
00351 
00352 /*   Snort decoder strings */
00353 #define DECODE_NOT_IPV4_DGRAM_STR "(snort_decoder) WARNING: Not IPv4 datagram!"
00354 #define DECODE_IPV4_INVALID_HEADER_LEN_STR "(snort_decoder) WARNING: hlen < IP_HEADER_LEN!"
00355 #define DECODE_IPV4_DGRAM_LT_IPHDR_STR "(snort_decoder) WARNING: IP dgm len < IP Hdr len!"
00356 #define DECODE_IPV4OPT_BADLEN_STR      "(snort_decoder): Ipv4 Options found with bad lengths"
00357 #define DECODE_IPV4OPT_TRUNCATED_STR   "(snort_decoder): Truncated Ipv4 Options"
00358 
00359 #define DECODE_TCP_DGRAM_LT_TCPHDR_STR "(snort_decoder) TCP packet len is smaller than 20 bytes!"
00360 #define DECODE_TCP_INVALID_OFFSET_STR "(snort_decoder) WARNING: TCP Data Offset is less than 5!"
00361 #define DECODE_TCP_LARGE_OFFSET_STR "(snort_decoder) WARNING: TCP Header length exceeds packet length!"
00362 
00363 #define DECODE_TCPOPT_BADLEN_STR      "(snort_decoder): Tcp Options found with bad lengths"
00364 #define DECODE_TCPOPT_TRUNCATED_STR   "(snort_decoder): Truncated Tcp Options"
00365 #define DECODE_TCPOPT_TTCP_STR        "(snort_decoder): T/TCP Detected"
00366 #define DECODE_TCPOPT_OBSOLETE_STR    "(snort_decoder): Obsolete TCP Options found"
00367 #define DECODE_TCPOPT_EXPERIMENT_STR  "(snort_decoder): Experimental Tcp Options found"
00368 
00369 
00370 
00371 #define DECODE_UDP_DGRAM_LT_UDPHDR_STR "(snort_decoder) WARNING: Truncated UDP Header!"
00372 #define DECODE_UDP_DGRAM_INVALID_LENGTH_STR "(snort_decoder): Invalid UDP header, length field < 8"
00373 #define DECODE_UDP_DGRAM_SHORT_PACKET_STR "(snort_decoder): Short UDP packet, length field > payload length"
00374 
00375 #define DECODE_ICMP_DGRAM_LT_ICMPHDR_STR "(snort_decoder) WARNING: ICMP Header Truncated!"
00376 #define DECODE_ICMP_DGRAM_LT_TIMESTAMPHDR_STR "(snort_decoder) WARNING: ICMP Timestamp Header Truncated!"
00377 #define DECODE_ICMP_DGRAM_LT_ADDRHDR_STR "(snort_decoder) WARNING: ICMP Address Header Truncated!"
00378 #define DECODE_IPV4_DGRAM_UNKNOWN_STR "(snort_decoder) Unknown Datagram decoding problem!"
00379 #define DECODE_ARP_TRUNCATED_STR "(snort_decoder) WARNING: Truncated ARP!"
00380 #define DECODE_EAPOL_TRUNCATED_STR "(snort_decoder) WARNING: Truncated EAP Header!"
00381 #define DECODE_EAPKEY_TRUNCATED_STR "(snort_decoder) WARNING: EAP Key Truncated!"
00382 #define DECODE_EAP_TRUNCATED_STR "(snort_decoder) WARNING: EAP Header Truncated!"
00383 #define DECODE_BAD_PPPOE_STR "(snort_decoder) WARNING: Bad PPPOE frame detected!"
00384 #define DECODE_BAD_VLAN_STR "(snort_decoder) WARNING: Bad VLAN Frame!"
00385 #define DECODE_BAD_VLAN_ETHLLC_STR "(snort_decoder) WARNING: Bad LLC header!"
00386 #define DECODE_BAD_VLAN_OTHER_STR "(snort_decoder) WARNING: Bad Extra LLC Info!"
00387 #define DECODE_BAD_80211_ETHLLC_STR "(snort_decoder) WARNING: Bad 802.11 LLC header!"
00388 #define DECODE_BAD_80211_OTHER_STR "(snort_decoder) WARNING: Bad 802.11 Extra LLC Info!"
00389 
00390 #define DECODE_BAD_TRH_STR "(snort_decoder) WARNING: Bad Token Ring Header!"
00391 #define DECODE_BAD_TR_ETHLLC_STR "(snort_decoder) WARNING: Bad Token Ring ETHLLC Header!"
00392 #define DECODE_BAD_TR_MR_LEN_STR "(snort_decoder) WARNING: Bad Token Ring MRLENHeader!"
00393 #define DECODE_BAD_TRHMR_STR "(snort_decoder) WARNING: Bad Token Ring MR Header!"
00394 
00395 
00396 #define     DECODE_BAD_TRAFFIC_LOOPBACK_STR     "(snort decoder) Bad Traffic Loopback IP"      
00397 #define     DECODE_BAD_TRAFFIC_SAME_SRCDST_STR  "(snort decoder) Bad Traffic Same Src/Dst IP"      
00398 
00399 /*  Portscan2 strings */
00400 #define SCAN2_PREFIX_STR "(spp_portscan2) Portscan detected from "
00401 
00402 /*  spp_conversation strings */
00403 #define CONV_BAD_IP_PROTOCOL_STR "(spp_conversation) Bad IP protocol!"
00404 
00405 /*  RPC decode preprocessor strings */
00406 #define RPC_FRAG_TRAFFIC_STR "(spp_rpc_decode) Fragmented RPC Records"
00407 #define RPC_MULTIPLE_RECORD_STR "(spp_rpc_decode) Multiple RPC Records"
00408 #define RPC_LARGE_FRAGSIZE_STR  "(spp_rpc_decode) Large RPC Record Fragment"
00409 #define RPC_INCOMPLETE_SEGMENT_STR "(spp_rpc_decode) Incomplete RPC segment"
00410 #define RPC_ZERO_LENGTH_FRAGMENT_STR "(spp_rpc_decode) Zero-length RPC Fragment"
00411 
00412 
00413 #define PSNG_TCP_PORTSCAN_STR "(portscan) TCP Portscan"
00414 #define PSNG_TCP_DECOY_PORTSCAN_STR "(portscan) TCP Decoy Portscan"
00415 #define PSNG_TCP_PORTSWEEP_STR "(portscan) TCP Portsweep"
00416 #define PSNG_TCP_DISTRIBUTED_PORTSCAN_STR "(portscan) TCP Distributed Portscan"
00417 #define PSNG_TCP_FILTERED_PORTSCAN_STR "(portscan) TCP Filtered Portscan"
00418 #define PSNG_TCP_FILTERED_DECOY_PORTSCAN_STR "(portscan) TCP Filtered Decoy Portscan"
00419 #define PSNG_TCP_FILTERED_DISTRIBUTED_PORTSCAN_STR "(portscan) TCP Filtered Distributed Portscan"
00420 #define PSNG_TCP_PORTSWEEP_FILTERED_STR "(portscan) TCP Filtered Portsweep"
00421 
00422 #define PSNG_IP_PORTSCAN_STR "(portscan) IP Protocol Scan"
00423 #define PSNG_IP_DECOY_PORTSCAN_STR "(portscan) IP Decoy Protocol Scan"
00424 #define PSNG_IP_PORTSWEEP_STR "(portscan) IP Protocol Sweep"
00425 #define PSNG_IP_DISTRIBUTED_PORTSCAN_STR "(portscan) IP Distributed Protocol Scan"
00426 #define PSNG_IP_FILTERED_PORTSCAN_STR "(portscan) IP Filtered Protocol Scan"
00427 #define PSNG_IP_FILTERED_DECOY_PORTSCAN_STR "(portscan) IP Filtered Decoy Protocol Scan"
00428 #define PSNG_IP_FILTERED_DISTRIBUTED_PORTSCAN_STR "(portscan) IP Filtered Distributed Protocol Scan"
00429 #define PSNG_IP_PORTSWEEP_FILTERED_STR "(portscan) IP Filtered Protocol Sweep"
00430 
00431 #define PSNG_UDP_PORTSCAN_STR "(portscan) UDP Portscan"
00432 #define PSNG_UDP_DECOY_PORTSCAN_STR "(portscan) UDP Decoy Portscan"
00433 #define PSNG_UDP_PORTSWEEP_STR "(portscan) UDP Portsweep"
00434 #define PSNG_UDP_DISTRIBUTED_PORTSCAN_STR "(portscan) UDP Distributed Portscan"
00435 #define PSNG_UDP_FILTERED_PORTSCAN_STR "(portscan) UDP Filtered Portscan"
00436 #define PSNG_UDP_FILTERED_DECOY_PORTSCAN_STR "(portscan) UDP Filtered Decoy Portscan"
00437 #define PSNG_UDP_FILTERED_DISTRIBUTED_PORTSCAN_STR "(portscan) UDP Filtered Distributed Portscan"
00438 #define PSNG_UDP_PORTSWEEP_FILTERED_STR "(portscan) UDP Filtered Portsweep"
00439 
00440 #define PSNG_ICMP_PORTSWEEP_STR "(portscan) ICMP Sweep"
00441 #define PSNG_ICMP_PORTSWEEP_FILTERED_STR "(portscan) ICMP Filtered Sweep"
00442 
00443 #define PSNG_OPEN_PORT_STR "(portscan) Open Port"
00444 
00445 #define CLAMAV_VIRUSFOUND_STR "(spp_clamav) Virus Found:"
00446 
00447 #endif /* __GENERATORS_H__ */

Generated on Sun May 14 14:51:13 2006 by  doxygen 1.4.2