Version 1.12.1 (RGer), 2005-11-23, Development Branch
made multithreading work with BSD. Some signal-handling needed to be restructured. Also, there might be a slight delay of up to 10 seconds when huping and terminating rsyslogd under BSD
fixed a bug where a NULL-pointer was passed to printf() in logmsg().
fixed a bug during "make install" where rc3195d was not installed. Thanks to Bennett Todd for spotting this.
fixed a bug where rsyslogd dumped core when no TAG was found in the received message
enhanced message parser so that it can deal with missing hostnames in many cases (may not be totally fail-safe)
fixed a bug where internally-generated messages did not have the correct TAG
Posted by
rgerhards
on
Wednesday, November 23, 2005
2369
added an additional guard to prevent rsyslogd from aborting when the 2gb file size limit is hit. While a user can configure rsyslogd to handle such situations, it would abort if that was not done AND large file support was not enabled (ok, this is hopefully an unlikely scenario)
fixed a bug that caused additional Unix domain sockets to be incorrectly processed - could lead to message loss in extreme cases
applied some patches available from the sysklogd project to code shared from there
fixed a bug that causes rsyslogd to dump core on termination when one of the selector lines did not receive a message during the run (very unlikely)
fixed an one-too-low memory allocation in the TCP sender. Could result in rsyslogd dumping core.
fixed a bug in the TCP sender that caused the retry logic to fail after an error or receiver overrun
fixed a bug in init() that could lead to dumping core
fixed a bug that could lead to dumping core when no HOSTNAME or no TAG was present in the syslog messag
Posted by
rgerhards
on
Monday, November 14, 2005
2444
Version 1.12.0 (RGer), 2005-10-26, development branch
moved to a multi-threaded design. single-threading is still optionally available. Multi-threading is experimental!
fixed a potential race condition. In the original code, marking was done by an alarm handler, which could lead to all sorts of bad things. This has been changed now. See comments in syslogd.c/domark() for details.
improved debug output for property-based filters
not a code change, but: I have checked all exit()s to make sure that none occurs once rsyslogd has started up. Even in unusual conditions (like low-memory conditions) rsyslogd somehow remains active. Of course, it might loose a message or two, but at least it does not abort and it can also recover when the condition no longer persists.
fixed a bug that could cause loss of the last message received immediately before rsyslogd was terminated.
added comments on thread-safety of global variables in syslogd.c
fixed a small bug: spurios printf() when TCP syslog was used
fixed a bug that causes rsyslogd to dump core on termination when one of the selector lines did not receive a message during the run (very unlikely)
fixed an one-too-low memory allocation in the TCP sender. Could result in rsyslogd dumping core.
fixed a bug with regular expression support (thanks to Andres Riancho)
a little bit of code restructuring (especially main(), which was horribly large)
Posted by
rgerhards
on
Wednesday, October 26, 2005
4117
Version 1.11.0 (RGer), 2005-10-12, development branch
support for receiving messages via RFC 3195; added rfc3195d for that purpose
added an additional guard to prevent rsyslogd from aborting when the 2gb file size limit is hit. While a user can configure rsyslogd to handle such situations, it would abort if that was not done AND large file support was not enabled (ok, this is hopefully an unlikely scenario)
fixed a bug that caused additional Unix domain sockets to be incorrectly processed - could lead to message loss in extreme case
Posted by
rgerhards
on
Wednesday, October 12, 2005
1199
Version 1.10.2 (RGer), 2005-09-27, development branch
added comparison operations in property-based filters: isequal, startswith
added ability to negate all property-based filter comparison operations by adding a !-sign right in front of the operation name
added the ability to specify remote senders for UDP and TCP received messages. Allows to block all but well-known hosts
changed the $-config line directives to be case-INsensitive
new command line option -w added: "do not display warnings if messages from disallowed senders are received"
fixed a bug that caused rsyslogd to dump core when the compare value was not quoted in property-based filters
fixed a bug in the new CStr compare function which lead to invalid results (fortunately, this function was not yet used widely)
added better support for "debugging" rsyslog.conf property filters (only if -d switch is given)
changed some function definitions to static, which eventually enables some compiler optimizations
fixed a bug in MySQL code; when a SQL error occured, rsyslogd could run in a tight loop. This was due to invalid sequence of error reporting and is now fixed.
Posted by
rgerhards
on
Tuesday, September 27, 2005
2147
added the ability to execute a shell script as an action. Thanks to Bjoern Kalkbrenner for providing the code!
fixed a bug in the MySQL code; due to the bug the automatic one-time retry after an error did not happen - this lead to error message in cases where none should be seen (e.g. after a MySQL restart)
fixed a security issue with SQL-escaping in conjunction with non-(SQL-)standard MySQL features. See security advisory for details.
Posted by
rgerhards
on
Friday, September 23, 2005
2048
This version is a security fix release. It was discovered that rsyslogd is vulnerable to SQL injection via carefully crafted messages. This is fixed with 1.0.1. There are no other changes compared to 1.0.0.
Version 1.10.0 (RGer), 2005-09-20 REMINDER: 1.10 is the first unstable version in the 1.x series!
added the capability to filter on any property in selector lines (not just facility and priority)
changed stringbuf into a new counted string class
added support for a "discard" action. If a selector line with discard (~ character) is found, no selector lines *after* that line will be processed.
thanks to Andres Riancho, regular expression support has been added to the template engine
added the FROMHOST property in the template processor, which could previously not be obtained. Thanks to Cristian Testa for pointing this out and even providing a fix.
added display of compile-time options to -v output
performance improvement for production build - made some checks to happen only during debug mode
fixed a problem with compiling on SUSE and - while doing so - removed the socket call to set SO_BSDCOMPAT in cases where it is obsolete
Posted by
rgerhards
on
Tuesday, September 20, 2005
1984