summaryrefslogtreecommitdiffstats
path: root/plugins/imudp
Commit message (Collapse)AuthorAgeFilesLines
* step: conf interface now natively supports priv dropRainer Gerhards2011-05-061-2/+8
|
* step: generalized new config interface for all module typesRainer Gerhards2011-05-061-0/+1
|
* step: imtcp moved to new config interfaceRainer Gerhards2011-05-051-31/+13
| | | | as far as we know that new interface right now ;)
* step: imudp utilizes interim new input module interfaceRainer Gerhards2011-05-041-162/+266
|
* step: put plumbing in place for new input module config systemRainer Gerhards2011-05-031-0/+30
|
* minor: some better debug instrumentationRainer Gerhards2011-04-271-1/+1
|
* milestone: ruleset now supports rsconf_tRainer Gerhards2011-04-191-1/+1
|
* bugfix: enhanced imudp config processing code disabled due to wrong mergeRainer Gerhards2011-04-131-2/+2
| | | | (affected UDP realtime capabilities)
* Merge branch 'v5-devel'Rainer Gerhards2011-03-141-5/+8
|\ | | | | | | | | Conflicts: tests/diag.sh
| * Fall back to epoll_create() if epoll_create1() is not availableMichael Biebl2011-03-141-5/+8
| | | | | | | | | | | | | | | | | | epoll_create1() was introduced in Linux kernel 2.6.27. If rsyslog was compiled on a newer kernel but run on a kernel older than 2.6.27, remote syslog fails. Apply a runtime check for epoll_create1() and fall back to epoll_create() in this case. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617996
* | Merge branch 'v5-beta'Rainer Gerhards2011-03-111-0/+1
|\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/omlibdbi/omlibdbi.c tests/Makefile.am tests/diag.sh
| * added work-around for bug in gtls, which causes fd leak when using TLSBojan Smojver2011-02-231-0/+1
| | | | | | | | | | | | | | | | The capability has been added for module to specify that they do not like being unloaded. related bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=222 Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | Merge branch 'v5-devel'Rainer Gerhards2011-02-012-38/+132
|\| | | | | | | | | | | | | Conflicts: plugins/imfile/imfile.c plugins/imudp/imudp.c plugins/ommysql/ommysql.c
| * improved imudp real-time scheduling support & bugfixDražen Kačar2011-01-102-1/+136
| | | | | | | | | | | | | | The original code had quite some issues, which are fixed by this commit. Also we do more error checking now. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | Merge branch 'v5-devel'Rainer Gerhards2010-12-171-0/+41
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c plugins/imudp/imudp.c runtime/glbl.c
| * \ Merge branch 'v4-devel' into v5-develRainer Gerhards2010-12-171-0/+41
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/imfile.html doc/manual.html plugins/imudp/imudp.c runtime/msg.h tools/syslogd.c
| | * added $IMUDPSchedulingPolicy and $IMUDPSchedulingPriority config settingsRainer Gerhards2010-12-171-0/+42
| | |
| | * Merge branch 'v4-stable-solaris' into v4-develRainer Gerhards2010-04-121-1/+1
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tools/omfile.c tools/syslogd.c
* | | | moving towards scoping inside rsyslog.confRainer Gerhards2010-07-211-5/+5
|/ / / | | | | | | | | | first step: adding object-type specifier to config statement table
* | | Merge branch 'beta' into masterRainer Gerhards2010-04-091-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac plugins/imudp/imudp.c runtime/stream.h tests/Makefile.am tests/diag.sh tools/omfile.c
| * \ \ Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-03-291-1/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/debug.c runtime/stream.c tests/Makefile.am tests/diskqueue.sh tests/nettester.c tools/omfile.c
| | * | enabled imudp to send complete text of large messages to debug logRainer Gerhards2010-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | ... it turns out that this is sometimes extremely useful when debugging real-world problems at user sites.
* | | | bugfix: failed to compile on systems without epoll supportRainer Gerhards2010-03-021-7/+5
| | | |
* | | | Merge branch 'v4-devel'Rainer Gerhards2009-11-171-4/+3
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/rsyslog_conf_modules.html gss-misc.c plugins/imgssapi/imgssapi.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c runtime/glbl.c runtime/glbl.h runtime/net.c
| * | | integrating varmojfekoj's "unlimited select()" patch into v4-develRainer Gerhards2009-11-171-6/+14
| |\ \ \ | | |_|/ | |/| |
| | * | added option to use unlimited-size select() callsvarmojfekoj2009-11-171-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | Thanks to varmjofekoj for the patch Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | moved DNS resolution code out of imudp and into the backend processingRainer Gerhards2009-11-171-38/+35
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Most importantly, DNS resolution now never happens if the resolved name is not required. Note that this applies to imudp - for the other inputs, DNS resolution almost comes for free, so we do not do it there. However, the new method has been implemented in a generic way and as such may also be used by other modules in the future.
* | | some light performance enhancementRainer Gerhards2009-11-121-1/+1
| | | | | | | | | | | | | | | ...by replacing time() call with much faster (at least under linux) gettimeofday() calls.
* | | enhanced test environment (including testbench)Rainer Gerhards2009-10-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | 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
* | | 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".
* | | ensure proper imudp shutdown even on a very busy systemRainer Gerhards2009-10-161-5/+7
| | |
* | | 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.
* | | | 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-131-1/+0
| | | |
* | | | 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!
* | | | changed imuxsock to no longer use deprecated submitAndParseMsg() interfaceRainer Gerhards2009-10-121-1/+0
| | | |
* | | | 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-021-0/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/rsyslog.h tcpsrv.c
* | | | Merge branch 'v4-devel' into tmpRainer Gerhards2009-10-021-0/+3
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/rsyslog.h tcpsrv.c
| * | | Merge branch 'v4-stable' into v4-beta & BUGFIXRainer Gerhards2009-10-011-0/+3
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | 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).
* | | Merge branch 'v4-devel' into betaRainer Gerhards2009-09-031-1/+1
|\| |