projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
novi upstream verzije 2.8.3
[ossec-hids.git]
/
src
/
config
/
global-config.h
diff --git
a/src/config/global-config.h
b/src/config/global-config.h
index
57dcf6b
..
dc5b783
100755
(executable)
--- a/
src/config/global-config.h
+++ b/
src/config/global-config.h
@@
-1,4
+1,5
@@
-/* @(#) $Id$ */
+/* @(#) $Id: ./src/config/global-config.h, 2011/09/08 dcid Exp $
+ */
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
@@
-9,7
+10,7
@@
* Foundation
*/
* Foundation
*/
-
+
#ifndef _CCONFIG__H
#define _CCONFIG__H
#ifndef _CCONFIG__H
#define _CCONFIG__H
@@
-29,7
+30,7
@@
typedef struct __Config
u_int8_t mailbylevel;
u_int8_t logbylevel;
u_int8_t logfw;
u_int8_t mailbylevel;
u_int8_t logbylevel;
u_int8_t logfw;
-
+
/* Prelude support */
u_int8_t prelude;
/* which min. level the alert must be sent to prelude */
/* Prelude support */
u_int8_t prelude;
/* which min. level the alert must be sent to prelude */
@@
-37,6
+38,10
@@
typedef struct __Config
/* prelude profile name */
char *prelude_profile;
/* prelude profile name */
char *prelude_profile;
+ /* ZEROMQ Export */
+ u_int8_t zeromq_output;
+ char *zeromq_output_uri;
+
/* Picviz support */
u_int8_t picviz;
char *picviz_socket;
/* Picviz support */
u_int8_t picviz;
char *picviz_socket;
@@
-46,14
+51,18
@@
typedef struct __Config
/* Mail alerting */
short int mailnotify;
/* Mail alerting */
short int mailnotify;
-
- /* For the active response */
+
+ /* Custom Alert output*/
+ short int custom_alert_output;
+ char * custom_alert_output_format;
+
+ /* For the active response */
int ar;
int ar;
-
+
/* For the correlation */
int memorysize;
/* For the correlation */
int memorysize;
-
- /* List of files to ignore (syscheck) */
+
+ /* List of files to ignore (syscheck) */
char **syscheck_ignore;
/* List of ips to never block */
char **syscheck_ignore;
/* List of ips to never block */
@@
-74,6
+83,13
@@
typedef struct __Config
/* Global rule hash. */
void *g_rules_hash;
/* Global rule hash. */
void *g_rules_hash;
+#ifdef GEOIP
+ /* GeoIP support */
+ u_int8_t loggeoip;
+ char *geoip_db_path;
+ char *geoip6_db_path;
+#endif
+
}_Config;
}_Config;