Rainer Gerhards
ec01259427
add "processInternalMessages" global config parameter
2014-01-21 11:50:06 +01:00
Tomas Heinrich
7dd396e7cd
Don't link rsyslogd with libee
...
The library isn't referenced from the main application,
only from mmnormalize.
2014-01-20 11:34:52 +01:00
Rainer Gerhards
8e754dd4b4
rsgt_tlvRecRead() sometimes retured IOERROR instead of EOF state
2013-12-20 15:49:22 +01:00
Rainer Gerhards
7b42e11dce
regression fix: last patch wrote to constant memory pool
...
This could lead to abort on some platforms/compiler/system settings.
2013-12-19 09:37:54 +01:00
Karol Jurak
64bea0db8d
typedefs.h: include sys/types.h instead of unistd.h to get off_t
2013-12-16 13:41:57 +01:00
Rainer Gerhards
22ad2d2f0a
re-enable legacy $WorkDir for queue spool directory use
2013-12-09 15:51:46 +01:00
Rainer Gerhards
91c3629d6a
regression fix: read queue spool directory after config file has been processed
...
note that this does not yet support legacy style $WorkDir
2013-12-09 15:51:31 +01:00
Karol Jurak
f6000c70fb
bugfix: limiting queue disk space did not work properly
2013-12-05 08:58:04 +01:00
Rainer Gerhards
b51dd22ff6
bugfix: linux kernel-like ratelimiter did not work properly with all inputs
...
(for example, it did not work with imdup). The reason was that
the PRI value was used, but that needed parsing of the message, which
was done too late.
2013-12-02 11:52:48 +01:00
Rainer Gerhards
778568eb79
queue: spool directory setting was not properly propagated to DA queue
2013-11-21 11:02:41 +01:00
Rainer Gerhards
c6828f7a5d
refactor queue spool directory config handling
2013-11-21 11:01:10 +01:00
Rainer Gerhards
3ed275481f
bugfix: legacy directive $ActionQueueWorkerThreads was not honored
...
Conflicts:
ChangeLog
runtime/queue.c
2013-11-19 18:30:13 +01:00
Rainer Gerhards
8752ce5a2e
do not adjust batch size for disk queues
2013-11-07 10:28:42 +01:00
Rainer Gerhards
6a27cd816c
do not complain for queue size on DA queues
2013-11-07 10:28:22 +01:00
Rainer Gerhards
7906ee389c
improved checking of queue config parameters on startup
2013-11-05 18:22:21 +01:00
Rainer Gerhards
a056dad8b3
emit warning message if queue.size is set dangerously low
2013-11-05 18:13:02 +01:00
Rainer Gerhards
a57c8cea99
Merge branch 'v7-stable-call-ruleset-queue' into v7-stable
...
Conflicts:
ChangeLog
2013-11-05 10:00:47 +01:00
Rainer Gerhards
17e1ee2539
remove memleak introduced by GenerateLocalHostName HUP bugfix
2013-10-28 14:17:56 +01:00
Rainer Gerhards
9a775051f7
bugfix: potential abort during HUP
...
This could happen when one of imklog, imzmq3, imkmsg, impstats,
imjournal, or imuxsock were under heavy load during a HUP.
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=489
Thanks to Guy Rozendorn for reporting the problem and Peval Levhshin for
his analysis.
2013-10-28 12:56:02 +01:00
Pavel Levshin
5bf1afd637
bugfix: Segmentation fault on incorrect variable assignment
2013-10-24 16:21:33 +02:00
Rainer Gerhards
a781f8b8b0
bugfix: invalid property filter was not properly disabled in ruleset
...
Note that this bugfix introduces a very slight memory leak, which is
cosmetic, as it just holds data until termination that is no longer
needed. It is just the part of the config that was invalid. We will
"fix" this "issue" in the devel version first, as the fix is a bit
too intrusive to do without hard need in the stable version.
2013-10-18 10:07:22 +02:00
Rainer Gerhards
7a40524f9b
bugfix: potential misadressing when trimming cstr's
2013-10-18 09:16:24 +02:00
Rainer Gerhards
f07c3c0d00
add missing function prototype
2013-10-18 07:45:18 +02:00
Rainer Gerhards
7d8948d9a1
cosmetic: remove compiler warnings
2013-10-18 07:35:14 +02:00
Rainer Gerhards
3b78f4c50c
remove no-longer needed data item
2013-09-25 17:30:19 +02:00
Rainer Gerhards
5a09d0915b
bugfix: segfault on startup if TCP TLS was used but no cert or key set
2013-09-13 12:08:56 +02:00
Rainer Gerhards
7903677bfb
Merge branch 'v7-stable' into v7-stable-tlsfix
...
Conflicts:
ChangeLog
runtime/rsyslog.h
2013-09-13 02:39:42 +02:00
Rainer Gerhards
ad77733062
bugfix: segfault on startup if TLS was used but no CA cert set
2013-09-13 02:37:06 +02:00
Rainer Gerhards
15921d4e4e
bugfix: build system: libgcrypt.h needed even if libgrcypt was disabled
...
Thanks to Jonny Törnbom for reporting this problem
Conflicts:
ChangeLog
runtime/cryprov.h
2013-09-12 09:39:40 +02:00
Rainer Gerhards
dd9bdb5566
bugfix: some more build problems with newer json-c versions
...
Thanks to Michael Biebl for mentioning the problem.
2013-09-04 10:07:16 +02:00
hwoarang
1c71b9628b
make rsyslog use the new json-c pkgconfig file if available
2013-09-03 11:38:01 +02:00
Ahto Truu
b1894b53f9
Using more appropriate helper function to get the error message
2013-09-02 14:56:04 +02:00
Ahto Truu
97f096e351
More careful TLV encoding/decoding
2013-09-02 14:55:01 +02:00
Rainer Gerhards
743680f78f
debug: improve queue startup debug output
2013-07-19 16:14:07 +02:00
Rainer Gerhards
c3784aab3c
Merge branch 'v6-stable' into tmp
2013-07-19 14:59:49 +02:00
Rainer Gerhards
ea4625e8a4
Merge branch 'v5-stable' into tmp
2013-07-19 14:59:09 +02:00
Tomas Heinrich
cbf7ab6f35
bugfix: correction to the interface of stream obj
...
The datatype of the argument to SetiMaxFileSize() was too small and
could overflow.
The SetMaxFileSize() interface wasn't used at all (possibly confused
with SetiMaxFileSize()) and was dropped.
2013-07-19 14:53:00 +02:00
Rainer Gerhards
e53c387e76
bugfix: $QHOUR/$HHOUR were always "00" or "01"
...
regression some time between v5 and here
Thanks to forum user rjmcinty for reporting this bug
2013-07-19 11:28:13 +02:00
Rainer Gerhards
62090c416c
regression fix: %d used for long long types in debug output
...
regression from recent DA queue bug fix set of patches; not present
in any released code.
2013-07-17 13:34:23 +02:00
Rainer Gerhards
cd2b917fef
cosmetic bugfix: file name buffer was not freed on disk queue destruction
...
This was an extremely small one-time per run memleak, so nothing of
concern. However, it bugs under valgrind and similar memory debuggers.
2013-07-17 13:33:13 +02:00
Rainer Gerhards
44699a0d15
bugfix: memory leak if disk queues were used and json data present
2013-07-17 13:28:17 +02:00
Rainer Gerhards
b6d843ab50
bugfix: CEE/json data was lost during disk queue operation
2013-07-17 12:52:47 +02:00
Rainer Gerhards
1c6449022c
add note on a potential future troublespot
2013-07-16 10:55:39 +02:00
d302fb7571
Fixed return state handling in ConsumerDA
...
The queue full loop fix added a problem to the queue when
rsyslog was shutdown. This problem has been corrected now.
Conflicts:
runtime/queue.c
2013-07-16 10:51:12 +02:00
Rainer Gerhards
b6d350ab9c
fix regression that caused freeInstance not to be correctly called
...
was introduced July, 5th 2013 by commit 8ee2b0b1610fbf4dff20453d188f379583410b42
2013-07-15 15:24:11 +02:00
495ae87520
bugfix: 100% CPU utilization when DA queue became full
2013-07-15 08:17:08 +02:00
Rainer Gerhards
bcb090ab8a
nit: use correct function names in new debug instrumentation
2013-07-13 16:04:12 +02:00
fd63b32409
Changed and extended debug output in queue/action classes for further analysis
2013-07-13 15:58:01 +02:00
2622100ac5
Added header in typedefs.h needed for building on ehel 5
2013-07-04 11:17:26 +02:00
Rainer Gerhards
50fc430ccd
bugfix: in RFC5425 TLS, multiple wildcards in auth could cause segfault
2013-06-27 15:14:09 +02:00