summaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: imfile "facility" input parameter improperly handledRainer Gerhards2013-09-181-1/+1
| | | | | | caused facility not to be set, and severity to be overwritten with the facility value. Thanks to forum user dmunny for reporting this bug.
* bugfix: small memory leak in imfile when $ResetConfigVariables was usedGrégory Nuyttens2013-09-131-2/+2
| | | | Thanks to Grégory Nuyttens for reporting this bug and providig a fix
* omelasticsearch: straighten out statistics countersRainer Gerhards2013-09-111-13/+13
| | | | | | Conflicts: plugins/omelasticsearch/omelasticsearch.c
* bugfix: some more build problems with newer json-c versionsRainer Gerhards2013-09-041-1/+1
| | | | Thanks to Michael Biebl for mentioning the problem.
* regression fix: previous fix introduced wrong default templateRainer Gerhards2013-09-031-1/+1
| | | | The faulty code was never released.
* make rsyslog use the new json-c pkgconfig file if availablehwoarang2013-09-035-5/+5
|
* bugfix: imfile parameter "persistStateInterval" was unusableRainer Gerhards2013-09-021-1/+1
| | | | | due to a case typo in imfile; work-around was to use legacy config Thanks to Brandon Murphy for reporting this bug.
* bugfix: imtcp addtlframedelimiter could not be set to zeroRainer Gerhards2013-08-261-1/+1
| | | | Thanks to Chris Norton for alerting us.
* Removed SPACE after "MAIL FROM:" and "RCPT TO:" as RFC5321 permits spaces.Andre Lorbach2013-08-141-2/+2
|
* Using OMSRsetEntry to set the default action template in omprogAndre Lorbach2013-08-061-8/+3
| | | | If there was no default template, a segfault occured on startup.
* Another fix for bugid# 468Andre Lorbach2013-07-241-8/+4
| | | | | Using OMSRsetEntry now to set the default action template when using new-style config. See here for more: http://bugzilla.adiscon.com/show_bug.cgi?id=468
* Fixing new style config format issues from bugid #468Andre Lorbach2013-07-241-9/+9
| | | | | See http://bugzilla.adiscon.com/show_bug.cgi?id=468 Removed CNFPARAM_REQUIRED from all optional parameters.
* Fixed another issue related to http://bugzilla.adiscon.com/show_bug.cgi?id=464Andre Lorbach2013-07-241-4/+9
| | | | | | Added check for empty batch data in endTransaction function. Avoids sending an unneeded curlPost, can happen when elasticsearch is shutdown while sending data to.
* Fixed a bug in curlPost related to ↵Andre Lorbach2013-07-241-2/+5
| | | | | | http://bugzilla.adiscon.com/show_bug.cgi?id=464 A Check was added for replylen before writting the 0 Byte to the end of reply data.
* Fixed bugid #464 in elasticsearch output moduleAndre Lorbach2013-07-231-0/+6
| | | | | | Added some libcurl options in checkConn to disable the bodyport of the request within this functions. Otherwise libcurl could have created a sigsegv when curl_easy_perform() was called.
* bugfix: omlibdbi did not properly close connection on some errorsRainer Gerhards2013-07-051-1/+3
| | | | | This happened to errors occuring in Begin/End Transaction entry points.
* omlibdbi: improve debug reporting on Begin/EndTXRainer Gerhards2013-07-051-3/+9
|
* minor code reductionRainer Gerhards2013-07-041-2/+1
|
* bugfix: double-free in omelasticsearchRainer Gerhards2013-07-021-1/+0
| | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=461 Thanks to Marius Ionescu for providing a detailled bug report
* bugfix: omrelp potential segfault at startup on invalid config parametersRainer Gerhards2013-06-251-1/+2
| | | | | Conflicts: ChangeLog
* imfile: remove redundant error mesageRainer Gerhards2013-06-251-2/+0
|
* typo fix ("listner" vs. "listener")Michael Biebl2013-06-252-2/+2
|
* imtcp: permit parameter name with typo for backward compatibilityRainer Gerhards2013-06-251-1/+3
|
* imtcp: fix typo in config parameter nameMichael Biebl2013-06-251-2/+2
|
* bugfix: potential segfault on rsyslog termination in imudpRainer Gerhards2013-06-251-1/+0
| | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=456
* bugfix: RainerScript object required parameters were not properly checkedRainer Gerhards2013-06-242-8/+2
| | | | this clould result to segfaults on startup if parameters were missing.
* bugfix: omrelp "template" parameter is NOT requiredRainer Gerhards2013-06-241-1/+1
|
* impstats: solve build problem on FreeBSDRainer Gerhards2013-06-241-0/+4
| | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=458
* imjournal: rate limiter was destructed too earlyRainer Gerhards2013-06-171-1/+1
| | | | | Too quick hacking, obviously, one too late, one too early, now it should fit ;) Thanks to Tomas Heinrich for pointing this out.
* 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-171-0/+3
| | | | | | | | | | | | | 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 ;)
* Add IgnorePreviousMessages option to imjournal.Milan Bartos2013-06-171-5/+31
| | | | | | | | | | | | | This option specifies whether imjournal should ignore messages that are currently in journal. This option is only used when there is no StateFile to avoid message loss. modified: doc/imjournal.html modified: plugins/imjournal/imjournal.c Conflicts: doc/imjournal.html plugins/imjournal/imjournal.c
* Merge branch 'tmp' into v7-stableRainer Gerhards2013-06-171-3/+3
|\ | | | | | | | | Conflicts: plugins/imjournal/imjournal.c
| * Rename legacy imjournal configs to have "imjournal" prepended.Milan Bartos2013-06-171-3/+3
| | | | | | | | | | modified: doc/imjournal.html modified: plugins/imjournal/imjournal.c
* | imjournal: add legacy config statement for ratelimitingRainer Gerhards2013-06-151-0/+4
| |
* | imjournal: add ratelimiting capabilityRainer Gerhards2013-06-151-8/+23
| | | | | | | | | | | | | | | | | | | | | | The original imjournal code did not support ratelimiting at all. We now have our own ratelimiter. This can mitigate against journal database corruption, when the journal re-sends old data. This is a current bug in systemd journal, but we won't outrule this to happen in the future again. So it is better to have a safeguard in place. By default, we permit 20,000 messages witin 10 minutes. This may be a bit restrictive, but given the risk potential it seems reasonable. Users requiring larger traffic flows can always adjust the value.
* | bugfix: prevent a segfault if state file is not definedTomas Heinrich2013-06-141-12/+31
| |
* | bugfix: be more tolerant to malformed journal fieldsTomas Heinrich2013-06-101-1/+8
| | | | | | | | | | | | This prevents a segfault when a malformed journal entry field doesn't contain an equal sign. Should not ever happen but was actually triggered by a real bug in systemd journal.
* | bugfix imzmq3: potential segfault on startupHongfei Cheng2013-06-061-13/+57
|/ | | | if no problem happend at startup, everything went fine
* 0mq fixes; credits to Hongfei Cheng and Brian KnoxRainer Gerhards2013-06-044-397/+613
|
* bugfix: postpone the start of the imgssapi listenerTomas Heinrich2013-06-031-2/+19
| | | | | | | | | | | If the listen socket is opened earlier (during configuration parsing), it is closed again during early init. The start has been postponed to the 'runInput' stage, which has an unpleasant side effect that it will fail if the priviledges are dropped. The code should be eventually fixed to support the new config system.
* bugfix: imjournal should respect termination requestTomas Heinrich2013-05-261-11/+67
| | | | | sd_journal_wait() ignores EINTR and this behavior interferes with module's termination signaling. Therefore, poll() is used instead.
* bugfix: imjournal's thread shouldn't be canceledTomas Heinrich2013-05-261-2/+8
| | | | | Because of cancelation, the correct possition in the journal was lost. This resulted in duplicate messages appearing in the logs.
* Eliminate sleep in imjournal code with sd_journal_waitMilan Bartos2013-05-221-5/+6
| | | | modified: plugins/imjournal/imjournal.c
* Remove redundat cflags and links to librariesTomas Heinrich2013-05-202-4/+4
| | | | | This prevents linking with libee, liblognorm and libgcrypt when not necessary.
* Don't #include libestr and libee headers when not necessaryTomas Heinrich2013-05-202-3/+1
| | | | | Through msg.h, many unrelated components needlessly required LIBEE_CFLAGS.
* Clean up warnings in imjournal and omjournalTomas Heinrich2013-05-202-9/+14
|
* Imjournal state files can be stored in WorkDirectoryMilan2013-05-201-2/+14
| | | | | | When the imjournal state file path doesn't start with '/', then it's by default stored in WorkDirectory. When path starts with '/', full path is used.
* Add missing pid part of syslog tag.Milan Bartos2013-05-141-3/+24
|
* Fix a condition in imjournalTomas Heinrich2013-05-141-1/+10
| | | | | This prevented state file from being written with newer systemd. Add some more debug information.