summaryrefslogtreecommitdiffstats
path: root/runtime/msg.c
Commit message (Collapse)AuthorAgeFilesLines
* added log classification capabilities (via mmnormalize & tags)Rainer Gerhards2011-04-131-16/+13
|
* Merge branch 'v5-devel'Rainer Gerhards2011-04-121-115/+117
|\ | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html plugins/imtcp/imtcp.c
| * bugfix: race condition in deferred name resolutionRainer Gerhards2011-04-081-115/+117
| | | | | | | | | | | | Note that this actually is a very small change, but I needed to shuffle a lot of code around in order to make it compile (due to required define order...).
* | Merge branch 'v5-devel'Rainer Gerhards2011-03-311-0/+9
|\| | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html doc/rsyslog_conf.html runtime/msg.c runtime/rsyslog.h template.c
| * enhance: added $BOM system property to ease writing byte order masksRainer Gerhards2011-03-221-0/+10
| |
* | Merge branch 'v5-beta'Rainer Gerhards2011-03-011-1/+2
|\| | | | | | | | | Conflicts: ChangeLog
| * bugfix: potential abort condition when $RepeatedMsgReduction set to onRainer Gerhards2011-03-011-1/+2
| | | | | | | | | | | | | | | | | | as well as potentially in a number of other places where MsgDup() was used. This only happened when the imudp input module was used and it depended on name resolution not yet had taken place. In other words, this was a strange problem that could lead to hard to diagnose instability. So if you experience instability, chances are good that this fix will help.
* | Merge branch 'v5-beta'Rainer Gerhards2011-02-251-0/+10
|\| | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * added debug support for trying to find well-hidden bugRainer Gerhards2011-02-231-0/+10
| |
* | Merge branch 'v5-devel'Rainer Gerhards2010-12-171-3/+1
|\| | | | | | | | | | | | | | | Conflicts: ChangeLog action.c plugins/imudp/imudp.c runtime/glbl.c
| * Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-12-161-3/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/parser.c runtime/queue.c runtime/wtp.c template.c threads.c tools/syslogd.c
| | * some cleanup based on clang static analyzer resultsRainer Gerhards2010-12-161-3/+1
| | |
* | | milestone: added support for CEE-variables to RainerScriptRainer Gerhards2010-12-031-0/+57
| | |
* | | milestone: added support for CEE-properties in property-based filtersRainer Gerhards2010-12-011-6/+11
| | |
* | | milestone: ability to use normalized names in templatesRainer Gerhards2010-12-011-0/+37
| | |
* | | milestone: template supports CEE output via %$!all-json%Rainer Gerhards2010-12-011-3/+15
| | |
* | | mmnormalize loads & runs (basic testing done)Rainer Gerhards2010-12-011-0/+4
| | |
* | | milestone: added mmnormalize (compiles, but untested)Rainer Gerhards2010-12-011-1/+1
|/ /
* | bugfix: replacements for atomic operations for non-int sized types had problems.Rainer Gerhards2010-11-251-1/+1
| | | | | | | | | | At least one instance of that problem could potentially lead to abort (inside omfile).
* | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-10-191-1/+1
|\| | | | | | | | | | | | | | | Conflicts: configure.ac runtime/cfsysline.c tools/ompipe.c
| * fixing some compile problems on FreeBSDRainer Gerhards2010-10-191-1/+1
| |
| * temporary bugfix replaced by permanent one for...Rainer Gerhards2010-03-311-7/+2
| | | | | | | | | | | | ...message-induced off-by-one error (potential segfault) (see 4.6.2) The analysis has been completed and a better fix been crafted and integrated.
* | bugfix: regression caused more locking action in msg.c than necessaryRainer Gerhards2010-06-081-10/+14
| | | | | | | | also: bugfix: mutexes used to similate atomic instructions were not destructed
* | finshed implementation of strgen modulesRainer Gerhards2010-06-041-5/+4
| | | | | | | | | | | | and also provided four build-in modules for the most common use cases, hopefully resulting in a speedup of around 5% for typical rsyslog processing.
* | experimental commit: facility to generate template via C functionRainer Gerhards2010-06-011-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a test done to try to generate templates with C code, via a new (potentially to-be-implemented) class of template modules. We have a rough POC inside this code, and it showed around 5% or better speedup. So it semms worth continuing in this direction. Note that this experimental commit works correct, but does any template in the form of $template tpl,=somewhat will lead to fixed template expansion based on the default file format.
* | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-271-2/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/atomic.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h runtime/wtp.c runtime/wtp.h
| * | bugfix: problems with atomic operations emulationRainer Gerhards2010-04-271-2/+11
| | | | | | | | | | | | | | | | | | replaced atomic operation emulation with new code. The previous code seemed to have some issue and also limited concurrency severely. The whole atomic operation emulation has been rewritten.
* | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-231-1/+1
|\| | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h runtime/wtp.c
| * | solved alignment errors on Solaris SparcRainer Gerhards2010-04-221-1/+1
| | |
* | | Merge branch 'beta' into masterRainer Gerhards2010-04-091-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac plugins/imudp/imudp.c runtime/stream.h tests/Makefile.am tests/diag.sh tools/omfile.c
| * | | Merge branch 'v4-stable-solaris' into betaRainer Gerhards2010-04-091-7/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/rsyslog.c tests/nettester.c tools/syslogd.c
| | * | enhanced nettester tool so that it re-uses it's callers environmentRainer Gerhards2010-04-071-7/+2
| | |/ | | | | | | | | | | | | | | | this enables us to work with the "usual" environment tweaks (for debugging and other purposes), without the need for any special handling in nettester itself
| * | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-03-291-0/+6
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * bugfix(temporary): message-induced off-by-one error (potential segfault)Rainer Gerhards2010-03-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some types of malformed messages could trigger an off-by-one error (for example, \0 or \n as the last character, and generally control character escaption is questionable). This is due to not strictly following a the \0 or string counted string paradigm (during the last optimization on the cstring class). As a temporary fix, we have introduced a proper recalculation of the size. However, a final patch is expected in the future. See bug tracker for further details and when the final patch will be available: http://bugzilla.adiscon.com/show_bug.cgi?id=184 Note that the current patch is considered sufficient to solve the situation, but it requires a bit more runtime than desirable.
| * | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-03-091-3/+7
| |\| | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/datetime.h
| | * added new property replacer option "date-rfc3164-buggyday"Rainer Gerhards2010-03-081-3/+7
| | | | | | | | | | | | | | | primarily to ease migration from syslog-ng. See property replacer doc for details. [backport from 5.5.3 because urgently needed by some]
| | * bugfix: message without MSG part could case a segfaultRainer Gerhards2010-02-221-3/+12
| | | | | | | | | | | | | | | | | | | | | [backported from v5 commit 98d1ed504ec001728955a5bcd7916f64cd85f39f] This actually was a "recent" regression, but I did not realize that it was introduced by the performance optimization in v4-devel. Shame on me for having two devel versions at the same time...
* | | added new property replacer option "date-rfc3164-buggyday"Rainer Gerhards2010-03-051-3/+7
| | | | | | | | | | | | | | | primarily to ease migration from syslog-ng. See property replacer doc for details.
* | | Merge branch 'beta' into masterRainer Gerhards2010-02-101-44/+58
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog tests/parsertest.sh
| * | Merge branch 'v4-beta' into betaRainer Gerhards2010-02-101-44/+58
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c template.c tests/Makefile.am tests/parsertest.sh
| | * several bugfixes for the property replacerRainer Gerhards2010-02-081-44/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bugfix: property replacer returned invalid parameters under some (unusual) conditions. In extreme cases, this could lead to garbled logs and/or a system failure. - bugfix: invalid length returned (often) when using regular expressions inside the property replacer - bugfix: submatch regex in property replacer did not honor "return 0 on no match" config case
* | | replaced data type "bool" by "sbool" because this created some portability ↵Rainer Gerhards2010-02-021-11/+11
| | | | | | | | | | | | issues
* | | Merge branch 'beta'Rainer Gerhards2009-11-301-1/+1
|\| | | | | | | | | | | | | | Conflicts: ChangeLog
| * | Merge branch 'v4-beta' into betaRainer Gerhards2009-11-301-1/+1
| |\|
| | * bugfix: hostname accidently set to IP address for some message sourcesRainer Gerhards2009-11-301-1/+1
| | | | | | | | | | | | for example imudp. Thanks to Anton for reporting this bug.
* | | moved DNS resolution code out of imudp and into the backend processingRainer Gerhards2009-11-171-17/+104
|/ / | | | | | | | | | | | | | | 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.
* | bugfix: potential abort if inputname property was not setRainer Gerhards2009-10-261-1/+1
| | | | | | | | | | | | primarily a problem of imdiag. Also added some fix for a potential situation during cancel processing. That one is not considered vital and may later be removed again.
* | enhanced test environment (including testbench)Rainer Gerhards2009-10-221-25/+25
| | | | | | | | | | | | | | | | 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.
* | removed no longer needed msg_t property "bParseHOSTNAME"Rainer Gerhards2009-10-131-3/+1
| |
* | bugfix: potential segfault on messages with empty MSG part.Rainer Gerhards2009-10-091-3/+12
| | | | | | | | This was a recently introduced regression.