Snort mailing list archives
snortreport 1.11 & profiling.php ?
From: Tom Van Overbeke <tvanoverbeke () ccncsi net>
Date: Wed, 19 Mar 2003 16:41:15 +0100
Hi, I installed snort 1.90, and have it log its alerts to mysql (mysql-3.23.52-3). php is also installed (php-4.2.2-8.0.5). This is on redhat 8.0 I am now trying to install snortreport, but when i try to start it, i get the following error: setinst($server); $db->setuser($user); $db->setpass($pass); $db->dbname($dbname); $db->persist(); $conn = $db->connect(); define("FULL_DATETIME_FORMAT", "Y-m-d H:i:s"); set_time_limit(1800); require_once("info-retrieval.php"); ?> Fatal error: Call to undefined function: elapsedtimer() in /var/www/html/snortreport/alerts.php on line 25 I did a little investigation myself, and i noticed that a file 'profiling.php' is included, but the file i find in the d'loaded tarball was profiling.phps I tried to copy the file profiling.php to profiling.phps, but that didn't change anything. the error remains. Can someone help ? Thanks, Tom. my srconf.php looks like this: ----------------> CUT // Put your snort database login credentials in this section $server = "localhost"; $user = "snort"; $pass = "xxxx"; $dbname = "snort"; // use either "mysql" or "pgsql" below, depending on your database $dbtype = "mysql"; // Change to FALSE if GD *and* JPGraph are not installed $haveGD = FALSE; // Relative path to JPGraph // You need to have jpgraph and jpgraph_pie installed to see the chart. // Change variables if jpgraph is not in the Snort Report directory - // for example "../jpgraph.php", etc. define("JPGRAPH_PATH", "../jpgraph/"); // Custom microtiming functions for profiling pages - available from http://improbable.org/chris/software/profiling.phps define("PROFILING", false); if (PROFILING) { require_once("profiling.php"); } ----------------> CUT -- Tom Van Overbeke CCN/TC System & Network administrator Tel. ++32 (0)2 402 0740 Fax ++32 (0)2 402 0750 **************************************************************************** Disclaimer: This electronic transmission and any files attached to it are strictly confidential and intended solely for the addressee. If you are not the intended addressee, you must not disclose, copy or take any action in reliance of this transmission. If you have received this transmission in error, please notify the sender by return and delete the transmission. Although the sender endeavors to maintain a computer virus free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. Thank You. ****************************************************************************
Current thread:
- snortreport 1.11 & profiling.php ? Tom Van Overbeke (Mar 20)
- <Possible follow-ups>
- snortreport 1.11 & profiling.php ? Tom Van Overbeke (Mar 20)
- Re: snortreport 1.11 & profiling.php ? Simon Gray (Mar 20)