Logrunner is statically linked for easy deployment.
[gnucomo.git] / ChangeLog
index ad5fcd3..f2cc77b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,313 @@
+gcm_input
+----------
+
+ - logrunner is statically linked so it can be copied to different systems,
+   32 bit or 64 bit, without library dependencies.
+
+gcm_maintenance
+-----------
+
+ - Cleanup abuse records only for subnets smaller than /16.
+
+gcm_daemon
+-----------
+
+ - Resolve a hostname before adding to the abuses.
+
+Database
+---------
+
+ - Added a new group daemon and created additional permissions to the database.
+ - Cleaned up the COLUMN recognized from the TABLE logng
+
+web interface
+-------------
+
+ - Put the password for logging into the database between quotes (').
+ - When removing an object, clean up logs, parameters and notifications.
+
+
+
+Dec 12, 2007 - Release 0.0.12
+====================================
+
+gcm_input
+---------
+
+- New options added for logrunner:
+   -l <file>: Read input from logfile <file>.
+   -s <file>: Use <file> as the status file instead of the default.
+   -v Verbose output
+
+- Logrunner outputs debug information only when the -v option
+  is added on the command line.
+
+- Buffer overflow problem in logrunner with input lines of more than 4096
+  characters fixed.
+
+gcm_daemon
+-----------
+
+- Added a new script gcm_maintenance.php to cleanup the database
+  and check referential integrity. Purging old log entries is
+  removed from the gcm_daemon script.
+
+web interface
+-------------
+
+- Added fields to edit the range of a DYNAMIC property.
+
+- The index.html page in now obsolete and redirects to index.php
+
+- Added an option to perform one action on multiple notifications at once.
+
+- When blocking a subnet, maintain the references to the log table from
+  all IP addresses in that subnet.
+
+Nov 22, 2007 - Release 0.0.11
+====================================
+
+Database
+---------
+
+- Added the class definition for a filesystem parameter.
+- New issue type: 'property out of range'.
+
+gcm_input
+---------
+
+- Logrunner can select a specific host from a logfile, in case
+  syslogd acts as a log server for multiple systems.
+  This adds a new parameter (logile/fromhost) to the configuration
+  file.
+
+- Logrunner uses the official hostname (FQDN) instead of the
+  hostname returned by gethostname().
+
+- Handling of parameters is greatly improved.
+  When creating a new parameter from an XML report which is fed into
+  gcm_input, the class definition is used as a template to fill in
+  the default values for the properties.
+  The class is also used as a template when a new property is added
+  to an existing parameter.
+
+- DYNAMIC properties are now handled properly. Instead of making a
+  'changed property' notification, the value is checked against the
+  defined range for the property. An 'out of range' notification
+  is created when this condition is detected.
+
+- Added a new filter which can directly read the output
+  of the UNIX df command. A brief description is added in
+  the user manual.
+
+- Bugfix: Segmentation fault when reading an rpm package list
+  with empty lines.
+
+- New program: spamdetect.
+  Expirimental utility to log manually reported spam and have
+  Gnucomo detect the spammer's IP address.
+
+- Added a number of usefull scripts, mainly for use in Gnucomo clients.
+
+web interface
+-------------
+
+- The buttonbar at the top of each page is now a fixed 'div' element
+  instead of a framed page.
+  Contributed by Edwin Nadorp.
+
+PHP classes
+-----------
+
+- Added a PHP5 module for the configuration class.
+
+Test
+----
+
+- The test script, gcmtest can run individual tests as opposed to running
+  all tests in sequence.
+
+Oct 19, 2007 - Release 0.0.10
+====================================
+
+- Improved method for finding PostgreSQL libraries in configure script.
+
+Database
+---------
+
+- Fixed field declaration for PostgreSQL 7.4
+- New tables: log_abuse, object_abuse and service_pattern
+- Added general service patterns in the service 'ANY'
+- Added new issue types.
+- Log_adv and derived tables removed.
+
+logrunner
+---------
+
+- Status files in /var/lib
+- Rewrote most functions and datastructures into C++
+- Use the Gnucomo (XML) configuration file
+
+gcm_input
+---------
+
+- Accept '/' and '.' characters within the service name in a system log.
+  When extracting the service name, the '/' character is not considered
+  part of that name, though.
+- Textual changes in parameter notifications
+- Experimental start of database OO abstraction layer.
+- The '-' character is part of the service name.
+- Skip the Email header when reading XML input.
+
+gcm_daemon
+-----------
+
+- Bugfixes in the analysis of sendmail logs.
+- Send email about open notifications to an object's users.
+- Added log analysis for spam and abuse in sendmail log entries.
+- Added pattern check on log entries with the service_pattern table.
+- Create notifications from log entries with pattern matching.
+- Record the date when adding the number of abuses for an IP address
+  in the abuse list.
+
+
+web interface
+--------------
+
+- Added a form to edit user data.
+- Added a view for the log analysis with a link from the log page.
+- New page: Parameter classes administration.
+- New page: Abuse list
+- Added an interface to edit check patterns to the services page.
+- Manually edit parameters.
+- View logs from abusing IP addresses.
+- Added an interface for editing issues.
+- In the abuse list, IP addresses can be whitelisted.
+- Improved interface for editing check patterns.
+
+Test
+----
+
+- Added test data for Problem Report 15, 16 and 17
+
+Documentation
+---------------
+
+- Added a list of related projects and introduced the concept of
+  dynamic parameters in the manifest.
+
+Dec 24, 2003 - Release 0.0.9
+====================================
+
+Database
+---------
+
+- Changed the type of log_adv_daemon_email.delay and log_adv_daemon_email.xdelay
+  from time to interval. These delays can be more than 24 hours.
+
+libgnucomo
+----------
+
+- Catch an exception if we can not setup a database transaction.
+
+
+gcm_input
+---------
+
+- SQL_Escape(): Backslashes are correctly escaped with another backslash
+- XML_Entities(): transform non-ASCII characters into hexadecimal entities.
+- Do not add another parameter_notification record is the notification
+  already exists for that parameter.
+- Catch exceptions from the database library.
+- Major redesign. All input is handled through XML. Raw input data is first
+  transformed into an XML document for further processing.
+  A collection of polymorphic classes handle the transformation of various
+  input formats into XML.
+- Classifying input data is done with a finite improbability calculation.
+
+gcm_daemon
+-----------
+
+- Create separate notifications for different objects in service_check().
+  Fixes problem report 23.
+- Change the notation for delays from "days+hh:mm:ss" to "days hh:mm:ss. This
+  fixes problem report 14.
+- In linux_daemon_sendmail(), check the existence of '=' before using it as a
+  field separator. Fixes problem report 15.
+
+
+web interface
+--------------
+
+- Optionally show or hide removed parameters from the parameter
+  comparison page.
+
+Documentation
+---------------
+
+- Added a User Manual, based upon the draft TUTORIAL
+
+
+Sep 04, 2003 - Release 0.0.8
+====================================
+
+Database
+---------
+
+- Fixed a few typos in the database creation script.
+- BUGFIX: Secondary indices on log_notification were unique.
+- Additional information in the 'usr' table: 'display_name' and 'email'.
+- Added new issues and services.
+
+gcm_input
+---------
+
+- Fixed a namespace problem in message.cpp
+- Fixed a gcc 2 vs. gcc 3 problem in gcm_input.cpp
+- Reject log entries that are found to be invalid.
+- A date without the time for the '-d <date> option will
+  assume midnight on that date.
+
+gcm_dameon
+----------
+
+- In PHP, the method configuration::read() will also read
+  a user-specific configuration from the home directory if a 
+  PHP script is not run through the web server.
+- Accept command argument '-c config' to use an alternate
+  gnucomo configuration.
+- New PHP methods:
+   db::Result() - Returns the result from the last query.
+   db::Field()  - Returns the value of a single field.
+   db::new_notification() - Create a new notification in the database.
+- Check the log table against the servies running on an object and
+  create notifications if a service is not supposed to be available
+  or is not known at all.
+
+libgnucomo
+----------
+
+- Changed the gnucomo_database class to the new PostgreSQL
+  library, libpqxx
+- Overloaded gnucomo_database::Field() to include the Result
+  from a query as an argument.
+
+web interface
+--------------
+
+- New page to enter and modify services.
+- The objects page provides an interface to edit the list of
+  services and users for an object.
+
+Test
+----
+
+- Reduced the amount of output from test scripts.
+- Added output data that is expected from test scripts.
+- New test: tests the database upgrade with gcm_daemon
+- Overall test script: gcm_test. Runs all tests in sequence.
+
+
 Aug 15, 2003 - Release 0.0.7
 ====================================