summaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* begining touches for putting rsyslog on spaceshipsRainer Gerhards2009-04-012-0/+138
|
* improved testing supportRainer Gerhards2009-03-192-0/+133
| | | | | | | | | | | | | worked on ways to provide a better test suite: - added -T rsyslogd command line option, enables to specify a directory where to chroot() into on startup. This is NOT a security feature but introduced to support testing. Thus, -T does not make sure chroot() is used in a secure way. (may be removed later) - added omstdout module for testing purposes. Spits out all messages to stdout - no config option, no other features - modified $ModLoad statement so that for modules whom's name starts with a dot, no path is prepended (this enables relative-pathes and should not break any valid current config)
* fixed broken make distcheck due to invalidly stated omtemplate fileRainer Gerhards2009-03-191-1/+1
|
* added output module templateRainer Gerhards2009-03-162-0/+228
| | | | | | | so far, this is mostly some documentation, but I hope that during the process of creating output modules out of it we will get good questions and thus can extend the template. In any case, it should be better than what we had so far...
* Merge branch 'beta'Rainer Gerhards2009-03-111-1/+7
|\ | | | | | | | | Conflicts: doc/omrelp.html
| * Merge branch 'v3-stable' into betaRainer Gerhards2009-03-111-1/+7
| |\ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * fixed a potential segfault problem in gssapi codevarmojfekoj2009-03-021-1/+7
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | bugfix: parser did not correctly parse fields in UDP-received messagesRainer Gerhards2009-03-101-1/+1
| | |
* | | Merge branch 'beta'Rainer Gerhards2009-02-2420-27/+26
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/manual.html
| * | Improve mysql configure check (for unusual paths)Michael Biebl2009-02-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove AC_CHECK_HEADERS([mysql/mysql.h],...) as this was causing pain for users where the mysql headers are not installed in the system include directory. It was superfluous anyways, as we check for mysql_config and set the include path to the correct directory. Update ommysql.c to use #include <mysql.h>, as mysql_config will set the include path to /path/to/include/mysql/ so <mysql/mysql.h> would not work. Remove errmsg.h include as it is not used.
| * | make all cflags and libs variables uppercaseMichael Biebl2009-02-2419-25/+25
| | | | | | | | | | | | | | | | | | pkg-config uses uppercase for its _CFLAGS and _LIBS variable names. So we follow suit and convert all _cflags and _libs variables to uppercase for more consistency.
* | | enhanced imtcp, among others to handel invalid NetScreen framingRainer Gerhards2008-12-101-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added $InputTCPServerAddtlFrameDelimiter config directive, which enabeles to specify an additional, non-standard message delimiter for processing plain tcp syslog. This is primarily a fix for the invalid framing used in Juniper's NetScreen products. Credit to forum user Arv for suggesting this solution. - added $InputTCPServerInputName property, which enables a name to be specified that will be available during message processing in the inputname property. This is considered useful for logic that treats messages differently depending on which input received them.
* | | added $PreserveFQDN config file directiveRainer Gerhards2008-12-081-0/+1
| | | | | | | | | | | | Enables to use FQDNs in sender names where the legacy default
* | | bugfix: imudp went into an endless loop under some circumstancesRainer Gerhards2008-12-081-3/+3
| | | | | | | | | | | | | | | (but could also leave it under some other circumstances...) Thanks to David Lang and speedfox for reporting this issue.
* | | Merge branch 'beta'Rainer Gerhards2008-12-051-4/+14
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imudp/imudp.c
| * | Merge branch 'v3-stable' into betav3.21.9Rainer Gerhards2008-12-041-2/+13
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imudp/imudp.c
| | * security fix: imudp emitted a message when a non-permitted sender...v3.20.2Rainer Gerhards2008-12-041-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | ...tried to send a message to it. This behaviour is operator-configurable. If enabled, a message was emitted each time. That way an attacker could effectively fill the disk via this facility. The message is now emitted only once in a minute (this currently is a hard-coded limit, if someone comes up with a good reason to make it configurable, we will probably do that).
* | | Merge branch 'beta'Rainer Gerhards2008-12-043-20/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/rsyslog_conf.html plugins/imudp/imudp.c runtime/rsyslog.h
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-11-293-20/+9
| |\| | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | * minor cleanupRainer Gerhards2008-11-292-1/+2
| | |
| | * security bugfix: $AllowedSender was not honored,Rainer Gerhards2008-11-293-20/+8
| | | | | | | | | | | | ...all senders were permitted instead
* | | Merge branch 'beta'Rainer Gerhards2008-11-263-3/+15
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | bugfix: imklog did not compile on freeBSDRainer Gerhards2008-11-243-3/+15
| | |
* | | Merge branch 'beta'Rainer Gerhards2008-11-181-2/+2
|\| |
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-11-181-2/+2
| |\|
| | * Merge branch 'v2-stable' into v3-stableRainer Gerhards2008-11-181-2/+2
| | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | | * bugfix: removed memory leak in ompgsqlKen2008-11-181-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | | * removed unneccessary (and non-existing) headerRainer Gerhards2008-01-021-1/+1
| | | |
| | | * backported rsyslog v3 omgssapi - to provide forward compatibility from v2Rainer Gerhards2007-12-283-0/+783
| | | | | | | | | | | | | | | | | | | | to v3. Will release as v1.21.2, because some field experience is needed before it becomes stable v2.
| | | * applied some more cleanup provided by Michael BieblRainer Gerhards2007-12-191-2/+2
| | | |
| | | * code cleanups thanks to Michael BieblRainer Gerhards2007-12-181-2/+2
| | | |
* | | | Merge branch 'master' into nextmasterRainer Gerhards2008-10-221-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| * | | preparing for 3.21.6v3.21.6Rainer Gerhards2008-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | plus solving a compile problem for im3195 (which is not used in practice, thus this did not show up before...)
* | | | moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-094-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | 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.
* | | | reordered imudp processing.Rainer Gerhards2008-10-081-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | 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-081-60/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | "output" timestamp now taken from mesg's time generatedRainer Gerhards2008-10-073-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | simple (yet efficient) name caching added to imudpRainer Gerhards2008-10-071-2/+18
| | | |
* | | | added $UDPServerTimeRequery optionRainer Gerhards2008-10-063-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ...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-063-3/+0
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | consolidated time calls during msg object creationRainer Gerhards2008-10-023-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | ...this improves performance and consistency and also fixes a bug where subsecond time properties generated by imfile, imklog and internal messages could be slightly inconsistent.
* | | | performance-optimized imudpRainer Gerhards2008-10-021-32/+44
| | | |
* | | | some code cleanupRainer Gerhards2008-10-021-50/+48
|/ / / | | | | | | | | | removed code not actually needed in imupd
* | | Merge branch 'beta'Rainer Gerhards2008-09-221-2/+6
|\| |
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-09-221-2/+6
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * | bugfix: imudp input module could cause segfault on HUPRainer Gerhards2008-09-221-2/+6
| | | | | | | | | | | | | | | | | | | | It did not properly de-init a variable acting as a linked list head. That resulted in trying to access freed memory blocks after the HUP.
* | | | performance optimization: unnecessary time() calls during message parsing ↵Rainer Gerhards2008-09-162-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | removed thanks to David Lang for his excellent performance analysis
* | | | added properties "inputname" and "$myhostname"Rainer Gerhards2008-09-105-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added message property "inputname", which contains the name of the input (module) that generated it. Presence is depending on suport in each input module (else it is blank). - added system property "$myhostname", which contains the name of the local host as it knows itself.
* | | | removed compile time fixed message size limit (was 2K)Rainer Gerhards2008-09-027-21/+81
| | | | | | | | | | | | | | | | | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))