summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* lmsig_gt: remove no longer needed error messageRainer Gerhards2013-06-251-2/+0
| | | | This is now properly handled inside rsyslog core.
* bugfix: lmsig_gt abort on invalid configuration parametersRisto Laanoja2013-06-251-2/+10
| | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=448
* build: fix issues on FreeBSDRainer Gerhards2013-06-253-3/+5
| | | | | The last fix was incomplete. Thanks to Christiano for testing and suggestions.
* typo fix ("listner" vs. "listener")Michael Biebl2013-06-251-1/+1
|
* $uptime property: fix mem leak and build problems on FreeBSDRainer Gerhards2013-06-241-3/+27
|
* solve build problem on FreeBSDRainer Gerhards2013-06-241-1/+5
| | | | Thanks to Christiano for reporting this problem.
* imjournal fix: put ratelimiter destruction in wrong entry pointRainer Gerhards2013-06-171-1/+1
| | | | No regression, this was in recently written, never-released code.
* implement new ratelimiting mode for imjournalRainer Gerhards2013-06-172-1/+17
| | | | | | | | | | | | | and make imjournal use it. The new mode is needed, as imjournal uses journal's timestamp as message generation time (which otherwise is when the message entered the system, and the ratelimiter uses this as current timestamp in order to save performance). It is debatable if imjournal is doing the right thing here. But it doesn't feel totally wrong. So let's safe that debate for later ;)
* bugfix: prevent calling tellLostCnt() twiceTomas Heinrich2013-06-121-1/+1
|
* bugfix: prevent another endless loop in the ratelimiterTomas Heinrich2013-06-121-1/+1
| | | | | | The message that reports how many messages were lost due to ratelimiting was sent before reseting the state that led to it. If it itself got ratelimited, this could lead to an endless loop.
* bugfix: prevent an endless loop in the ratelimiterTomas Heinrich2013-06-101-2/+2
| | | | | | | | | If messages are being dropped because of ratelimiting, an internal message is generated to inform about this fact. This should happen only uppon the firs occurance but the counter that tracks the number of dropped messages was incremented only after sending the message. If the message itself gets ratelimited, an endless loop spins out of control. Thanks to Jerry James for notifying about this.
* bugfix: $template statement with multiple spaces lead to invalid tpl nameRainer Gerhards2013-05-271-0/+18
| | | | | | | | | | | | | If multiple spaces were used in front of the template name, all but one of them became actually part of the template name. So $template a,"..." would be name " a", and as such "a" was not available, e.g. in *.* /var/log/file;a This is a legacy config problem. As it was unreported for many years, no backport of the fix to old versions will happen. This is a long-standing bug that was only recently reported by forum user mc-sim. Reference: http://kb.monitorware.com/post23448.html
* Remove redundat cflags and links to librariesTomas Heinrich2013-05-201-3/+3
| | | | | This prevents linking with libee, liblognorm and libgcrypt when not necessary.
* Don't #include libestr and libee headers when not necessaryTomas Heinrich2013-05-201-2/+0
| | | | | Through msg.h, many unrelated components needlessly required LIBEE_CFLAGS.
* bugfix: potential hang *in debug mode* on rsyslogd terminationRainer Gerhards2013-05-151-7/+10
|
* bugfix: .logsig files had tlv16 indicator bit at wrong offsetRainer Gerhards2013-05-142-3/+3
|
* cosmetic: reduce compiler warningMarius Tomaschewski2013-05-141-1/+1
| | | | | | init variable that does not really need to be initialized, as it is immediately overwritten - but the compiler is not smart enough to see that
* bugfix: invalid addressing in string class (recent regression)Rainer Gerhards2013-05-133-8/+7
|
* bugfix: segfault on startup if a disk queue was configure without file nameRainer Gerhards2013-05-082-0/+7
| | | | | Now this triggers an error message and the queue is changed to linkedList type.
* Merge branch 'v7-stable'Rainer Gerhards2013-05-061-1/+5
|\
| * bugfix: potential segfault on startup when builtin module was specified in ↵Rainer Gerhards2013-05-061-1/+5
| | | | | | | | | | | | module() statement. Thanks to Marius Tomaschewski for reporting the bug.
* | build: fix build if libgcrypt support is disabledMichael Biebl2013-04-261-1/+1
| | | | | | | | | | | | We don't want to hard-code `libgcrypt-config --libs` at various. Also, make sure LIBGCRYPT_CFLAGS and LIBGCRYPT_LIBS are correctly substituted.
* | bugfix: build problems on SolarisJohn Lyman2013-04-251-1/+1
| | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=436
* | fix invalid include dependency in encryption supportRainer Gerhards2013-04-241-1/+1
| |
* | cleanupRainer Gerhards2013-04-245-16/+4
| |
* | omelasticsearch: _id field support for bulk operationsJérôme Renard2013-04-241-8/+8
| | | | | | | | | | | | also max number of templates for plugin use has been increased to five closes: http://bugzilla.adiscon.com/show_bug.cgi?id=392
* | platform compatibility enhancement: solve compile issue with libgcryptRainer Gerhards2013-04-241-0/+2
| | | | | | | | do not use GCRY_CIPHER_MODE_AESWRAP where not available
* | bugfix: block size limit was not properly honoredRainer Gerhards2013-04-231-0/+1
| |
* | bugfix: potential segfault in guardtime signature providerRainer Gerhards2013-04-231-1/+1
| | | | | | | | | | it could segfault if an error was reported by the GuardTime API, because an invalid free could happen then
* | some minor additions to 7.3.11v7.3.11Rainer Gerhards2013-04-231-0/+1
| |
* | Merge branch 'master-crypto'Rainer Gerhards2013-04-1710-8/+1162
|\ \ | | | | | | | | | | | | Conflicts: ChangeLog
| * | logenc: add key-program support to rsyslog crypto providerRainer Gerhards2013-04-151-3/+20
| | |
| * | logenc: add capability to use key generation program to rscryutilRainer Gerhards2013-04-121-0/+129
| | |
| * | logenc: full support for keyfilesRainer Gerhards2013-04-121-4/+26
| | | | | | | | | | | | including their generation via rscrytool
| * | logenc: support keyfiles in rscryutilRainer Gerhards2013-04-124-7/+88
| | |
| * | logenc: add parameters to select cipher algo and modeRainer Gerhards2013-04-124-25/+102
| | |
| * | logenc: rscryutil can now decrypt multi-block logfilesRainer Gerhards2013-04-123-4/+7
| | |
| * | logenc: milestone: rsyslog writes .encinfo side filesRainer Gerhards2013-04-116-19/+229
| | |
| * | cleanupRainer Gerhards2013-04-111-40/+0
| | |
| * | log encryption: check length of "key" parameterRainer Gerhards2013-04-113-4/+10
| | |
| * | log encryption: add rscrytool to decrypt log filesRainer Gerhards2013-04-054-20/+47
| | | | | | | | | | | | also add test parameter to be able to set key
| * | log encryption: initial PoC implementationRainer Gerhards2013-04-059-7/+629
| | | | | | | | | | | | rough baseline, needs to be extended for actual use.
* | | bugfix: prevent a segfault if ratelimit condition is not metTomas Heinrich2013-04-132-1/+15
| | | | | | | | | | | | | | | | | | Move the severity-check logic inside the ratelimiter and add a new function ratelimitSetSeverity() to manipulate the treshold. Currently only utilized by the imuxsock module.
* | | Utilize the new rsCStr*Strf() functionsTomas Heinrich2013-04-091-23/+9
| | |
* | | Check return code from gnutls_x509_crt_get_*_dnTomas Heinrich2013-04-091-20/+35
| | | | | | | | | | | | Enlarge the supplied buffer if necessary.
* | | Add new string functions that take a printf-style fmtTomas Heinrich2013-04-092-0/+79
| | |
* | | Merge branch 'c7' into tmpRainer Gerhards2013-04-094-3/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac runtime/queue.c
| * | | make imrelp properly terminate on system shutdownRainer Gerhards2013-04-091-1/+4
| | | | | | | | | | | | | | | | it didn't do so if it was inside a retry loop
| * | | add output module interface to facilitate cooperative shutdownRainer Gerhards2013-04-084-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | ... in more complex cases (where receiving SIGTTIN is not sufficient). See also: http://blog.gerhards.net/2013/04/rsyslog-output-plugin-wrangling.html
* | | | Merge branch 'c7'Rainer Gerhards2013-04-081-1/+3
|\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog