X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fanalysisd%2Fconfig.c;h=f6bc2deb991a49d16fa54a5d386bb6001eee3f69;hb=280230a44cb9f9872652b6bb80de45a27af411f4;hp=b8332786022844d5e2f01c35d2f156da8bb77b8b;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/analysisd/config.c b/src/analysisd/config.c index b833278..f6bc2de 100755 --- a/src/analysisd/config.c +++ b/src/analysisd/config.c @@ -1,14 +1,15 @@ -/* @(#) $Id: config.c,v 1.32 2009/11/04 15:18:59 dcid Exp $ */ +/* @(#) $Id: ./src/analysisd/config.c, 2011/09/08 dcid Exp $ + */ /* Copyright (C) 2009 Trend Micro Inc. * All rights reserved. * * This program is a free software; you can redistribute it * and/or modify it under the terms of the GNU General Public - * License (version 3) as published by the FSF - Free Software + * 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 */ @@ -52,12 +53,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.includes = NULL; + Config.lists = NULL; + Config.decoders = NULL; modules|= CGLOBAL; modules|= CRULES; @@ -73,7 +76,7 @@ int GlobalConf(char * cfgfile) /* Minimum memory size */ if(Config.memorysize < 64) Config.memorysize = 64; - + return(0); }