summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | added sponsor information - thanks to BlinkMind for sponsoring $PreserveFQDNRainer Gerhards2008-12-081-0/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | added $PreserveFQDN config file directiveRainer Gerhards2008-12-087-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enables to use FQDNs in sender names where the legacy default
| * | | | | | | | | | | | bugfix: imudp went into an endless loop under some circumstancesRainer Gerhards2008-12-082-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (but could also leave it under some other circumstances...) Thanks to David Lang and speedfox for reporting this issue.
| * | | | | | | | | | | | preparing for 4.1.2 releasev4.1.2Rainer Gerhards2008-12-052-10/+10
| | | | | | | | | | | | |
| * | | | | | | | | | | | doc bugfix: typo in v3 compatibility documentRainer Gerhards2008-12-052-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thanks to Andrej for reporting
| * | | | | | | | | | | | fixed some compiler warningsRainer Gerhards2008-12-052-0/+3
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge branch 'beta'Rainer Gerhards2008-12-052-5/+44
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imudp/imudp.c
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'beta'Rainer Gerhards2008-12-0417-59/+184
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/rsyslog_conf.html plugins/imudp/imudp.c runtime/rsyslog.h
| * | | | | | | | | | | | | | some cleanup (forgotten...)Rainer Gerhards2008-12-031-4/+1
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | bugfix: code did not compile without zlibRainer Gerhards2008-12-032-1/+8
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | updated project statusRainer Gerhards2008-11-261-9/+9
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | fixing issue with test suite which was not yet adapted to v4v4.1.1Rainer Gerhards2008-11-262-7/+7
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge branch 'beta'Rainer Gerhards2008-11-264-3/+19
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'droppriv'Rainer Gerhards2008-11-267-6/+157
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/manual.html
| | * | | | | | | | | | | | | | | added ability to drop privilegesRainer Gerhards2008-11-267-5/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added $PrivDropToGroup, $PrivDropToUser, $PrivDropToGroupID, $PrivDropToUserID config directives to enable dropping privileges. This is an effort to provide a security enhancement. For the limits of this approach, see http://wiki.rsyslog.com/index.php/Security
| | * | | | | | | | | | | | | | | exprimental implementaiton of $PrivDropToUser directiveRainer Gerhards2008-11-191-4/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... which permits to drop root privileges. This is not a completely secure way of dropping permissions, e.g. the group permissions need to be dropped, too. Also, there are several vulnerability Windows (see code comments). Finally, at least the imklog module on linux does not work when privileges are dropped. This code may still be a valuable addition, and so I have created an experimental branch so that people can check it out.
| * | | | | | | | | | | | | | | | improved doc a bitRainer Gerhards2008-11-262-2/+9
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | doc bugfix: property-based filter had inconsistent descriptionRainer Gerhards2008-11-211-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thank to Peter Matulis for pointing this out. Actually, all compare operations described exist.
| * | | | | | | | | | | | | | | | improved doc a bigRainer Gerhards2008-11-212-44/+38
| |/ / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | enhanced legacy syslog parser to detect year if part of the timestampv4.1.0Rainer Gerhards2008-11-182-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The format is based on what Cisco devices seem to emit.
| * | | | | | | | | | | | | | | Merge branch 'beta'Rainer Gerhards2008-11-182-2/+6
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'beta'Rainer Gerhards2008-11-189-9/+144
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/property_replacer.html
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'nextmaster'Rainer Gerhards2008-11-18104-1441/+2655
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | doc: added new nomatch modeRainer Gerhards2008-11-111-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: the actual nomatch mode is not yet available in this code, this needs to be merged from v3-stable first. This happens soon, but I wanted to make sure the doc is right.
| | * | | | | | | | | | | | | | | | | improved doc on property replacer regular expressionsRainer Gerhards2008-11-113-7/+41
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | added forgotten filesRainer Gerhards2008-11-118-0/+1343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | they were new after restructuring the doc...
| | * | | | | | | | | | | | | | | | | doc: added link to regular expression checker online toolRainer Gerhards2008-11-071-0/+1
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | restructured rsyslog.conf documentationTom Bergfeld2008-10-3155-1239/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | * | | | | | | | | | | | | | | | | updated support optionsRainer Gerhards2008-10-281-1/+25
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | added configuration directive "HUPisRestart"Rainer Gerhards2008-10-2313-62/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...which enables to configure HUP to be either a full restart or "just" a leightweight way to close open files
| | * | | | | | | | | | | | | | | | | added a setting "$OptimizeForUniprocessor"Rainer Gerhards2008-10-2210-5/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...to enable users to turn off pthread_yield calls which are counter-productive on multiprocessor machines (but have been shown to be useful on uniprocessors)
| | * | | | | | | | | | | | | | | | | Merge branch 'master' into nextmasterRainer Gerhards2008-10-2211-63/+140
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| | * | | | | | | | | | | | | | | | | | bugfix: (potentially big) memory leak on HUPRainer Gerhards2008-10-212-13/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This occured if queues could not be drained before timeout. Thanks to David Lang for pointing this out.
| | * | | | | | | | | | | | | | | | | | moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-0913-38/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables us to use more efficient calling conventions and also helps us keep the on-disk structure of a msg object more consistent in future releases.
| | * | | | | | | | | | | | | | | | | | Merge branch 'master' into perfRainer Gerhards2008-10-092-1/+4
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | | minor: reorder to slightly reduce size of critical sectionRainer Gerhards2008-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | added experimental pthread_yield()Rainer Gerhards2008-10-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which so far seems to increase performance. There is also reason for it to do so, see http://kb.monitorware.com/post14216.html#p14216
| | * | | | | | | | | | | | | | | | | | | restoring msg parsing for imudpRainer Gerhards2008-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I tried to work too quick this morning. A side-effect of an earlier change was that no UDP messages were parsed, which lead to their loss, because no PRI was set in this case.
| | * | | | | | | | | | | | | | | | | | | bumped interface version number to reflect change to message parsingRainer Gerhards2008-10-092-2/+5
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | fixing segfault caused by all inputs but imudpRainer Gerhards2008-10-092-1/+3
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | reordered imudp processing.Rainer Gerhards2008-10-0811-20/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Message parsing is now done as part of main message queue worker processing (was part of the input thread) This should also improve performance, as potentially more work is done in parallel.
| | * | | | | | | | | | | | | | | | | | | restructured imudp receive loopRainer Gerhards2008-10-082-60/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cleaned up previous code and redid it in a way that makes it much easier to extend it also added a new macro DBGPRINTF which is a performance-optimzed version of dbgprintf
| | * | | | | | | | | | | | | | | | | | | cleanup of output timestamp generationRainer Gerhards2008-10-072-36/+6
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | "output" timestamp now taken from mesg's time generatedRainer Gerhards2008-10-0713-33/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enhances performance and, as some have pointed out, is probably also more consistent with what users expect how the various output-timestamp related function should work. This commit needs some more testing.
| | * | | | | | | | | | | | | | | | | | | slightly improved lock contention situation by moving out ofRainer Gerhards2008-10-071-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the critical section what could so with acceptable consequences
| | * | | | | | | | | | | | | | | | | | | simple (yet efficient) name caching added to imudpRainer Gerhards2008-10-071-2/+18
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | added $UDPServerTimeRequery optionRainer Gerhards2008-10-0610-35/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...which enables to work with less acurate timestamps in favor of performance. This enables querying of the time only every n-th time if imudp is running in the tight receive loop (aka receiving messsages at a high rate)
| | * | | | | | | | | | | | | | | | | | | Merge branch 'master' into perfRainer Gerhards2008-10-067-7/+18
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * | | | | | | | | | | | | | | | | | | | very minor: performance optimization hint addedRainer Gerhards2008-10-021-0/+1
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | performance-optimized imudpRainer Gerhards2008-10-022-34/+46
| | | | | | | | | | | | | | | | | | | | | |