Actions
Bug #624
closedChybne vygenerovany warden-server.conf pri nove instalaci serveru
Start date:
12/11/2012
Due date:
% Done:
0%
Estimated time:
Description
Pri vytvareni warden-server.sonf skript vklada i escapovaci znak '\':
# # warden-server.conf - configuration file for Warden server # #------------------------------------------------------------------------------- # BASEDIR - base directory of Warden server #------------------------------------------------------------------------------- $BASEDIR = \'/opt/warden-server-2.2/warden-server\'; #------------------------------------------------------------------------------- # SYSLOG - enable/disable syslog logging #------------------------------------------------------------------------------- $SYSLOG = 1; #------------------------------------------------------------------------------- # SYSLOG_VERBOSE - enable/disable logging in verbose mode (stack info added) #------------------------------------------------------------------------------- $SYSLOG_VERBOSE = 1; #------------------------------------------------------------------------------- # SYSLOG_FACILITY - syslog facility #------------------------------------------------------------------------------- $YSLOG_FACILITY = \'local7\'; #------------------------------------------------------------------------------- # DB_NAME - MySQL database name of Warden server #------------------------------------------------------------------------------- $DB_NAME = \'warden\'; #------------------------------------------------------------------------------- # DB_USER - MySQL database user of Warden server #------------------------------------------------------------------------------- $DB_USER = \'username\'; #------------------------------------------------------------------------------- # DB_PASS - MySQL database password of Warden server #------------------------------------------------------------------------------- $DB_PASS = \'\'; #------------------------------------------------------------------------------- # DB_HOST - MySQL database host #------------------------------------------------------------------------------- $DB_HOST = \'localhost\'; #------------------------------------------------------------------------------- # MAX_EVENTS_LIMIT - server limit of maximum number of events that can be # delivered to one client in one batch #------------------------------------------------------------------------------- $MAX_EVENTS_LIMIT = \'1000000\'; #------------------------------------------------------------------------------- # VALID_STRINGS - validation hash containing allowed event attributes #------------------------------------------------------------------------------- \%VALID_STRINGS = ( \'type\' => [\'portscan\', \'bruteforce\', \'probe\', \'spam\', \'phishing\', \'botnet_c_c\', \'dos\', \'malware\', \'copyright\', \'webattack\', \'test\', \'other\', \'_any_\'], \'source_type' => ['IP', 'URL', 'Reply-To:'] );
Actions