<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/secureideas/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/secureideas/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/secureideas/support-requests/</id><updated>2009-11-11T07:27:59Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>Mysql Error</title><link href="https://sourceforge.net/p/secureideas/support-requests/10/" rel="alternate"/><published>2009-11-11T07:27:59Z</published><updated>2009-11-11T07:27:59Z</updated><author><name>Peter P</name><uri>https://sourceforge.net/u/ppurwin/</uri></author><id>https://sourceforge.netc8ed319e3571e4cebe943de2c9173329b05372a4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I hope you can help!&lt;/p&gt;
&lt;p&gt;When running the setup script for the first time I get this error:&lt;/p&gt;
&lt;p&gt;Fatal error: Call to undefined function mysql_connect() in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 363&lt;/p&gt;
&lt;p&gt;From Googling this error I have not found much, other than to make sure mysql is installed and running. I can telnet to the localhost on the mysql port. Netstat -a shows it is listing.&lt;/p&gt;
&lt;p&gt;The mysql logs shows no connection attempts. &lt;/p&gt;
&lt;p&gt;I am running the following:&lt;br /&gt;
base 1.4.4&lt;br /&gt;
mysql 5.0.5&lt;br /&gt;
libphp-adodb 5.05 (this is installed /usr/share/php&lt;/p&gt;
&lt;p&gt;Thanks you very much&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>BASE with OSSEC</title><link href="https://sourceforge.net/p/secureideas/support-requests/9/" rel="alternate"/><published>2009-10-01T19:11:23Z</published><updated>2009-10-01T19:11:23Z</updated><author><name>Keith Pachulski</name><uri>https://sourceforge.net/u/keithp001/</uri></author><id>https://sourceforge.net1ffbf2dc9aebfcec315c82fd1b524f71902064bc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I`m hoping someone here can help me with an issue I`m having with BASE and OSSEC. I have alerts from OSSEC going into BASE, but I`m unable to from original code archive OSSEC alerts.&lt;/p&gt;
&lt;p&gt;After some tinkering and asking questions on the OSSEC forums one suggestoin was to change a line in the base_action.inc.php as follows:&lt;/p&gt;
&lt;p&gt;original&lt;/p&gt;
&lt;p&gt;$sql = "INSERT INTO data (sid,cid, data_payload) VALUES ";&lt;br /&gt;
$sql.= "($sid, $cid, '".$tmp_row[0]."')";&lt;/p&gt;
&lt;p&gt;modified&lt;/p&gt;
&lt;p&gt;$sql = "INSERT INTO data (sid,cid, data_payload) VALUES ";&lt;br /&gt;
$sql.= "($sid, $cid, '".mysql_real_escape_string($tmp_row[0])."')";&lt;/p&gt;
&lt;p&gt;After making this change I was able to archive the OSSEC alerts via BASE, however. Since doing so I am now unable to view any alerts in the archive database. The test alert I tried archiving was copied from the snort database to the snort_archive database which I verified manually:&lt;/p&gt;
&lt;p&gt;mysql&amp;gt; use snort;&lt;/p&gt;
&lt;p&gt;Database changed&lt;br /&gt;
mysql&amp;gt; select * from data where cid=118815;&lt;br /&gt;
+-----+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
| sid | cid    | data_payload                                                                                                                                                                                                                                                                                                                                            |&lt;br /&gt;
+-----+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
|  40 | 118815 | ** Alert 1254423242.4059666:    - apache,unknown_resource,&lt;br /&gt;
2009 Oct 01 14:54:02 somewebsite-webserver -&amp;gt; /var/log/httpd/error_log&lt;br /&gt;
Rule: 30112 (level 5) -&amp;gt; 'Attempt to access an non-existent file.'&lt;br /&gt;
Src IP: (174.129.87.154)&lt;br /&gt;
User: (none)&lt;br /&gt;
[Thu Oct 01 14:53:51 2009] [error] [client 174.129.87.154] File does not exist: /home/h/http073/somewebsite/iphone | &lt;br /&gt;
+-----+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
1 row in set (0.09 sec)&lt;/p&gt;
&lt;p&gt;Using BASE then copied the alert from the snort database to the snort_archive database&lt;/p&gt;
&lt;p&gt;mysql&amp;gt; use snort_archive;&lt;/p&gt;
&lt;p&gt;Database changed&lt;br /&gt;
mysql&amp;gt; select * from data where cid=118815;&lt;br /&gt;
+-----+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
| sid | cid    | data_payload                                                                                                                                                                                                                                                                                                                                            |&lt;br /&gt;
+-----+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
|  40 | 118815 | ** Alert 1254423242.4059666:    - apache,unknown_resource,&lt;br /&gt;
2009 Oct 01 14:54:02 somewebsite-webserver -&amp;gt; /var/log/httpd/error_log&lt;br /&gt;
Rule: 30112 (level 5) -&amp;gt; 'Attempt to access an non-existent file.'&lt;br /&gt;
Src IP: (174.129.87.154)&lt;br /&gt;
User: (none)&lt;br /&gt;
[Thu Oct 01 14:53:51 2009] [error] [client 174.129.87.154] File does not exist: /home/h/http073/somewebsite/iphone | &lt;br /&gt;
+-----+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
1 row in set (0.00 sec)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>qmagic function in base_qry_common.php</title><link href="https://sourceforge.net/p/secureideas/support-requests/8/" rel="alternate"/><published>2006-05-23T14:15:11Z</published><updated>2006-05-23T14:15:11Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9e60936a166ac7edcf8f8f386d644f6346af0a31</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am today running BASE 1.1.2.&lt;br /&gt;
This works fine on my Linux box.&lt;br /&gt;
After upgrading to 1.2.4 I do get some problems.&lt;br /&gt;
I can log in the the application and get the first &lt;br /&gt;
status page.&lt;br /&gt;
But when I click on the alarms last 24 days or any &lt;br /&gt;
other link for displaying alarms. The following &lt;br /&gt;
message appears:&lt;/p&gt;
&lt;p&gt;Fatal error: Call to undefined function: qmaic() &lt;br /&gt;
in /www.htdocs/base/base_qry_common.php on line 602.&lt;/p&gt;
&lt;p&gt;It is no change in owners/group rights of the files.&lt;br /&gt;
I have the correct versions described in the &lt;br /&gt;
prerequisites for BASE 1.2.4.&lt;/p&gt;
&lt;p&gt;I have been through the setup procedyre/program and do &lt;br /&gt;
not get any error messages.&lt;/p&gt;
&lt;p&gt;Any body else seen this problem ?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;tom.erik.hestholm@kongsberg.com&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Allowed memory size of 8388608 bytes exhausted</title><link href="https://sourceforge.net/p/secureideas/support-requests/7/" rel="alternate"/><published>2006-04-28T11:24:29Z</published><updated>2006-04-28T11:24:29Z</updated><author><name>Martynas</name><uri>https://sourceforge.net/u/martbuo/</uri></author><id>https://sourceforge.net43e6b163fb6ac180fbb8e2c3687bef45e6daf2dd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I start getting folowing error while browsing BASE&lt;br /&gt;
reports :&lt;/p&gt;
&lt;p&gt;Allowed memory size of 8388608 bytes exhausted (tried&lt;br /&gt;
to allocate 138 bytes)&lt;/p&gt;
&lt;p&gt;I am using Debian with Apache2 and latest PHP. I guess&lt;br /&gt;
this problem is PHP related, but maybe you have a tip&lt;br /&gt;
how to solve it ?&lt;/p&gt;
&lt;p&gt;With best regards&lt;br /&gt;
Martynas&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>upgrade to 1.2.2. problem</title><link href="https://sourceforge.net/p/secureideas/support-requests/6/" rel="alternate"/><published>2006-03-16T16:29:06Z</published><updated>2006-03-16T16:29:06Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9583e54cc6b8cfd15056b1e22e12d28648d77043</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I upgraded to 1.2.2 and now I can't login into BASE. I &lt;br /&gt;
reran Base's setup, enter user + password and then I &lt;br /&gt;
get the message "User does not exist or your password &lt;br /&gt;
was incorrect! Please try again". Will appreciate any &lt;br /&gt;
help on this regard.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How do I move my BASE from one machine to another?</title><link href="https://sourceforge.net/p/secureideas/support-requests/5/" rel="alternate"/><published>2006-03-14T16:31:07Z</published><updated>2006-03-14T16:31:07Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net645bd6a2f663c49f941af063ffd68389c604b8d2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would like to keep the current settings in tact &lt;br /&gt;
and move my base installation from an older machine &lt;br /&gt;
to a newer more powerful machine. Can I just tar and &lt;br /&gt;
copy the /var/www directories and move them?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Database Error postgresql</title><link href="https://sourceforge.net/p/secureideas/support-requests/4/" rel="alternate"/><published>2006-03-13T16:00:57Z</published><updated>2006-03-13T16:00:57Z</updated><author><name>countbase</name><uri>https://sourceforge.net/u/countbase/</uri></author><id>https://sourceforge.net535ec235b92b85033ecb18a74fb25d9e10a8fcb2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I keep getting this error:&lt;/p&gt;
&lt;p&gt;Checking for DB abstraction lib in '/adodb/adodb.inc.php'&lt;br /&gt;
The underlying database ids@localhost appears to be&lt;br /&gt;
incomplete/invalid&lt;br /&gt;
Database ERROR:ERROR: syntax error at or near "`" at&lt;br /&gt;
character 18&lt;/p&gt;
&lt;p&gt;SELECT ip_src FROM iphdr&lt;/p&gt;
&lt;p&gt;It might be an older version. Only alert databases&lt;br /&gt;
created by Snort 1.7-beta0 or later are supported&lt;/p&gt;
&lt;p&gt;I'm running OpenBSD 3.8 / Postgresql 8.1.3 / Snort 2.4.3&lt;/p&gt;
&lt;p&gt;Maybe someone can help me, because I've looked&lt;br /&gt;
everywhere, but can't find anything about it.&lt;/p&gt;
&lt;p&gt;Oh, it's probably in the base_main.php&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Theo&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Amazing Job!</title><link href="https://sourceforge.net/p/secureideas/support-requests/3/" rel="alternate"/><published>2006-03-09T07:30:30Z</published><updated>2006-03-09T07:30:30Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net02ea263a40b377c4492afa7079fac63dc6cd8fe6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You guys have really done an amazing job with this&lt;br /&gt;
project.  I thought the Acid project was dead.  Good &lt;br /&gt;
job on keeping it going!  One thing though... you &lt;br /&gt;
guys have gotta promote this more...  Alot of people &lt;br /&gt;
are still using acid.  Knoppix, knoppix-std and a &lt;br /&gt;
quite a few other security distros are still &lt;br /&gt;
including Acid instead of Base.  The only security &lt;br /&gt;
Distro I've seen that includes Base was NST.  Try to &lt;br /&gt;
get something going on LinuxToday or LinuxWatch or &lt;br /&gt;
other Sites just so maybe you guys could get more &lt;br /&gt;
exposure and maybe more people can chip in.  I don't &lt;br /&gt;
think I even saw you guys in Snort.org!!! &lt;/p&gt;
&lt;p&gt;Anyways... Great Job and thanks! &lt;/p&gt;
&lt;p&gt;Zubin. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>graphs in BASE do not work</title><link href="https://sourceforge.net/p/secureideas/support-requests/2/" rel="alternate"/><published>2005-06-07T15:35:23Z</published><updated>2005-06-07T15:35:23Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net736d7d293b0881f375e3f15829af4a46b15b3cd8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Followed Dominik Gehl's Instructions on {snort-users} &lt;/p&gt;
&lt;p&gt;Warning: Missing argument 1 for&lt;br /&gt;
image_graph_datapreprocessor_array() in&lt;br /&gt;
/usr/share/pear/Image/Graph/DataPreprocessor/Array.php&lt;br /&gt;
on line 79&lt;/p&gt;
&lt;p&gt;Warning: Cannot modify header information - headers&lt;br /&gt;
already sent by (output started at&lt;br /&gt;
/usr/share/pear/Image/Graph/DataPreprocessor/Array.php:79)&lt;br /&gt;
in /usr/share/pear/Image/Graph/Driver.php on line 525&lt;/p&gt;
&lt;p&gt;Warning: Cannot modify header information - headers&lt;br /&gt;
already sent by (output started at&lt;br /&gt;
/usr/share/pear/Image/Graph/DataPreprocessor/Array.php:79)&lt;br /&gt;
in /usr/share/pear/Image/Graph/Driver.php on line 526&lt;/p&gt;
&lt;p&gt;Warning: Cannot modify header information - headers&lt;br /&gt;
already sent by (output started at&lt;br /&gt;
/usr/share/pear/Image/Graph/DataPreprocessor/Array.php:79)&lt;br /&gt;
in /usr/share/pear/Image/Graph/Driver.php on line 527&lt;/p&gt;
&lt;p&gt;Warning: Cannot modify header information - headers&lt;br /&gt;
already sent by (output started at&lt;br /&gt;
/usr/share/pear/Image/Graph/DataPreprocessor/Array.php:79)&lt;br /&gt;
in /usr/share/pear/Image/Graph/Driver.php on line 528&lt;/p&gt;
&lt;p&gt;Warning: Cannot modify header information - headers&lt;br /&gt;
already sent by (output started at&lt;br /&gt;
/usr/share/pear/Image/Graph/DataPreprocessor/Array.php:79)&lt;br /&gt;
in /usr/share/pear/Image/Graph/Driver/GD/PNG.php on&lt;br /&gt;
line 104&lt;/p&gt;
&lt;p&gt;Warning: Cannot modify header information - headers&lt;br /&gt;
already sent by (output started at&lt;br /&gt;
/usr/share/pear/Image/Graph/DataPreprocessor/Array.php:79)&lt;br /&gt;
in /usr/share/pear/Image/Graph/Driver/GD/PNG.php on&lt;br /&gt;
line 105&lt;/p&gt;
&lt;p&gt;&amp;lt;sniped the Rest as it is a bunch of misc. characters.&amp;gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problem connecting to database</title><link href="https://sourceforge.net/p/secureideas/support-requests/1/" rel="alternate"/><published>2005-03-15T16:18:07Z</published><updated>2005-03-15T16:18:07Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net262025ccb89afcb9680817f4cc6b66b7355f0c4f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Recieved the following error when attempting to login:&lt;br /&gt;
Checking for DB abstraction lib &lt;br /&gt;
in '/var/www/html/adodb/adodb.inc.php'&lt;/p&gt;
&lt;p&gt;Error (p)connecting to DB : snort@localhost&lt;/p&gt;
&lt;p&gt;Check the DB connection variables in base_conf.php &lt;/p&gt;
&lt;p&gt;= $alert_dbname   : MySQL database name &lt;br /&gt;
where the alerts are stored &lt;br /&gt;
= $alert_host     : host where the database is &lt;br /&gt;
stored&lt;br /&gt;
= $alert_port     : port where the database is &lt;br /&gt;
stored&lt;br /&gt;
= $alert_user     : username into the database&lt;br /&gt;
= $alert_password : password for the &lt;br /&gt;
username&lt;/p&gt;
&lt;p&gt;Database ERROR:Can't connect to local MySQL server &lt;br /&gt;
through socket '/var/lib/mysql/mysql.sock' (13)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>