next up previous contents
Next: Fichier config.php Up: Manuel d'installation de Prelude-lml/NIDS/manager, Previous: Fichier prelude-lml.conf   Contents

Fichier config.pl

sub LoadConfig()
{
    # Database :
  $conf{'dbtype'}='mysql';
  $conf{'dbname'}='prelude';
  $conf{'dbhost'}='localhost';
  $conf{'dbport'}=3306; # default mysql port is 3306
#  $conf{'dboptions'}='mysql_compression=1';
  $conf{'dblogin'}='prelude';
  $conf{'dbpasswd'}='dessstri';

    # Other :
  $conf{'debug'}=1; # Debug perl code onscreen (0 or 1)
  $conf{'extension'}='.pl'; # scripts file extension (.pl)

  $conf{'refresh'}=600; # AlertList refresh in seconds (600)

  $conf{'ettercap_fp_db'}='./generated/DB/etter.passive.os.fp';
  $conf{'ettercap_mac_db'}='./generated/DB/mac-fingerprints';

  $conf{'HostName_Lookup'}=1; # Host Name Resolution (0 or 1)

  $conf{'GD_transparent'}=0; # Are graphs transparent ?
}

1;



Lehmann Guillaume 2003-04-13