Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | optimization: propert names are now internally identified by integers | Rainer Gerhards | 2009-06-26 | 1 | -121/+235 | |
| | ||||||
* | got rid of the recursive requirement for msg_t mutex (finally!) | Rainer Gerhards | 2009-06-26 | 1 | -156/+111 | |
| | ||||||
* | some more stringbuffer optimization | Rainer Gerhards | 2009-06-25 | 1 | -6/+2 | |
| | ||||||
* | backported "clean" increment of memory trim counter (not protected by mutex) | Rainer Gerhards | 2009-06-25 | 1 | -3/+5 | |
| | ||||||
* | cleanup (removed now-unused parameters) | Rainer Gerhards | 2009-06-25 | 1 | -9/+9 | |
| | ||||||
* | Merge branch 'beta' | Rainer Gerhards | 2009-06-24 | 1 | -0/+2 | |
|\ | ||||||
| * | Merge branch 'v4-stable' into beta | Rainer Gerhards | 2009-06-24 | 1 | -0/+2 | |
| |\ | ||||||
| | * | Merge branch 'v3-stable' into v4-stable | Rainer Gerhards | 2009-06-24 | 1 | -0/+2 | |
| | |\ | ||||||
| | | * | bugfix: invalid mutex release in msg.c | Rainer Gerhards | 2009-06-24 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | Detected under threading debugger, seems not to have any impact on actual deployments. | |||||
| | * | | Merge branch 'beta' | Rainer Gerhards | 2009-04-09 | 1 | -0/+2 | |
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog tcpsrv.c tcpsrv.h Note: we have a slight inconsistency, as interface version v4 was already used for tcpsrv in this branch. We accept this inconsistency. | |||||
| | | * | Merge branch 'v3-stable' into beta | Rainer Gerhards | 2009-04-09 | 1 | -0/+2 | |
| | | |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog | |||||
| | | | * | Merge branch 'v2-stable' into v3-stable | Rainer Gerhards | 2009-04-09 | 1 | -0/+2 | |
| | | | | | ||||||
* | | | | | optimized TAG handling | Rainer Gerhards | 2009-06-23 | 1 | -52/+35 | |
| | | | | | ||||||
* | | | | | optimized hostname processing | Rainer Gerhards | 2009-06-23 | 1 | -5/+5 | |
| | | | | | ||||||
* | | | | | restored repeated message reduction processing | Rainer Gerhards | 2009-06-23 | 1 | -16/+54 | |
| | | | | | ||||||
* | | | | | some more optimizations | Rainer Gerhards | 2009-06-23 | 1 | -4/+47 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - done malloc() instead of calloc() for msg_t, as we have large space which needs not be initialized - shrunk syslogTime structure in the hope to get better cache and write performance (non-aligned data should not hurt much here) | |||||
* | | | | | optimized processing of TAG message field | Rainer Gerhards | 2009-06-22 | 1 | -21/+6 | |
| | | | | | ||||||
* | | | | | some more optimizations of the msg_t object (minor) | Rainer Gerhards | 2009-06-22 | 1 | -20/+17 | |
| | | | | | ||||||
* | | | | | reduced memory footprint / "memory leak" | Rainer Gerhards | 2009-06-22 | 1 | -0/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Testing has shown that at least the glibc malloc() subsystem returns memory to the OS far too late in our case. So we need to help it a bit, by calling malloc_trim(), which will tell the alloc subsystem to consolidate and return to the OS. | |||||
* | | | | | fixed abort condition with oversize tags | Rainer Gerhards | 2009-06-18 | 1 | -22/+11 | |
| | | | | | | | | | | | | | | | | | | | | this was a regression I introduced this afternoon | |||||
* | | | | | optimized handling of MSG part in msg object | Rainer Gerhards | 2009-06-18 | 1 | -9/+21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | WARNING: currently, message repeation processing is disabled, must be reenabled (but prefer to do some other tests first) | |||||
* | | | | | slight optimization of template generation | Rainer Gerhards | 2009-06-18 | 1 | -2/+8 | |
| | | | | | ||||||
* | | | | | some optimization in the property replacer | Rainer Gerhards | 2009-06-18 | 1 | -40/+48 | |
| | | | | | ||||||
* | | | | | optimized TAG handling in msg object | Rainer Gerhards | 2009-06-18 | 1 | -45/+72 | |
| | | | | | ||||||
* | | | | | cleaned up/optimized raw message handling in msg object | Rainer Gerhards | 2009-06-18 | 1 | -11/+32 | |
| | | | | | ||||||
* | | | | | going forward in moving string-handling functions to new interface... | Rainer Gerhards | 2009-06-17 | 1 | -10/+10 | |
| | | | | | ||||||
* | | | | | some more optimization in msg object string handling | Rainer Gerhards | 2009-06-17 | 1 | -44/+26 | |
| | | | | | ||||||
* | | | | | further optimized message object | Rainer Gerhards | 2009-06-17 | 1 | -115/+230 | |
| | | | | | | | | | | | | | | | | | | | | pri, facility and severity string generation simplified | |||||
* | | | | | Merge branch 'master' into omfile | Rainer Gerhards | 2009-06-16 | 1 | -99/+71 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.h tcps_sess.c tcpsrv.c tools/syslogd.c | |||||
| * | | | | removed long-obsoleted property UxTradMsg | Rainer Gerhards | 2009-06-16 | 1 | -50/+50 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | ... 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 users | Rainer Gerhards | 2009-06-16 | 1 | -24/+6 | |
| | | | | | ||||||
| * | | | | some performance optimizations | Rainer Gerhards | 2009-06-16 | 1 | -34/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - saved gettimeofday() calls in imtcp (and increased reception buffer) - somewhat optimized stringbuf.c - some other optimizations | |||||
* | | | | | completed multi-ruleset core support | Rainer Gerhards | 2009-06-12 | 1 | -2/+11 | |
|/ / / / | | | | | | | | | | | | | ... as well as added multi-ruleset support for imtcp | |||||
* | | | | added capability to run multiple tcp listeners (on different ports) | Rainer Gerhards | 2009-05-22 | 1 | -64/+40 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | | bugfix: solved potential memory leak in msg processing | Rainer Gerhards | 2009-04-08 | 1 | -1/+3 | |
|/ / / | | | | | | | | | | | | | could manifest itself in imtcp (loss of a few bytes for *each* received message - but depended on config) -- this was newly introduced | |||||
* | | | added new "csv" property replacer option | Rainer Gerhards | 2009-04-02 | 1 | -0/+34 | |
| | | | | | | | | | | | | | | | to enable simple creation of CSV-formatted outputs (format from RFC4180 is used) | |||||
* | | | Merge branch 'beta' | Rainer Gerhards | 2009-01-30 | 1 | -0/+2 | |
|\| | | ||||||
| * | | Merge branch 'v3-stable' into beta, conclude fix for race | Rainer Gerhards | 2009-01-30 | 1 | -2/+5 | |
| |\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.c | |||||
| | * | Merge branch 'debian_lenny' into v3-stable | Rainer Gerhards | 2009-01-30 | 1 | -12/+7 | |
| | | | ||||||
| | * | bugfix: invalid mutex access in msg.c | Rainer Gerhards | 2009-01-30 | 1 | -2/+5 | |
| | | | ||||||
| * | | bugfix: inconsistent use of mutex/atomic operations could cause segfault | Rainer Gerhards | 2009-01-30 | 1 | -6/+7 | |
| | | | | | | | | | | | | | | | details are too many, for full analysis see blog post at: http://blog.gerhards.net/2009/01/rsyslog-data-race-analysis.html | |||||
* | | | Merge branch 'drd-testing' | Rainer Gerhards | 2009-01-29 | 1 | -2/+7 | |
|\ \ \ | ||||||
| * | | | bugfix: unitialized mutex was used in msg.c:getPRI | Rainer Gerhards | 2009-01-26 | 1 | -2/+7 | |
| | | | | | | | | | | | | | | | | | | | | This was subtle, because getPRI is called as part of the debugging code (always executed) in syslogd.c:logmsg. | |||||
* | | | | fixed atomic operations | Rainer Gerhards | 2009-01-29 | 1 | -6/+5 | |
|/ / / | ||||||
* | | | Merge branch 'beta' | Rainer Gerhards | 2008-11-18 | 1 | -1/+9 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/property_replacer.html | |||||
| * | | Merge branch 'v3-stable' into beta | Rainer Gerhards | 2008-11-11 | 1 | -1/+9 | |
| |\| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog doc/manual.html | |||||
| | * | enhance: regex nomatch option "ZERO" has been added | Rainer Gerhards | 2008-11-11 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | This allows to return the string 0 if a regular expression is not found. This is probably useful for storing numerical values into database columns. | |||||
| | * | improved debug output for regular expressions inside property replacer | Rainer Gerhards | 2008-11-11 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | RE's seem to be a big trouble spot and I would like to have more information inside the debug log. So I decided to add some additional debug strings permanently. | |||||
* | | | moved bParseHostname and bIsParsed to msgFlags | Rainer Gerhards | 2008-10-09 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | fixing segfault caused by all inputs but imudp | Rainer Gerhards | 2008-10-09 | 1 | -0/+1 | |
| | | |