[Snort-users] BASE1.4.4 is not working properly

olli hauer ohauer at ...348...
Fri Jun 11 04:24:23 EDT 2010


> On Jun 10, 2010, at 10:40 PM, Jun Wan wrote:
>> Hi 
>>
>> My Snort 2.8.5.2 (Build 121) with Barnyars2 (BASE1.4.4) on Ubundu9.1 was running beautifully  until I upgraded Ubundu9.1 to 10.1 without modifying any existing Snort related configuration files last week. 
>>
>> The Snort is running fine, but now I am having trouble with BASE. I am still able to login BASE via a browser, and "Basic Analysis and Security Engine" (BASE) page shows up with following lines above the BASE:
>>  properly
>>
>>
>> Deprecated:  Function ereg_replace() is deprecated in /var/www/base-1.4.4/includes/base_state_common.inc.php
>> on line 184
> 
> 
On 2010-06-11 07:20, Kevin Johnson wrote:
> Please upgrade to BASE 1.4.5.  It fixes this issue.
> 

No, those deprecated functions are not fixed in base-1.4.5, but I submitted some
patches for base-1.4.5.

To fix this issue apply the patch patch_base_1.4.5_php5.3.txt which you can find
here
http://sourceforge.net/tracker/?func=detail&aid=3009648&group_id=103348&atid=635584


Additional if you are using php5.3

change the following line in base_graph_display.php
--- ./base_graph_display.php.orig 2010-03-05 16:06:17.000000000 +0100
+++ ./base_graph_display.php 2010-04-11 23:52:13.000000000 +0200
@@ -114,7 +114,7 @@
else
{
// Create the graph area, legends on bottom -- Alejandro
- $Graph =& new Image_Graph(array('driver'=>'gd',
+ $Graph = new Image_Graph(array('driver'=>'gd',
'width'=>$width,
'height'=>$height));
}

If graphs are not displayed properly (php5.3) you have to fix all the pear stuff
(replace ereg_... with preg_..., replace '=& new' with '= new' ...)

Cheers,
olli




More information about the Snort-users mailing list