summaryrefslogtreecommitdiffstats
path: root/runtime/parser.c
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: message sanitation had some issuesRainer Gerhards2009-08-261-4/+12
| | | | | | | | - control character DEL was not properly escaped - NUL and LF characters were not properly stripped if no control character replacement was to be done - NUL characters in the message body were silently dropped (this was a regeression introduced by some of the recent optimizations)
* bugfix: potential segfault when zip-compressed syslog records were received ↵Rainer Gerhards2009-07-101-1/+0
| | | | (double free)
* introduced a new way of handling the RcvFrom propertyRainer Gerhards2009-06-301-1/+1
| | | | | | | | | | | ... plus a fix for a long-time bug in obj-types.h. That lead to the object pointer only then to become NULL when the object was actually destructed, I discovered this issue during introduction of the pRcvFrom property in msg_t, but it potentially had other effects, too. I am not sure if some experienced instability resulted from this bug OR if its fix will cause harm to so-far "correctly" running code. The later may very well be. Thus I will change it only for the current branch and also the beta, but not in all old builds. Let's see how things evolve.
* bugfix: msg_t mutex was sometimes initialized twiceRainer Gerhards2009-06-251-1/+0
|
* optimized hostname processingRainer Gerhards2009-06-231-3/+0
|
* cleaned up/optimized raw message handling in msg objectRainer Gerhards2009-06-181-53/+26
|
* further optimized message objectRainer Gerhards2009-06-171-5/+0
| | | | pri, facility and severity string generation simplified
* removed long-obsoleted property UxTradMsgRainer Gerhards2009-06-161-1/+1
| | | | | ... as well as some cleanup (some commented-out code is left to support UxTradMsg again is someone really complains ;)).
* done various optimizations to the stringbuf and its usersRainer Gerhards2009-06-161-1/+18
|
* some performance optimizationsRainer Gerhards2009-06-161-0/+17
| | | | | | - saved gettimeofday() calls in imtcp (and increased reception buffer) - somewhat optimized stringbuf.c - some other optimizations
* added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-1/+1
| | | | | | | | | | | Well, actually this and a lot of related things. I improved the testbench so that the new capabilities are automatically tested and also did some general cleanup. The current multiple tcp listener solution will probably receive some further cleanup, too, but looks quite OK so far. I also reviewed the way tcpsrv et all work, in preparation of using this code for imdiag. I need to document the findings, especially as the code is rather complicated "thanks" to the combination of plain tcp and gssapi transport modes.
* added $PreserveFQDN config file directiveRainer Gerhards2008-12-081-1/+1
| | | | Enables to use FQDNs in sender names where the legacy default
* fixed some compiler warningsRainer Gerhards2008-12-051-0/+1
|
* some cleanup (forgotten...)Rainer Gerhards2008-12-031-4/+1
|
* bugfix: code did not compile without zlibRainer Gerhards2008-12-031-1/+5
|
* moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-091-2/+1
| | | | | | 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.
* reordered imudp processing.Rainer Gerhards2008-10-081-0/+314
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.