Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bugfix: regression from textpri() optimization | Rainer Gerhards | 2013-01-15 | 1 | -1/+2 |
| | |||||
* | optimize: do not iterate over batch items if unneeded ;) | Rainer Gerhards | 2013-01-15 | 1 | -5/+8 |
| | |||||
* | optimize: use fixed size (8 bits) instead of enum | Rainer Gerhards | 2013-01-15 | 1 | -7/+6 |
| | | | | | | looks like GCC, even if optimizing, uses 32 bits - at least this is suggested by the profiler results (both in terms of runtime and cache misses). | ||||
* | optimize: re-use already computed value! | Rainer Gerhards | 2013-01-14 | 1 | -2/+2 |
| | |||||
* | optimize: use built-in str comparison, as this is optimized in assembly | Rainer Gerhards | 2013-01-14 | 1 | -7/+1 |
| | | | | | do only when possible. However, the profiler only shows as *very* minimal effect. | ||||
* | optimize: save inspection of already-inspected data | Rainer Gerhards | 2013-01-14 | 1 | -2/+8 |
| | | | | this is just a small improvement, but let's get the benefit ;) | ||||
* | optimize: slight improvement due to isdigit() replacement | Rainer Gerhards | 2013-01-14 | 1 | -2/+3 |
| | |||||
* | optimize: minor cleanup (long scheduled...) | Rainer Gerhards | 2013-01-14 | 1 | -9/+0 |
| | | | | | I did yet another safety-check that there are no problems with removing that de-init. | ||||
* | optimize: iscntrl() seems to be surprisingly slow | Rainer Gerhards | 2013-01-14 | 1 | -4/+3 |
| | | | | at least so tells the profiler... | ||||
* | optimize: obtaining programname | Rainer Gerhards | 2013-01-14 | 3 | -64/+35 |
| | | | | included some additional refactoring for cleaner code | ||||
* | optimzize: msg/getNow() - remove snprintf | Rainer Gerhards | 2013-01-14 | 1 | -8/+26 |
| | | | | instead, we use a lookup table for the values. | ||||
* | optimize: permit cancel during object destruction | Rainer Gerhards | 2013-01-14 | 1 | -4/+1 |
| | | | | | | | 1) usually, no cancellation happens 2) even if so, there is no cancellation point inside the destructors, so disabeling cancellation was mood in the first place... | ||||
* | optimize msg.c/textpri | Rainer Gerhards | 2013-01-14 | 2 | -11/+14 |
| | | | | remove snprintf() in favor for quicker code | ||||
* | omfile: improved async writing, finally enabled full async write | Rainer Gerhards | 2013-01-14 | 3 | -12/+25 |
| | | | | also fixed a couple of smaller issues along that way | ||||
* | Merge branch 'v7-stable-libnet-frag' | Rainer Gerhards | 2013-01-14 | 10 | -6/+48 |
|\ | | | | | | | | | Conflicts: ChangeLog | ||||
| * | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2013-01-14 | 3 | -2/+11 |
| |\ | |||||
| | * | Merge branch 'v5-stable' into v7-stable | Rainer Gerhards | 2013-01-14 | 3 | -1/+7 |
| | |\ | |||||
| | | * | doc: mention last patch in ChangeLog | Rainer Gerhards | 2013-01-14 | 1 | -0/+2 |
| | | | | |||||
| | | * | bugfix: decrement string length | Tomas Heinrich | 2013-01-14 | 1 | -1/+3 |
| | | | | |||||
| | | * | tcpflood: properly terminate when sending small files | Rainer Gerhards | 2013-01-14 | 1 | -0/+2 |
| | | | | |||||
| | * | | bugfix: omelasticsearch failed when authentication data was provided | Rainer Gerhards | 2013-01-13 | 2 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... at least in most cases it emitted an error message: "snprintf failed when trying to build auth string" Thanks to Joerg Heinemann for alerting us. closes: http://bugzilla.adiscon.com/show_bug.cgi?id=404 | ||||
| | * | | fix compile problem due to new (Solaris) compat layer | Rainer Gerhards | 2013-01-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | The compat layer was not fully integrated into the build system, causing ./configure to fail. | ||||
| * | | | added capability to output thread-id-to-function debug info | Rainer Gerhards | 2013-01-13 | 8 | -4/+39 |
| | | | | | | | | | | | | | | | | This is a useful debug aid, but nothing of concern for regular users. | ||||
* | | | | tcpflood: properly terminate when sending small files | Rainer Gerhards | 2013-01-14 | 1 | -0/+2 |
| | | | | |||||
* | | | | optimize: do date() call in template processing only if actually needed | Rainer Gerhards | 2013-01-13 | 4 | -58/+6 |
| | | | | |||||
* | | | | doc bugfix: invalid parser name | Rainer Gerhards | 2013-01-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Thanks to Nathan Stratton Treadway for alerting me. | ||||
* | | | | fix compile problem in imklog | Rainer Gerhards | 2013-01-13 | 2 | -1/+2 |
| | | | | |||||
* | | | | Correct call to submitMsg() | Martin Carpenter | 2013-01-13 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'v7-stable-libnet-frag' | Rainer Gerhards | 2013-01-11 | 8 | -33/+165 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac tools/omfile.c | ||||
| * | | | fix compile problem due to new (Solaris) compat layer | Rainer Gerhards | 2013-01-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | The compat layer was not fully integrated into the build system, causing ./configure to fail. | ||||
| * | | | bump version number | Rainer Gerhards | 2013-01-10 | 1 | -1/+1 |
| | | | | |||||
| * | | | impstats: added ability to write stats records to local file | Rainer Gerhards | 2013-01-10 | 4 | -26/+155 |
| | | | | | | | | | | | | | | | | | | | | ...and avoid going through the syslog log stream. syslog logging can now also be turned off (see doc for details). | ||||
| * | | | cosmetic: remove over-suspicious compiler warnings | Rainer Gerhards | 2013-01-10 | 1 | -5/+5 |
| | | | | |||||
| * | | | add some more debug info to omfile | Rainer Gerhards | 2013-01-10 | 1 | -0/+1 |
| | | | | |||||
| * | | | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2013-01-09 | 9 | -10/+419 |
| |\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog | ||||
| * | | | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2013-01-09 | 8 | -10/+44 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac | ||||
| * \ \ \ | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2012-12-20 | 3 | -7/+30 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/omudpspoof/omudpspoof.c | ||||
| * | | | | | imudp: make debug message clearer | Rainer Gerhards | 2012-12-19 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Merge branch 'v7-stable' | Rainer Gerhards | 2013-01-09 | 2 | -8/+28 |
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | |||||
| * | | | | | bugfix: some property-based filter were incorrectly parsed | Rainer Gerhards | 2013-01-09 | 2 | -2/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This usually lead to a syntax error on startup and rsyslogd not actually starting up. The problem was the regex, which did not care for double quote characters to follow in the action part - unfortunately something that can frequently happen with v6+ format. An example: :programname, isequal, "as" {action(type="omfile" ...) } Here, the part :programname, isequal, "as" {action(type="omfile" was treated as the property filter, and the rest as action part. Obviously, this did not work out. Unfortunately, such situations usually resulted in very hard to understand error messages. | ||||
| * | | | | | improve config reader error messages a bit more | Rainer Gerhards | 2013-01-09 | 1 | -6/+12 |
| | | | | | | |||||
* | | | | | | Merge branch 'v7-stable' | Rainer Gerhards | 2013-01-09 | 9 | -14/+391 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog | ||||
| * | | | | | slightly improved config parser error messages when invalid escapes happen | Rainer Gerhards | 2013-01-09 | 2 | -1/+5 |
| | | | | | | |||||
| * | | | | | fix typo from last patch, prevented compile on non-solaris | Rainer Gerhards | 2013-01-09 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | Use compatibility library if getifaddrs(3) not available | Martin Carpenter | 2013-01-09 | 1 | -0/+4 |
| | | | | | | |||||
| * | | | | | compat dir: a bit restructuring and make sure config.h is included | Rainer Gerhards | 2013-01-09 | 2 | -1/+5 |
| | | | | | | |||||
| * | | | | | Add compatibility library | Rainer Gerhards | 2013-01-09 | 4 | -1/+368 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac | ||||
| * | | | | | remove no longer necessary configure test for sysinfo() | Rainer Gerhards | 2013-01-09 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Check that sysinfo(2) can return uptime | Martin Carpenter | 2013-01-09 | 2 | -1/+7 |
| | | | | | | |||||
| * | | | | | Add LOG_AUDIT facility for eg Solaris | Martin Carpenter | 2013-01-09 | 1 | -0/+3 |
| | |_|/ / | |/| | | |