summaryrefslogtreecommitdiffstats
path: root/plugins/imudp
Commit message (Collapse)AuthorAgeFilesLines
* immark: support for module() global config parameters addedRainer Gerhards2012-06-271-1/+0
|
* provide support to dynamically enable/disable legacy conf commandRainer Gerhards2012-06-261-6/+13
| | | | most important to prevent clashes with new style settings
* imudp: support for module() global config parameters addedRainer Gerhards2012-06-261-61/+69
|
* implemented freeCnf() module interface & fixed some mem leaksRainer Gerhards2012-06-251-0/+9
| | | | | | | | The interface was actually not present in older versions, even though some modules already used it. The implementation was now done, and not in 6.3/6.4 because the resulting memory leak was ultra-slim and the new interface handling has some potential to seriously break things. Not the kind of thing you want to add in late beta state, if avoidable.
* Merge branch 'v5-stable-newstats'Rainer Gerhards2012-04-071-1/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: action.c configure.ac doc/imuxsock.html plugins/imklog/imklog.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c runtime/glbl.c runtime/glbl.h runtime/net.c runtime/ruleset.c tcpsrv.h tools/syslogd.c
| * added missing initialization of stats countersRainer Gerhards2012-03-141-0/+1
| | | | | | | | | | | | | | this was necessary due to refactoring of the stats subsystem ... but should have been done in the first place when this code was written. Thanks to Kaiwang Chen for his analysis of the stats subsystem, which ultimately lead to this patch!
| * bugfix: imudp: only two listeners were activatedRainer Gerhards2012-03-091-1/+3
| | | | | | | | no matter how many were defined. Note that IPv4 and IPv6 count as two!
* | Merge branch 'v6-stable-noscoping' into masterRainer Gerhards2012-01-191-7/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imfile/imfile.c plugins/imklog/imklog.c plugins/immark/immark.c plugins/imptcp/imptcp.c plugins/imrelp/imrelp.c plugins/imtcp/imtcp.c plugins/imtemplate/imtemplate.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c plugins/mmsnmptrapd/mmsnmptrapd.c plugins/omtemplate/omtemplate.c runtime/glbl.c runtime/parser.c tools/omfile.c tools/syslogd.c
| * | undoing v6.1 config scoping interface, part IRainer Gerhards2012-01-181-7/+7
| | | | | | | | | | | | The most common files are now changed, more needs to be done.
* | | Merge branch 'v5-devel' into masterRainer Gerhards2012-01-181-51/+95
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/manual.html plugins/imptcp/imptcp.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c runtime/parser.c template.c tools/omfwd.c tools/syslogd.c
| * | imudp: added per-listner stats settings & more refactoringRainer Gerhards2012-01-091-74/+80
| | |
| * | imudp refactor: field renaming (new names more more sense)Rainer Gerhards2012-01-091-20/+19
| | |
| * | imudp refactor: regression fixRainer Gerhards2012-01-091-3/+3
| | |
| * | imudp refactor: fixed socket leakRainer Gerhards2012-01-091-9/+5
| | |
| * | nit fixed (testing aid removed)Rainer Gerhards2012-01-081-2/+1
| | |
| * | cleanup of imudp to use better lstn data structure (part I)Rainer Gerhards2012-01-081-68/+60
| | |
* | | Merge branch 'v5-devel'Rainer Gerhards2011-12-191-0/+17
|\| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c plugins/imudp/imudp.c
| * | imudp: stats addedRainer Gerhards2011-12-191-0/+17
| | |
* | | mostly cosmetic: error message did incorrectly contain errno-infoRainer Gerhards2011-08-051-1/+1
| | |
* | | - imudp&imtcp now report error if no listener at all was definedRainer Gerhards2011-08-051-0/+5
| | | | | | | | | | | | Thanks to Marcin for suggesting this error message
* | | milestone: added module config namesRainer Gerhards2011-07-201-0/+1
| | |
* | | 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.