Rainer Gerhards
4b29a27782
doc: ./configure --help invalidly showed imdiag enabled by default
...
Thanks to Frédéric L. W. Meunier for bringing this to my attention.
2011-07-06 07:23:35 +02:00
Rainer Gerhards
53957a73fe
preparing for 4.6.6
v4.6.6
2011-06-24 08:42:39 +02:00
Rainer Gerhards
3135b3335d
Merge branch 'v3-stable' into v4-stable
...
Conflicts:
runtime/datetime.c
2011-06-16 17:53:29 +02:00
Rainer Gerhards
da52cbae52
bugfix: timestamp was incorrectly calculated for timezones with minute offset
...
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=271
2011-06-16 17:35:45 +02:00
Rainer Gerhards
a201de795a
doc: clarified requirements for $WorkDirectory directive
2011-06-15 12:02:39 +02:00
Rainer Gerhards
bcd956d4d5
bugfix: memory leak in imtcp & subsystems under some circumstances
...
This leak is tied to error conditions which lead to incorrect cleanup
of some data structures. [backport from v6, limited testing under v4]
2011-06-14 12:52:02 +02:00
Rainer Gerhards
f847c2dda3
cleanup: removed useless & undocumented config directive from imrelp
2011-05-20 11:35:26 +02:00
Rainer Gerhards
cdae37d737
bugfix: invalid processing in QUEUE_FULL condition
...
If the the multi-submit interface was used and a QUEUE_FULL condition
occured, the failed message was properly destructed. However, the
rest of the input batch, if it existed, was not processed. So this
lead to potential loss of messages and a memory leak. The potential
loss of messages was IMHO minor, because they would have been dropped
in most cases due to the queue remaining full, but very few lucky ones
from the batch may have made it. Anyhow, this has now been changed so
that the rest of the batch is properly tried to be enqueued and, if
not possible, destructed.
2011-05-11 10:15:24 +02:00
Rainer Gerhards
831ce25230
bugfix: invalid storage type for config variables
2011-05-09 12:29:07 +02:00
Tomas Heinrich
816ab51f4b
bugfix: stream driver mode was not correctly set on tcp ouput on big endian systems.
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2011-05-09 12:24:14 +02:00
Rainer Gerhards
678a904620
bugfix: memory and file descriptor leak in stream processing
...
Leaks could occur under some circumstances if the file stream handler
errored out during the open call. Among others, this could cause very
big memory leaks if there were a problem with unreadable disk queue
files. In regard to the memory leak, this
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=256
2011-05-03 09:41:35 +02:00
Rainer Gerhards
921bebc8ee
bugfix: TCP connection invalidly aborted when messages needed to be discarded
...
due to QUEUE_FULL or similar problem
2011-05-02 12:43:58 +02:00
Rainer Gerhards
d13ec67f9a
slightly more informative errmsg when TCP connection is aborted
2011-05-02 12:03:42 +02:00
Rainer Gerhards
e7deab65dc
bugfix: IPv6-address could not be specified in omrelp
...
this was due to improper parsing of ":"
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=250
2011-04-14 12:47:04 +02:00
Rainer Gerhards
4195f9cb08
added new test for imfile to testbench
2011-03-11 10:58:07 +01:00
Rainer Gerhards
765317d54e
improved tcpflood test tool to support many more connections
...
even on platforms that place a low limit on the number of
file descriptors per processes. The tool now increases the
fd limit as required.
2011-03-10 15:13:31 +01:00
Rainer Gerhards
c1760db6bb
bugfix: omlibdbi did not use password from rsyslog.con
...
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=203
2011-03-09 13:01:57 +01:00
Rainer Gerhards
6bad782f15
bugfix: abort if imfile reads file line of more than 64KiB
...
Thanks to Peter Eisentraut for reporting and analysing this problem.
bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=221
2011-02-10 17:54:09 +01:00
Rainer Gerhards
cdc27aea8f
imfile bugfix: potential duplication of log content
...
Under some circumstances an invalid truncation was detected. This
code has now been removed, a file change (and thus resent) is only
detected if the inode number changes.
2011-01-10 08:22:50 +01:00
Rainer Gerhards
25ff60f523
forgot the actual patch with the last commit :(
2010-12-17 18:34:39 +01:00
Rainer Gerhards
5085587806
bugfix: imfile potentially duplicates lines
...
This can happen when 0 bytes are read from the input file, and some
writer appends data to the file BEFORE we check if a rollover happens.
The check for rollover uses the inode and size as a criterion. So far,
we checked for equality of sizes, which is not given in this scenario,
but that does not indicate a rollover. From the source code comments:
Note that when we check the size, we MUST NOT check for equality.
The reason is that the file may have been written right after we
did try to read (so the file size has increased). That is NOT in
indicator of a rollover (this is an actual bug scenario we
experienced). So we need to check if the new size is smaller than
what we already have seen!
2010-12-17 18:18:57 +01:00
Rainer Gerhards
371a8eec29
some cleanup based on clang static analyzer results
2010-12-16 12:57:55 +01:00
Rainer Gerhards
75bfef7fa1
Merge branch 'v3-stable' into v4-stable
...
Conflicts:
ChangeLog
2010-12-16 12:21:10 +01:00
Rainer Gerhards
ec6230cffe
improved some code based on clang static analyzer results
2010-12-16 12:16:54 +01:00
Michael Biebl
d2dc913edc
typo fix (thanks to Björn Påhlsson for finding it!)
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-11-30 15:48:48 +01:00
Rainer Gerhards
ed2a2fd829
Merge branch 'v4.4.2a' into v4-stable
...
Conflicts:
ChangeLog
configure.ac
plugins/imfile/imfile.c
runtime/stream.c
2010-11-25 12:52:24 +01:00
Rainer Gerhards
da8670d37a
final preparations for release
v4.6.5
2010-11-24 15:57:59 +01:00
Rainer Gerhards
600bc06638
Merge branch 'v3-stable' into v4-stable
...
Conflicts:
ChangeLog
configure.ac
2010-11-24 11:25:22 +01:00
Rainer Gerhards
925504d565
bugfix(important): problem in TLS handling could cause rsyslog to loop
...
... in a tight loop, effectively disabling functionality and bearing the
risk of unresponsiveness of the whole system.
Bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=194
v3.22.3
2010-11-24 11:14:21 +01:00
Rainer Gerhards
0a24b3afc0
fixing some compile problems on FreeBSD
2010-10-19 12:39:48 +02:00
Rainer Gerhards
7cdc7cbaa0
better error messages in testbench
2010-10-22 14:28:31 +02:00
Rainer Gerhards
c27a2ab686
fixed incomplete merge
2010-10-15 07:47:31 -07:00
Rainer Gerhards
90933057bc
imfile: bugfixes in regard to large files (> 2GB)
...
- bugfix: a couple of problems that imfile had on some platforms, namely
Ubuntu (not their fault, but occured there)
- bugfix: imfile utilizes 32 bit to track offset. Most importantly,
this problem can not experienced on Fedora 64 bit OS (which has
64 bit long's!)
2010-10-15 16:39:10 +02:00
Rainer Gerhards
d1846d8561
patched version number
2010-10-15 11:23:03 +02:00
Rainer Gerhards
205410c23a
bugfix: a couple of problems that imfile had on some platforms
...
namely Ubuntu (not their fault, but occured there)
2010-10-15 06:37:58 -07:00
Rainer Gerhards
ddcb7d9af0
bugfix: imfile utilizes 32 bit to track offset
...
Most importantly, this problem can not experienced on recent Fedora
64 bit OS (which has 64 bit long's!)
2010-10-15 09:58:07 +02:00
Tom Bergfeld
e1437c7aa4
minor doc fix: updated tls doc to match new gnutls toolset
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-09-08 13:48:37 +02:00
Rainer Gerhards
318adf58de
preparing for 4.6.4
v4.6.4
2010-08-05 13:57:12 +02:00
Rainer Gerhards
9b3ed84087
Merge branch 'v3-stable' into v4-stable
...
Conflicts:
ChangeLog
configure.ac
doc/manual.html
doc/professional_support.html
2010-08-05 11:37:38 +02:00
Rainer Gerhards
33a2855c69
preparing for 3.22.2
v3.22.2
2010-08-05 11:33:14 +02:00
Rainer Gerhards
d51aefc052
Merge branch 'v3-stable' into v4-stable
...
Conflicts:
runtime/conf.c
2010-08-05 08:32:06 +02:00
Kiss Gabor (Bitman)
f2ec2e9b20
program name filter ! in the configuration cannot be reset
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-08-05 08:25:57 +02:00
Rainer Gerhards
3c1895a699
bugfix: zero-sized (empty) messages were processed by imtcp
...
they are now dropped as they always should have been
2010-07-28 18:20:13 +02:00
Rainer Gerhards
707df8c161
bumped version number
2010-07-07 12:05:06 +02:00
Rainer Gerhards
a71ce0f8b1
preparing for 4.6.3
v4.6.3
2010-07-07 12:01:57 +02:00
varmojfekoj
9de526eccd
bugfix: segfault on HUP when "HUPIsRestart" was set to "on"
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-07-05 14:41:32 +02:00
Rainer Gerhards
fcb747c57d
some doc fixes; incorrect config samples could cause confusion
...
thanks to Anthony Edwards for pointing the problems out
2010-05-20 16:43:46 +02:00
Rainer Gerhards
4ebd062564
solving a number of minor (but annoying) issues in the build system
2010-04-12 14:59:52 +02:00
Rainer Gerhards
1e1cbdb971
added new configure option that permits to disable and enable an extended testbench
2010-04-12 14:31:03 +02:00
Rainer Gerhards
58336e021c
doc bugfix: $OMFileFlushOnTXEnd wrongly documented
2010-04-07 14:48:29 +02:00