summaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | 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 ;)
* | | | commiting interim version with ability to specify spoof sourceRainer Gerhards2009-07-091-14/+23
| | | |
* | | | Merge branch 'master' into udpspoof & cleanup & slight optimizationRainer Gerhards2009-07-091-1/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.c I messed up and did some changes during the merge commit ;) But these are not large, just a little bit of cleanup and some very slight optimizations inside the msg object.
| * | | | Merge branch 'v4-devel'Rainer Gerhards2009-07-091-1/+12
| |\| | |
| | * | | bugfix: message could be truncated after TAG, often when forwardingRainer Gerhards2009-07-091-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a result of an internal processing error if maximum field sizes had been specified in the property replacer. Also did some testbench improvements, including omstdout.
* | | | | first version supporting udp spoofing and non-spoofing at the same timeRainer Gerhards2009-07-091-396/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | omudpspoof is now a dedicated output module. It's calling semantics so far are based on omfwd, plus the need for the template to have the IP address as a string in the starting position.
* | | | | moved udp spoofing code to its own output module (omudpspoof)Rainer Gerhards2009-07-092-0/+864
|/ / / /
* | | | Merge branch 'v5-devel'Rainer Gerhards2009-07-034-17/+174
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/datetime.c
| * | | Merge branch 'master' into v5-develRainer Gerhards2009-07-019-22/+143
| |\ \ \
| * \ \ \ Merge branch 'omfile' into v5-develRainer Gerhards2009-06-232-2/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * \ \ \ \ Merge branch 'omfile' into tmpRainer Gerhards2009-06-224-12/+10
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a complex manual merge, especially in action.c. So if there occur some problems, this would be a good point to start troubleshooting. I run a couple of tests before commiting and they all went well. Conflicts: action.c action.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h
| * \ \ \ \ \ Merge branch 'omfile' into v5-develRainer Gerhards2009-06-1614-42/+100
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this was NOT a trivial merge, and there may be some issues. This needs to be seen when we continue developing. Conflicts: runtime/msg.h runtime/obj.h runtime/queue.c runtime/srUtils.h runtime/stream.c runtime/stream.h runtime/wti.c tests/Makefile.am tools/omfile.c tools/syslogd.c
| * \ \ \ \ \ \ Merge branch 'master' into v5-develRainer Gerhards2009-06-041-0/+6
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/rsyslog.h
| * \ \ \ \ \ \ \ Merge branch 'master' into v5-develRainer Gerhards2009-05-291-3/+0
| |\ \ \ \ \ \ \ \