suricata
alert-unified2-alert.h
Go to the documentation of this file.
1 /* Copyright (C) 2007-2014 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  * \author Breno Silva <breno.silva@gmail.com>
21  */
22 
23 #ifndef __ALERT_UNIFIED2_ALERT_H__
24 #define __ALERT_UNIFIED2_ALERT_H__
25 
26 /** Unified2 Option packet action */
27 #define UNIFIED2_PACKET_FLAG 1
28 #define UNIFIED2_BLOCKED_FLAG 0x20
29 
30 /** Unified2 Header Types */
31 #define UNIFIED2_EVENT_TYPE 1
32 #define UNIFIED2_PACKET_TYPE 2
33 #define UNIFIED2_IDS_EVENT_TYPE 7
34 #define UNIFIED2_EVENT_EXTENDED_TYPE 66
35 #define UNIFIED2_PERFORMANCE_TYPE 67
36 #define UNIFIED2_PORTSCAN_TYPE 68
37 #define UNIFIED2_IDS_EVENT_IPV6_TYPE 72
38 #define UNIFIED2_IDS_EVENT_MPLS_TYPE 99
39 #define UNIFIED2_IDS_EVENT_IPV6_MPLS_TYPE 100
40 #define UNIFIED2_IDS_EVENT_EXTRADATA_TYPE 110
41 #define UNIFIED2_EXTRADATA_CLIENT_IPV4_TYPE 1
42 #define UNIFIED2_EXTRADATA_CLIENT_IPV6_TYPE 2
43 #define UNIFIED2_EXTRADATA_TYPE_BLOB 1
44 #define UNIFIED2_EXTRADATA_TYPE_EXTRA_DATA 4
45 
46 void Unified2AlertRegister(void);
48 
49 #endif /* __ALERT_UNIFIED2_ALERT_H__ */
50 
void Unified2AlertRegister(void)
OutputInitResult Unified2AlertInitCtx(ConfNode *)
Create a new LogFileCtx from the provided ConfNode.
Definition: conf.h:32