projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dodan override za lintian
[ossec-hids.git]
/
src
/
analysisd
/
config.c
diff --git
a/src/analysisd/config.c
b/src/analysisd/config.c
index
132dce7
..
5302995
100755
(executable)
--- a/
src/analysisd/config.c
+++ b/
src/analysisd/config.c
@@
-1,4
+1,5
@@
-/* @(#) $Id$ */
+/* @(#) $Id: ./src/analysisd/config.c, 2011/09/08 dcid Exp $
+ */
/* Copyright (C) 2009 Trend Micro Inc.
* All rights reserved.
/* Copyright (C) 2009 Trend Micro Inc.
* All rights reserved.
@@
-8,7
+9,7
@@
* License (version 2) as published by the FSF - Free Software
* Foundation.
*
* License (version 2) as published by the FSF - Free Software
* Foundation.
*
- * License details at the LICENSE file included with OSSEC or
+ * License details at the LICENSE file included with OSSEC or
* online at: http://www.ossec.net/en/licensing.html
*/
* online at: http://www.ossec.net/en/licensing.html
*/
@@
-42,6
+43,8
@@
int GlobalConf(char * cfgfile)
Config.hostinfo = 8;
Config.picviz = 0;
Config.prelude = 0;
Config.hostinfo = 8;
Config.picviz = 0;
Config.prelude = 0;
+ Config.zeromq_output = 0;
+ Config.zeromq_output_uri = NULL;
Config.memorysize = 1024;
Config.mailnotify = -1;
Config.keeplogdate = 0;
Config.memorysize = 1024;
Config.mailnotify = -1;
Config.keeplogdate = 0;
@@
-52,11
+55,14
@@
int GlobalConf(char * cfgfile)
Config.syscheck_ignore = NULL;
Config.white_list = NULL;
Config.hostname_white_list = NULL;
Config.syscheck_ignore = NULL;
Config.white_list = NULL;
Config.hostname_white_list = NULL;
-
+
/* Default actions -- only log above level 1 */
Config.mailbylevel = 7;
Config.logbylevel = 1;
/* Default actions -- only log above level 1 */
Config.mailbylevel = 7;
Config.logbylevel = 1;
+ Config.custom_alert_output =0;
+ Config.custom_alert_output_format = NULL;
+
Config.includes = NULL;
Config.lists = NULL;
Config.decoders = NULL;
Config.includes = NULL;
Config.lists = NULL;
Config.decoders = NULL;
@@
-75,7
+81,7
@@
int GlobalConf(char * cfgfile)
/* Minimum memory size */
if(Config.memorysize < 64)
Config.memorysize = 64;
/* Minimum memory size */
if(Config.memorysize < 64)
Config.memorysize = 64;
-
+
return(0);
}
return(0);
}