1
1
---------------------------------------------------------------------------
2
Version 4.2.0 [v4-stable] (rgerhards), 2009-06-23
3
- bugfix: light and full delay watermarks had invalid values, badly
4
affecting performance for delayable inputs
5
- imported all patches from 3.22.1 as of today (see below)
6
- bugfix: compile problems in im3195
7
---------------------------------------------------------------------------
8
Version 4.1.7 [BETA] (rgerhards), 2009-04-22
9
- bugfix: $InputTCPMaxSessions config directive was accepted, but not
10
honored. This resulted in a fixed upper limit of 200 connections.
11
- bugfix: the default for $DirCreateMode was 0644, and as such wrong.
12
It has now been changed to 0700. For some background, please see
13
http://lists.adiscon.net/pipermail/rsyslog/2009-April/001986.html
14
- bugfix: ompgsql did not detect problems in sql command execution
15
this could cause loss of messages. The handling was correct if the
16
connection broke, but not if there was a problem with statement
17
execution. The most probable case for such a case would be invalid
18
sql inside the template, and this is now much easier to diagnose.
19
---------------------------------------------------------------------------
20
Version 4.1.6 [DEVEL] (rgerhards), 2009-04-07
21
- added new "csv" property replacer options to enable simple creation
22
of CSV-formatted outputs (format from RFC4180 is used)
23
- implemented function support in RainerScript. That means the engine
24
parses and compile functions, as well as executes a few build-in
25
ones. Dynamic loading and registration of functions is not yet
26
supported - but we now have a good foundation to do that later on.
27
- implemented the strlen() RainerScript function
28
- added a template output module
29
- added -T rsyslogd command line option, enables to specify a directory
30
where to chroot() into on startup. This is NOT a security feature but
31
introduced to support testing. Thus, -T does not make sure chroot()
32
is used in a secure way. (may be removed later)
33
- added omstdout module for testing purposes. Spits out all messages to
34
stdout - no config option, no other features
35
- added a parser testing suite (still needs to be extended, but a good
37
- modified $ModLoad statement so that for modules whom's name starts with
38
a dot, no path is prepended (this enables relative-pathes and should
39
not break any valid current config)
40
- fixed a bug that caused action retries not to work correctly
41
situation was only cleared by a restart
42
- bugfix: closed dynafile was potentially never written until another
43
dynafile name was generated - potential loss of messages
44
- improved omfile so that it properly suspends itself if there is an
45
i/o or file name generation error. This enables it to be used with
46
the full high availability features of rsyslog's engine
47
- bugfix: fixed some segaults on Solaris, where vsprintf() does not
48
check for NULL pointers
49
- improved performance of regexp-based filters
50
Thanks to Arnaud Cornet for providing the idea and initial patch.
51
- added a new way how output plugins may be passed parameters. This is
52
more effcient for some outputs. They new can receive fields not only
53
as a single string but rather in an array where each string is seperated.
54
- added (some) developer documentation for output plugin interface
55
- bugfix: potential abort with DA queue after high watermark is reached
56
There exists a race condition that can lead to a segfault. Thanks
57
go to vbernetr, who performed the analysis and provided patch, which
58
I only tweaked a very little bit.
59
- bugfix: imtcp did incorrectly parse hostname/tag
60
Thanks to Luis Fernando Muñoz Mejías for the patch.
61
---------------------------------------------------------------------------
62
Version 4.1.5 [DEVEL] (rgerhards), 2009-03-11
63
- bugfix: parser did not correctly parse fields in UDP-received messages
64
- added ERE support in filter conditions
65
new comparison operation "ereregex"
66
- added new config directive $RepeatedMsgContainsOriginalMsg so that the
67
"last message repeated n times" messages, if generated, may
68
have an alternate format that contains the message that is being repeated
69
---------------------------------------------------------------------------
70
Version 4.1.4 [DEVEL] (rgerhards), 2009-01-29
71
- bugfix: inconsistent use of mutex/atomic operations could cause segfault
72
details are too many, for full analysis see blog post at:
73
http://blog.gerhards.net/2009/01/rsyslog-data-race-analysis.html
74
- bugfix: unitialized mutex was used in msg.c:getPRI
75
This was subtle, because getPRI is called as part of the debugging code
76
(always executed) in syslogd.c:logmsg.
77
- bufgix: $PreserveFQDN was not properly handled for locally emitted
79
---------------------------------------------------------------------------
80
Version 4.1.3 [DEVEL] (rgerhards), 2008-12-17
81
- added $InputTCPServerAddtlFrameDelimiter config directive, which
82
enables to specify an additional, non-standard message delimiter
83
for processing plain tcp syslog. This is primarily a fix for the invalid
84
framing used in Juniper's NetScreen products. Credit to forum user
85
Arv for suggesting this solution.
86
- added $InputTCPServerInputName property, which enables a name to be
87
specified that will be available during message processing in the
88
inputname property. This is considered useful for logic that treats
89
messages differently depending on which input received them.
90
- added $PreserveFQDN config file directive
91
Enables to use FQDNs in sender names where the legacy default
92
would have stripped the domain part.
93
Thanks to BlinkMind, Inc. http://www.blinkmind.com for sponsoring this
95
- bugfix: imudp went into an endless loop under some circumstances
96
(but could also leave it under some other circumstances...)
97
Thanks to David Lang and speedfox for reporting this issue.
98
---------------------------------------------------------------------------
99
Version 4.1.2 [DEVEL] (rgerhards), 2008-12-04
100
- bugfix: code did not compile without zlib
101
- security bugfix: $AllowedSender was not honored, all senders were
102
permitted instead (see http://www.rsyslog.com/Article322.phtml)
103
- security fix: imudp emitted a message when a non-permitted sender
104
tried to send a message to it. This behaviour is operator-configurable.
105
If enabled, a message was emitted each time. That way an attacker could
106
effectively fill the disk via this facility. The message is now
107
emitted only once in a minute (this currently is a hard-coded limit,
108
if someone comes up with a good reason to make it configurable, we
109
will probably do that).
110
- doc bugfix: typo in v3 compatibility document directive syntax
111
thanks to Andrej for reporting
112
- imported other changes from 3.21.8 and 3.20.1 (see there)
113
---------------------------------------------------------------------------
114
Version 4.1.1 [DEVEL] (rgerhards), 2008-11-26
115
- added $PrivDropToGroup, $PrivDropToUser, $PrivDropToGroupID,
116
$PrivDropToUserID config directives to enable dropping privileges.
117
This is an effort to provide a security enhancement. For the limits of this
118
approach, see http://wiki.rsyslog.com/index.php/Security
119
- re-enabled imklog to compile on FreeBSD (brought in from beta)
120
---------------------------------------------------------------------------
121
Version 4.1.0 [DEVEL] (rgerhards), 2008-11-18
123
********************************* WARNING *********************************
124
This version has a slightly different on-disk format for message entries.
125
As a consequence, old queue files being read by this version may have
126
an invalid output timestamp, which could result to some malfunction inside
127
the output driver. It is recommended to drain queues with the previous
128
version before switching to this one.
129
********************************* WARNING *********************************
131
- greatly enhanced performance when compared to v3.
132
- added configuration directive "HUPisRestart" which enables to configure
133
HUP to be either a full restart or "just" a leightweight way to
135
- enhanced legacy syslog parser to detect year if part of the timestamp
136
the format is based on what Cisco devices seem to emit.
137
- added a setting "$OptimizeForUniprocessor" to enable users to turn off
138
pthread_yield calls which are counter-productive on multiprocessor
139
machines (but have been shown to be useful on uniprocessors)
140
- reordered imudp processing. Message parsing is now done as part of main
141
message queue worker processing (was part of the input thread)
142
This should also improve performance, as potentially more work is
144
- bugfix: compressed syslog messages could be slightly mis-uncompressed
145
if the last byte of the compressed record was a NUL
146
- added $UDPServerTimeRequery option which enables to work with
147
less acurate timestamps in favor of performance. This enables querying
148
of the time only every n-th time if imudp is running in the tight
149
receive loop (aka receiving messsages at a high rate)
150
- doc bugfix: queue doc had wrong parameter name for setting controlling
151
worker thread shutdown period
152
- restructured rsyslog.conf documentation
153
- bugfix: memory leak in ompgsql
154
Thanks to Ken for providing the patch
155
---------------------------------------------------------------------------
156
Version 3.22.1 [v3-stable] (rgerhards), 2009-04-??
157
- bugfix: invalid error message issued if $inlcudeConfig was on an empty
158
set of files (e.g. *.conf, where none such files existed)
159
thanks to Michael Biebl for reporting this bug
160
- bugfix: when run in foreground (but not in debug mode), a
161
debug message ("DoDie called") was emitted at shutdown. Removed.
162
thanks to Michael Biebl for reporting this bug
163
- bugfix: some garbagge was emitted to stderr on shutdown. This
164
garbage consisted of file names, which were written during
165
startup (key point: not a pointer error)
166
thanks to Michael Biebl for reporting this bug
167
- bugfix: startup and shutdown message were emitted to stdout
168
thanks to Michael Biebl for reporting this bug
169
- bugfix: error messages were not emitted to stderr in forked mode
170
(stderr and stdo are now kept open across forks)
171
- bugfix: internal messages were emitted to whatever file had fd2 when
172
rsyslogd ran in forked mode (as usual!)
173
Thanks to varmojfekoj for the patch
174
- small enhancement: config validation run now exits with code 1 if an
175
error is detected. This change is considered important but small enough
176
to apply it directly to the stable version. [But it is a border case,
177
the change requires more code than I had hoped. Thus I have NOT tried
178
to actually catch all cases, this is left for the current devel
179
releases, if necessary]
180
- bugfix: light and full delay watermarks had invalid values, badly
181
affecting performance for delayable inputs
182
- bugfix: potential segfault issue when multiple $UDPServerRun directives
183
are specified. Thanks to Michael Biebl for helping to debug this one.
184
- relaxed GnuTLS version requirement to 1.4.0 after confirmation from the
185
field that this version is sufficient
186
- bugfix: parser did not properly handle empty structured data
187
---------------------------------------------------------------------------
2
188
Version 3.22.0 [v3-stable] (rgerhards), 2009-04-21
3
189
This is the first stable release that includes the full functionality
4
190
of the 3.21.x version tree.