X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fanalysisd%2Fconfig.c;h=5302995971926fb2efeb2c16d9da27e1fe013bb4;hb=789cbc8e52da68eba3517b920ef22e000cf3c9fd;hp=132dce73108176ea94e4fb1fa47c0a25fe1c9de2;hpb=301048b51990573e58a30dc4a5bb4ec285cad554;p=ossec-hids.git diff --git a/src/analysisd/config.c b/src/analysisd/config.c index 132dce7..5302995 100755 --- 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. @@ -8,7 +9,7 @@ * 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 */ @@ -42,6 +43,8 @@ int GlobalConf(char * cfgfile) 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; @@ -52,11 +55,14 @@ int GlobalConf(char * cfgfile) 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; + Config.custom_alert_output =0; + Config.custom_alert_output_format = 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; - + return(0); }