1 /* $Id$ */ 2 /**************************************************************************** 3 * 4 * Copyright (C) 2014-2021 Cisco and/or its affiliates. All rights reserved. 5 * Copyright (C) 2003-2013 Sourcefire, Inc. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License Version 2 as 9 * published by the Free Software Foundation. You may not use, modify or 10 * distribute this program under any other version of the GNU General 11 * Public License. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 * 22 ****************************************************************************/ 23 24 /* 25 Purpose: Enumerate all the various detection plugins entries for 26 otn->ds_list[] 27 28 No more grepping to make your own plugin! 29 */ 30 31 #ifndef _PLUGIN_ENUM_H 32 #define _PLUGIN_ENUM_H 33 34 enum { 35 PLUGIN_CLIENTSERVER, 36 PLUGIN_DSIZE_CHECK, 37 PLUGIN_FRAG_BITS, 38 PLUGIN_FRAG_OFFSET, 39 PLUGIN_ICMP_CODE, 40 PLUGIN_ICMP_ID_CHECK, 41 PLUGIN_ICMP_SEQ_CHECK, 42 PLUGIN_ICMP_TYPE, 43 PLUGIN_IPOPTION_CHECK, 44 PLUGIN_IP_ID_CHECK, 45 PLUGIN_IP_PROTO_CHECK, 46 PLUGIN_IP_SAME_CHECK, 47 PLUGIN_IP_TOS_CHECK, 48 PLUGIN_PATTERN_MATCH, /* AND match */ 49 PLUGIN_PATTERN_MATCH_OR, 50 PLUGIN_PATTERN_MATCH_URI, 51 PLUGIN_RESPONSE, 52 PLUGIN_RPC_CHECK, 53 PLUGIN_SESSION, 54 PLUGIN_TCP_ACK_CHECK, 55 PLUGIN_TCP_FLAG_CHECK, 56 PLUGIN_TCP_SEQ_CHECK, 57 PLUGIN_TCP_WIN_CHECK, 58 PLUGIN_TTL_CHECK, 59 PLUGIN_BYTE_TEST, 60 PLUGIN_PCRE, 61 PLUGIN_URILEN_CHECK, 62 PLUGIN_DYNAMIC, 63 PLUGIN_FLOWBIT, 64 PLUGIN_FILE_DATA, 65 PLUGIN_BASE64_DECODE, 66 #if defined(FEAT_OPEN_APPID) 67 PLUGIN_APPID, 68 #endif /* defined(FEAT_OPEN_APPID) */ 69 PLUGIN_MAX /* sentinel value */ 70 }; 71 72 #endif /* _PLUGIN_ENUM_H */ 73 74