summaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | bugfix: omudpspoof miscalculated source and destination portsRainer Gerhards2009-11-121-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | while this was probably not noticed for source ports, it resulted in almost all destination ports being wrong, except for the default port of 514, which by virtue of its binary representation was calculated correct (and probably thus the bug not earlier detected).
* | | | | | more cleanup and working towards a parser module calling interfaceRainer Gerhards2009-11-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I cleaned up a lot of config variable access along the way. This version compiles and runs, but does not yet offer any enhanced functionality. pmrfc5424 is just a dummy that is not yet being used.
* | | | | | added omruleset output module, which provides great flexibility in action ↵Rainer Gerhards2009-11-023-1/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | processing. THIS IS A VERY IMPORTANT ADDITION, see its doc for why.
* | | | | | enhanced test environment (including testbench)Rainer Gerhards2009-10-2212-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support for enhancing probability of memory addressing failure by using non-NULL default value for malloced memory (optional, only if requested by configure option). This helps to track down some otherwise undetected issues within the testbench and is expected to be very useful in the future.
* | | | | | Merge branch 'newqueue'Rainer Gerhards2009-10-211-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/queue.c
| * \ \ \ \ \ Merge branch 'master' into newqueueRainer Gerhards2009-10-165-52/+38
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * \ \ \ \ \ \ Merge branch 'master' into newqueueRainer Gerhards2009-10-151-4/+4
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tools/syslogd.c
| * | | | | | | | new queue engine - initial commit (probably not 100% working!)Rainer Gerhards2009-10-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplified and thus speeded up the queue engine, also fixed some potential race conditions (in very unusual shutdown conditions) along the way. The threading model has seriously changes, so there may be some regressions. NOTE: the code passed basic tests, but there is still more work and testing to be done. This commit should be treated with care.
* | | | | | | | | bugfix: first UDP listener was incorrectly assigned its rulesetRainer Gerhards2009-10-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this was a regression of the recent imudp multi-ruleset enhancement bug was not in any released version
* | | | | | | | | my imfile cleanup was a bit too agressive ;)Rainer Gerhards2009-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... so I moved the one line that some platforms need back in.
* | | | | | | | | fixed regression in new multi-ruleset imudp codeRainer Gerhards2009-10-191-6/+6
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new code has not been released so far, so this does not fix any bug known to the "real world".
* | | | | | | | some minor cleanup, consolidated some codeRainer Gerhards2009-10-161-8/+2
| | | | | | | |
* | | | | | | | improved input thread termination for imtcp and imuxsockRainer Gerhards2009-10-161-0/+3
| | | | | | | |
* | | | | | | | cosmetic: cleanup of imfileRainer Gerhards2009-10-161-35/+13
| | | | | | | |
* | | | | | | | ensure proper imudp shutdown even on a very busy systemRainer Gerhards2009-10-162-5/+8
| | | | | | | |
* | | | | | | | Merge branch 'david-master' into masterRainer Gerhards2009-10-161-1/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.c
| * | | | | | | | bugfix in debug system and more instrumentation to find an issueRainer Gerhards2009-10-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bugfix: debug string larger than 1K were improperly displayed. Max size is now 32K, and if a string is even longer it is meaningful truncated.
* | | | | | | | | bugfix: compile problem when system provided only epoll_create()Rainer Gerhards2009-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I introduced that problem yesterday when I improved epoll support.
* | | | | | | | | solved a recently introduced race during input thread shutdownRainer Gerhards2009-10-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was introduced when we re-enabled non-cancel thread termination a few commits ago. This code has never been released as a tarball, so that is no bugfix for a release but rather a WiP regression fix and thus does not need to be mentioned in the ChangeLog.
* | | | | | | | | improved imudp so that epoll can be used in more environmentsRainer Gerhards2009-10-151-2/+9
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | Fixed potential compile time problem if EPOLL_CLOEXEC is not available.
* | | | | | | | Merge branch 'v4-devel'Rainer Gerhards2009-10-141-4/+4
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | / / / / / | | |/ / / / / | |/| | | | |
| * | | | | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-10-141-4/+4
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | |
| | * | | | | Merge branch 'v3-stable' into v4-betaRainer Gerhards2009-10-141-4/+4
| | |\ \ \ \ \ | | | | |_|_|/ | | | |/| | | | | | | | | | | | | | | | | Conflicts: plugins/imrelp/imrelp.c
| | | * | | | enhance: imrelp now also provides remote peer's IP addressRainer Gerhards2009-10-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [if librelp != 1.0.0 is used]
* | | | | | | added multi-ruleset support to imudpRainer Gerhards2009-10-131-28/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also bumped version number and corrected ChangeLog, where I merged some post 5.3.1 changes into the 5.3.1 section.
* | | | | | | removed no longer needed msg_t property "bParseHOSTNAME"Rainer Gerhards2009-10-136-7/+0
| | | | | | |
* | | | | | | enhanced immark to support non-cancel input module terminationRainer Gerhards2009-10-121-2/+16
| | | | | | |
* | | | | | | re-enabled input thread termination handling that does avoid thread cancellationRainer Gerhards2009-10-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...where possible. This provides a more reliable mode of rsyslogd termination (canceling threads my result in not properly freed resouces and potential later hangs, even though we perform proper cancel handling in our code). This is part of an effort to reduce thread cnacellation as much as possible in rsyslog. NOTE: some comments indicated that there were problems with some code that has been re-activated. Testing did not show any issues. My current assumption is that these issues were related to some other code that has been removed/changed during the previous restructuring events. In any case, if there is a shutdown issue, one should carefully look at this change here!
* | | | | | | updated doc in imtemplate so that it no longer promotes legacy interfaceRainer Gerhards2009-10-121-29/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | parseAndSubmitMsg will go away
* | | | | | | changed imuxsock to no longer use deprecated submitAndParseMsg() interfaceRainer Gerhards2009-10-122-17/+64
| | | | | | |
* | | | | | | Merge branch 'beta'Rainer Gerhards2009-10-091-0/+1
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | / | | |_|_|_|/ | |/| | | |
| * | | | | bugfix and testbench improvementsRainer Gerhards2009-10-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bugfix: solved potential (temporary) stall of messages when the queue was almost empty and few new data added (caused testbench to sometimes hang!) - fixed some race condition in testbench - added more elaborate diagnostics to parts of the testbench - solved a potential race inside the queue engine
| * | | | | Merge branch 'v4-beta' into betaRainer Gerhards2009-10-023-1/+9
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/rsyslog.h tcpsrv.c
* | | | | | Merge branch 'v4-devel' into tmpRainer Gerhards2009-10-023-1/+9
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/rsyslog.h tcpsrv.c
| * | | | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-10-023-1/+9
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * | | | Merge branch 'aaron' into v4-betaRainer Gerhards2009-10-021-0/+5
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | | * | | | added $InputTCPServerNotifyOnConnectionClose config directiveRainer Gerhards2009-10-011-0/+5
| | | | | | |
| | * | | | | Merge branch 'v4-stable' into v4-beta & BUGFIXRainer Gerhards2009-10-012-1/+4
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | / | | | | |_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html runtime/datetime.h runtime/parser.c runtime/rsyslog.h tools/syslogd.c v4-stable had a bug with RFC5424-formatted structured data, which showed was detected by the enhanced automatted testbench of v4-beta.
| | | * | | bugfix: zero-sized UDP messages are no longer processedRainer Gerhards2009-09-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, they were forwarded to processing, but this makes no sense Also, it looks like the system seems to provide a zero return code on a UDP recvfrom() from time to time for some internal reasons. These "receives" are now silently ignored.
| * | | | | added new config option $InputUnixListenSocketCreatePathRainer Gerhards2009-09-041-2/+12
| |/ / / / | | | | | | | | | | | | | | | backport from v5-devel
* | | | | removed some debugging commentsRainer Gerhards2009-09-141-4/+0
| | | | |
* | | | | changed imudp to utilize epoll(), where available.Rainer Gerhards2009-09-091-20/+101
| | | | | | | | | | | | | | | | | | | | | | | | | This shall provide slightly better performance (just slightly because we called select() rather infrequently on a busy system).
* | | | | added new config option $InputUnixListenSocketCreatePathRainer Gerhards2009-09-041-2/+12
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | to permit the auto-creation of pathes to additional log sockets. This turns out to be useful if they reside on temporary file systems and rsyslogd starts up before the daemons that create these sockets (rsyslogd always creates the socket itself if it does not exist).
* | | | Merge branch 'v4-devel' into betaRainer Gerhards2009-09-031-1/+1
|\| | |
| * | | Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-09-031-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * | bugfix: reverse lookup reduction logic in imudp do DNS queries too oftenRainer Gerhards2009-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A comparison was done between the current and the former source address. However, this was done on the full sockaddr_storage structure and not on the host address only. This has now been changed for IPv4 and IPv6. The end result of this bug could be a higher UDP message loss rate than necessary (note that UDP message loss can not totally be avoided due to the UDP spec)
* | | | Merge branch 'beta'Rainer Gerhards2009-08-181-0/+5
|\| | |
| * | | added $InputTCPMaxListeners directiveRainer Gerhards2009-08-171-0/+5
| | | | | | | | | | | | | | | | permits to specify how many TCP servers shall be possible (default is 20).
* | | | internal: added ability to terminate input modules not via pthread_cancel...Rainer Gerhards2009-07-205-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... but an alternate approach via pthread_kill. This is somewhat safer as we do not need to think about the cancel-safeness of all libraries we use. However, not all inputs can easily supported, so this now is a feature that can be requested by the input module (the most important ones request it).
* | | | done implementing omudpspoofRainer Gerhards2009-07-101-193/+98
| | | | | | | | | | | | | | | | | | | | | | | | This is now a "good" rsyslog output module, working as usual. I've also sorted out some reentrency issues. Code is clean and ready to be tested in practice ;)