summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* doc bugfix: some spelling errors in man pages correctedGeoff Simmons2008-12-182-9/+11
| | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* some legacy options were not correctly processedvarmojfekoj2008-12-102-3/+6
| | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* backport of $AllowedSender security fixv3.18.6Rainer Gerhards2008-12-0811-54/+90
| | | | | | | - security bugfix: $AllowedSender was not honored, all senders were permitted instead (see http://www.rsyslog.com/Article322.phtml) (backport from v3-stable, v3.20.9) - minor bugfix: dual close() call on tcp session closure
* preparing for 3.18.5 releasev3.18.5Rainer Gerhards2008-10-091-1/+1
|
* Merge branch 'v2-stable' into v3-stableRainer Gerhards2008-10-092-0/+4
|\ | | | | | | | | | | Conflicts: syslogd.c
| * bugfix: memory leaks in rsyslogd, primarily in singlethread modeFederico Nunez2008-10-091-0/+2
| | | | | | | | | | | | | | | | | | Thanks to Frederico Nunez for providing the fix. The actual patch was commited before this one - unfortunately I forgot to set the author correct when commiting it and then it was pushed to the online repository. Sorry for this ;) Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * fixed memory leaksRainer Gerhards2008-10-092-1/+7
| | | | | | | | | | | | | | - a big one in syslogd.c, which caused messages not to be freed when compiled for single-threading mode - a small one in the file output handler, outchannels, when a size-reached action was to be executed
* | bugfix[minor]: light delay queue mark not properly handledRainer Gerhards2008-10-092-1/+4
| | | | | | | | | | | | if queue size reached light_delay mark, enqueuing could potentially be blocked for a longer period of time, which was not the behaviour desired.
* | bugfix: rsyslogd could hang on HUPRainer Gerhards2008-10-022-3/+28
| | | | | | | | | | | | because getnameinfo() is not cancel-safe, but was not guarded against being cancelled. pthread_cancel() is routinely being called during HUP processing.
* | added doc on how to build from source repositoryRainer Gerhards2008-10-017-8/+77
| |
* | added index.html as an entry point to the manualRainer Gerhards2008-09-242-0/+33
| | | | | | | | thanks to Michael Biebl for suggesting it
* | doc fix: the gss-api output plugin is called omgssapiMichael Biebl2008-09-241-2/+2
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | added doc on malformed messages, cause and how to work-around, to the doc setRainer Gerhards2008-09-234-6/+205
| |
* | doc bugfix: $ActionExecOnlyWhenPreviousIsSuspended was still misspelledRainer Gerhards2008-09-222-4/+7
| | | | | | | | | | ... as $...OnlyIfPrev... in some parts of the documentation. Thanks to Lorenzo M. Catucci for reporting this bug.
* | bugfix: imudp input module could cause segfault on HUPRainer Gerhards2008-09-222-2/+9
| | | | | | | | | | It did not properly de-init a variable acting as a linked list head. That resulted in trying to access freed memory blocks after the HUP.
* | bumped version numberRainer Gerhards2008-09-183-2/+4
| |
* | preparing for 3.18.4v3.18.4Rainer Gerhards2008-09-181-1/+1
| |
* | Merge branch 'v2-stable' into v3-stableRainer Gerhards2008-09-121-0/+8
|\| | | | | | | | | | | | | Conflicts: ChangeLog syslogd.c
| * bugfix: copy&paste error lead to dangling ifRainer Gerhards2008-09-122-1/+8
| | | | | | | | | | | | | | | | this caused a very minor issue with re-formatting a RFC3164 date when the message was invalidly formatted and had a colon immediately after the date. This was in the code for some years (even v1 had it) and I think it never had any effect at all in practice. Though, it should be fixed - but definitely nothing to worry about.
* | bugfix: colon after date should be ignored, but was not.Rainer Gerhards2008-09-124-9/+34
| | | | | | | | | | This has now been corrected. Required change to the internal ParseTIMESTAMP3164() interface.
* | bugfix: option value for legacy -a option could not be specifiedMarius Tomaschewski2008-09-102-1/+4
| | | | | | | | | | | | resulting in strange operations. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | bugfix: incorrect default discard severity could cause message lossRainer Gerhards2008-09-103-2/+8
| | | | | | | | | | | | | | | | | | default discard severity was incorrectly set to 4, which lead to discard-on-queue-full to be enabled by default. That could cause message loss where non was expected. The default has now been changed to the correct value of 8, which disables the functionality. This problem applied both to the main message queue and the action queues. Thanks to Raoul Bhatia for pointing out this problem.
* | bugfix: error code -2025 was used for two different errors.Rainer Gerhards2008-09-042-1/+4
| | | | | | | | | | | | Queue full is now -2074 and -2025 is unique again. (did cause no real problem except for troubleshooting)
* | doc bugfix: rsyslog.conf man page improved and minor nit fixedLukas Kuklinek2008-09-022-1/+51
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | bumped version numberRainer Gerhards2008-09-013-2/+4
| |
* | bugfix: order-of magnitude issue with base-10 size definitions in config ↵RB2008-09-012-5/+10
| | | | | | | | | | | | | | | | | | | | file parser. Could lead to invalid sizes, constraints etc for e.g. queue files and any other object whose size was specified in base-10 entities. Did not apply to binary entities. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | bugfix: action was not called when system time was set backwardsvarmojfekoj2008-09-012-0/+10
| | | | | | | | | | | | | | | | | | (until the previous time was reached again). There are still some side-effects when time is rolled back (A time rollback is really a bad thing to do, ideally the OS should issue pseudo time (like NetWare did) when the user tries to roll back time). Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | preparing for 3.18.3v3.18.3Rainer Gerhards2008-08-152-2/+2
| |
* | fixed cross-platform compile problem introduced with recent changeRainer Gerhards2008-08-152-7/+14
| | | | | | | | ...which fixed the imfile segfault issue.
* | updated syslog-ng comparison thanks to WilliamRainer Gerhards2008-08-151-4/+4
| |
* | bugfix: imfile could cause a segfault upon rsyslogd HUP and terminationRainer Gerhards2008-08-144-7/+19
| | | | | | | | | | Thanks to lperr for an excellent bug report that helped detect this problem.
* | disabled flow control for imuxsockRainer Gerhards2008-08-132-1/+5
| | | | | | | | | | | | It could cause system hangs under some circumstances. The devel (3.21.3 and above) will re-enable it and provide enhanced configurability to overcome the problems if they occur.
* | enhanced ommysql to support custom port to connect to serverRainer Gerhards2008-08-125-5/+73
| | | | | | | | | | | | Port can be set via new $ActionOmmysqlServerPort config directive Note: this was a very minor change and thus deemed appropriate to be done in the stable release.
* | bugfix: misspelled config directive + bumped version numberRainer Gerhards2008-08-124-3/+11
| | | | | | | | | | | | | | | | Previously was $MainMsgQueueWorkeTimeoutrThreadShutdown, is now $MainMsgQueueWorkerTimeoutThreadShutdown. Note that the misspelled directive is not preserved - if the misspelled directive was used (which I consider highly unlikely), the config file must be changed. Thanks to lperr for reporting the bug.
* | preparing for 3.18.2 releasev3.18.2Rainer Gerhards2008-08-082-2/+2
| |
* | Merge branch 'v2-stable' into v3-stableRainer Gerhards2008-08-073-2/+27
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog doc/manual.html doc/rsyslog_conf.html omfwd.c
| * bugfix: IPv6 addresses could not be specified in forwarding actionv2.0.6Rainer Gerhards2008-08-074-4/+26
| | | | | | | | | | New syntax @[addr]:port introduced to enable that. Root problem was IPv6 addresses contain colons. (backport from 3.21.3)
* | fixed a number of typosRyo Fujita2008-07-252-3/+3
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | use the $ModLoad syntax consistently.Michael Biebl2008-07-2214-41/+43
| | | | | | | | | | | | | | | | Update the documentation to use the new, preferred $ModLoad syntax: - no more MySQL - name of the in/output plugin without the trailing .so Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | bumped version numberRainer Gerhards2008-07-212-1/+3
| |
* | preparing for 3.18.1v3.18.1Rainer Gerhards2008-07-213-3/+4
| |
* | Update man pages, fix a small typoMichael Biebl2008-07-213-3/+3
| | | | | | | | | | | | | | - Update the version number and date in the man pages - s/imklogd/imklog/ Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | added new poperty replacer option, added missing documentationRainer Gerhards2008-07-186-8/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added a new property replacer option "sp-if-no-1st-sp" to cover a problem with RFC 3164 based interpreation of tag separation. While it is a generic approach, it fixes a format problem introduced in 3.18.0, where kernel messages no longer had a space after the tag. This is done by a modifcation of the default templates. Please note that this may affect some messages where there intentionally is no space between the tag and the first character of the message content. If so, this needs to be worked around via a specific template. However, we consider this scenario to be quite remote and, even if it exists, it is not expected that it will actually cause problems with log parsers (instead, we assume the new default template behaviour may fix previous problems with log parsers due to the missing space). - doc bugfix: property replacer options secpath-replace and secpath-drop were not documented
* | bugfix: remove PRI part from kernel message if it is presentRainer Gerhards2008-07-182-0/+3
| |
* | bugfix: imklog module was not correctly compiled for GNU/kFreeBSDPetr Salinger2008-07-182-0/+7
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | fixed typo in source commentRyo Fujita2008-07-162-2/+3
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | doc bugfix: fixed some typos in rsyslog.conf man pageRyo Fujita2008-07-162-5/+6
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | bugfix: mark messages were not correctly written to text log filesRainer Gerhards2008-07-152-0/+7
| | | | | | | | | | | | | | the markmessageinterval was not correctly propagated to all places where it was needed. This resulted in rsyslog using the default (20 minutes) in some code pathes, what looked to the user like mark messages were never written.
* | doc bugix: typos in man pageRainer Gerhards2008-07-151-2/+2
| | | | | | | | thanks to Ryo Fujita for pointing out the corrections.
* | bugfix: priority was incorrectly calculated on FreeBSD 7Rainer Gerhards2008-07-142-6/+15
| | | | | | | | | | | | | | because the LOG_MAKEPRI() C macro has a different meaning there (it is just a simple addition of faciltity and severity). I have changed this to use own, consistent, code for PRI calculation. [Backport from 3.19.10]