/etc/homer/configuration.php is in homer-api 5.0.6+dfsg2-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | <?php
if(!defined('HOMER_CONFIGURATION')):
define('HOMER_CONFIGURATION', 1);
/*********************************************************************************/
/* AUTH DB homer. User and Configuration */
define('DB_HOSTNAME', "localhost");
define('DB_PORT', 3306);
define('DB_USERNAME', "homer_user");
define('DB_PASSWORD', "homer_password");
define('DB_CONFIGURATION', "homer_configuration");
define('DB_STATISTIC', "homer_statistic");
define('DB_HOMER', "homer_data");
define('SINGLE_NODE', 1);
define('DATABASE_DRIVER',"mysql");
/*********************************************************************************/
/* webHomer Settings
* Adjust to reflect your system preferences
*/
define('PCAPDIR', ROOT."/tmp/");
define('WEBPCAPLOC',"/tmp/");
/* Tshark settings for ISUP analyse */
define('TSHARK_ENABLED',1);
define('TSHARK_PATH','/usr/bin/tshark');
define('EGREP','/bin/egrep');
/* INCLUDE preferences */
include_once("preferences.php");
endif;
?>
|