Snort.org home  
Got Source? About Snort About Sourcefire Snort FAQ
Sourcefire Network Security - the creators of Snort

Snort Forums Archive

Archive Home » Third Party Tools » can't see the alert graph data too ^^

Please note that the categories listed below represent an archived version of our forums pages. To view the current version and be able to post and reply to threads, please register and login here to go to the full forums pages.

[ Notice: Full Version of This Topic ]

can't see the alert graph data too ^^


Posted by MaoHi on May 04, 2005 06:22:40

hi all,

so i can't see the alert graph data on ACID. I have many errors messages like this :
Undefined variable: user_chart_title in /usr/share/acidlab/acid_graph_main.php on line 89
Undefined variable: width in /usr/share/acidlab/acid_graph_main.php on line 118
Undefined variable: height in /usr/share/acidlab/acid_graph_main.php on line 120
Undefined variable: min_size in /usr/share/acidlab/acid_graph_main.php on line 336

Notice: Undefined variable: xaxis_label_inc in /usr/share/acidlab/acid_graph_main.php on line 440

Notice: Undefined variable: xaxis_label_inc in /usr/share/acidlab/acid_graph_main.php on line 440

Notice: Undefined variable: xaxis_label_inc in /usr/share/acidlab/acid_graph_main.php on line 440

Notice: Undefined variable: xaxis_label_inc in /usr/share/acidlab/acid_graph_main.php on line 440

Notice: Undefined variable: xaxis_label_inc in /usr/share/acidlab/acid_graph_main.php on line 440

Notice: Undefined variable: xaxis_label_inc in /usr/share/acidlab/acid_graph_main.php on line 440

Notice: Undefined variable: xaxis_label_inc in /usr/share/acidlab/acid_graph_main.php on line 440

Notice: Undefined variable: width in /usr/share/acidlab/acid_graph_main.php on line 453

Notice: Undefined variable: height in /usr/share/acidlab/acid_graph_main.php on line 453

Notice: Undefined variable: user_chart_title in /usr/share/acidlab/acid_graph_main.php on line 454

Notice: Undefined variable: yaxis_scale in /usr/share/acidlab/acid_graph_main.php on line 457

So i looked in these files and it seems that variables are defined. After that i read another error message :

Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0


My php is PHP 4.3.8. (my snort is 2.3.0 and acid is v0.9.6b20-5.1).
So if anyone has an idea... ;)

Thanks in advance guys :)


Posted by gorilla on June 17, 2005 02:51:23

Sorry about the late reply :-)

It appears that acidlab (the new name for acid which did conflict with a database abstraction library) is no long being maintained... Acid was a part of the aircert project which I believe has finished.

I may consider stepping in to maintain the code base (adding features later on). One thing I haven't been able to work out is how the graphs are rendered ($data seems not to be set anywhere :-/

Gorilla

Posted by chris on June 19, 2005 16:04:29

Hi MaoHi,
You didn't say whether you had installed the ADODB abstraction library, that might be the first cause of you not being able to show the graphs...
cheers
chris

Posted by SecureIdeas on June 19, 2005 17:37:43

Hi-

A couple of ideas....

First, most of those errors are not worth mentioning, except that you error reporting level is set to high. You can adjust this in your php.ini.

Second, if you have to use ACID, upgrade to the latest version that they released which is b23. This release fixed some bugs regarding graphing.

Third, and of course, I would upgrade to BASE which is the fork of ACID that is being continually updated. You can find it at http://sourceforge.net/projects/secureideas

Fourth, the person who had said they wanted to start working on ACID again, you are welcome to stop by the BASE project and lend a hand.

Kevin