Project

General

Profile

Actions

Bug #624

closed

Chybne vygenerovany warden-server.conf pri nove instalaci serveru

Added by Tomáš Plesník about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Tomáš Plesník
Category:
-
Target version:
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 #1

Updated by Tomáš Plesník about 12 years ago

Navic dava 'username' namisto '$username'.

Actions #2

Updated by Tomáš Plesník about 12 years ago

$YSLOG_FACILITY namisto $SYSLOG_FACILITY

Actions #3

Updated by Tomáš Plesník about 12 years ago

A do warden-apache.conf neda mezeru mezi:

PerlSwitches -I/opt/warden-server-2.2/lib
Actions #4

Updated by Tomáš Plesník about 12 years ago

  • Status changed from New to Resolved

Opraveno.

Actions #5

Updated by Tomáš Plesník almost 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF