Package: acidlab Version: 0.9.6b20-10 Severity: important
To the maintainer of acidlab, Attached are two patches for updating acidlab to be able to graph data where the year > 2003. It also fixes a bug in acid_stat_time.php, where the year in the HTML form is 2004 but the data passed back to the CGI is 2003. Regards, Pete de Zwart. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.11 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages acidlab depends on: ii acidlab-pgsql 0.9.6b20-10 Analysis Console for Intrusion Dat ii apache [httpd] 1.3.33-6 versatile, high-performance HTTP s ii debconf 1.4.30.13 Debian configuration management sy ii libphp-adodb 4.52-1 The 'adodb' database abstraction l ii libphp-phplot 4.4.6+5.0rc1-2 The graphic library for PHP ii php4 4:4.3.10-15 server-side, HTML-embedded scripti ii php4-cli 4:4.3.10-15 command-line interpreter for the p ii php4-gd 4:4.3.10-15 GD module for php4 ii wwwconfig-common 0.0.43 Debian web auto configuration -- debconf information: * acidlab/alert_host: localhost * acidlab/webserver: Both * acidlab/archive_port: * acidlab/archive_name: snort * acidlab/db_type: postgres * acidlab/acidlab_advisory: * acidlab/archive_host: localhost * acidlab/alert_user: snort * acidlab/archive_user: snort * acidlab/alert_port: * acidlab/alert_name: snort
--- acid_graph_main.php 2004-09-29 17:18:47.000000000 +1000 +++ /home/pete/acid_graph_main.php 2005-06-17 15:16:55.000000000 +1000 @@ -163,6 +163,8 @@ <OPTION VALUE="2001" '.chk_select($chart_begin_year, "2001").'>2001 <OPTION VALUE="2002" '.chk_select($chart_begin_year, "2002").'>2002 <OPTION VALUE="2003" '.chk_select($chart_begin_year, "2003").'>2003 + <OPTION VALUE="2004" '.chk_select($chart_begin_year, "2004").'>2004 + <OPTION VALUE="2005" '.chk_select($chart_begin_year, "2005").'>2005 </SELECT>'; echo '<br><b>Chart End:</B> @@ -200,6 +202,8 @@ <OPTION VALUE="2001" '.chk_select($chart_end_year, "2001").'>2001 <OPTION VALUE="2002" '.chk_select($chart_end_year, "2002").'>2002 <OPTION VALUE="2003" '.chk_select($chart_end_year, "2003").'>2003 + <OPTION VALUE="2004" '.chk_select($chart_end_year, "2004").'>2004 + <OPTION VALUE="2005" '.chk_select($chart_end_year, "2005").'>2005 </SELECT>';
--- acid_stat_time.php 2004-09-29 17:18:47.000000000 +1000 +++ /home/pete/acid_stat_time.php 2005-06-17 15:17:48.000000000 +1000 @@ -191,7 +191,8 @@ <OPTION VALUE="2001" '.chk_select($time[$i][2],"2001").'>2001 <OPTION VALUE="2002" '.chk_select($time[$i][2],"2002").'>2002 <OPTION VALUE="2003" '.chk_select($time[$i][2],"2003").'>2003 - <OPTION VALUE="2004" '.chk_select($time[$i][2],"2003").'>2004 + <OPTION VALUE="2004" '.chk_select($time[$i][2],"2004").'>2004 + <OPTION VALUE="2005" '.chk_select($time[$i][2],"2003").'>2005 </SELECT>'; if ( $i == 0 ) echo ' -- ';