Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bugfix: build on non-linux platforms failed | Rainer Gerhards | 2013-03-20 | 1 | -1/+1 |
| | | | | The previous fix for this was incomplete. | ||||
* | bugfix: solve compile problems on non-Linux platforms | Rainer Gerhards | 2013-03-19 | 1 | -1/+1 |
| | | | | Thanks to Michael Biebl for alerting us on this issue. | ||||
* | Merge branch 'v7-stable' | Rainer Gerhards | 2013-03-18 | 2 | -0/+10 |
|\ | | | | | | | | | | | Conflicts: runtime/debug.h tools/syslogd.c | ||||
| * | debug system improvement & bug fix for init system status (see below) | Rainer Gerhards | 2013-03-15 | 2 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | - rsyslogd startup information is now properly conveyed back to init when privileges are beging dropped Actually, we have moved termination of the parent in front of the priv drop. So it shall work now in all cases. See code comments in commit for more details. - If forking, the parent now waits for a maximum of 60 seconds for termination by the child - improved debugging support in forked (auto-backgrounding) mode The rsyslog debug log file is now continued to be written across the fork. | ||||
* | | Merge branch 'v6-stable' | Rainer Gerhards | 2013-03-12 | 1 | -1/+1 |
|\ \ | |||||
| * \ | Merge branch 'v5-stable' into v6-stable | Rainer Gerhards | 2013-03-12 | 2 | -2/+4 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: action.c queue.c (some code moved from action.c --> queue.c) | ||||
* | | | | mmanon: complete ipv4 functionality | Rainer Gerhards | 2013-03-04 | 3 | -0/+10 |
| | | | | |||||
* | | | | mmanon: add ability to specify number of bits to be anonymized | Rainer Gerhards | 2013-03-04 | 1 | -0/+2 |
| | | | | |||||
* | | | | Merge branch 'master' into master-omjournal | Rainer Gerhards | 2013-02-27 | 3 | -0/+45 |
|\ \ \ \ | |||||
| * | | | | added ability to configure debug system via rsyslog.conf | Rainer Gerhards | 2013-02-27 | 3 | -0/+45 |
| | | | | | |||||
* | | | | | imuxsock: add capability to ignore messages from ourselfes | Rainer Gerhards | 2013-02-26 | 2 | -1/+8 |
|/ / / / | | | | | | | | | | | | | | | | | This helps prevent message routing loops, and is vital to have if omjournal is used together with traditional syslog. | ||||
* | | | | optimze: reduce memory operations during dns resolution/hostname setting | Rainer Gerhards | 2013-01-22 | 7 | -118/+139 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previously, hostname and ip strings were shuffled to the msg object, which created a property out of them. Now the cache holds the property, and it is resused (almost) everywhere, what saves a lot of memory operations. The only exception is imtcp session setup, where different handling of the hostname is done, which we need to sort out (but that's another story). | ||||
* | | | | some fixes to commit 440aaff114607e82aefee56336846611a2e35c9c | Rainer Gerhards | 2013-01-22 | 2 | -12/+14 |
| | | | | | | | | | | | | | | | | extended testbench run brought up some issues... | ||||
* | | | | optimize: move lowercasing of hostnames to cache | Rainer Gerhards | 2013-01-24 | 6 | -54/+85 |
| | | | | | | | | | | | | | | | | so we save this on each name lookup! | ||||
* | | | | refactor cvthname() for cleaner code | Rainer Gerhards | 2013-01-24 | 1 | -33/+27 |
| | | | | |||||
* | | | | fix: gtls stream driver must support new interface | Rainer Gerhards | 2013-01-24 | 1 | -5/+3 |
| | | | | |||||
* | | | | Merge branch 'master' into master-dns-props | Rainer Gerhards | 2013-01-24 | 1 | -6/+10 |
|\ \ \ \ | |||||
| * | | | | regression fix: programname was not properly handled | Rainer Gerhards | 2013-01-24 | 1 | -6/+10 |
| | | | | | | | | | | | | | | | | | | | | Regression from recent refactoring - never released. | ||||
* | | | | | optimize: have dns cache pre-create rsyslog prop_t's | Rainer Gerhards | 2013-01-24 | 13 | -77/+90 |
|/ / / / | |||||
* | | | | fix memory leak (regression from batch optimization work - unreleased) | Rainer Gerhards | 2013-01-18 | 1 | -0/+1 |
| | | | | |||||
* | | | | refactor / simplify | Rainer Gerhards | 2013-01-18 | 1 | -5/+3 |
| | | | | |||||
* | | | | optimize: reduce nbr of strcpy() in FROMHOST processing | Rainer Gerhards | 2013-01-18 | 6 | -30/+41 |
| | | | | |||||
* | | | | dnscache: switch to use hashtable instead of linked list | Rainer Gerhards | 2013-01-18 | 2 | -72/+58 |
| | | | | |||||
* | | | | optimize memory layout for much better cache hits | Rainer Gerhards | 2013-01-15 | 3 | -22/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moave element status out of batch_obj_t because we get a *much* better cache hit ratio this way. Note that this is really a HUGE saving, even if it doesn't look so (both profiler data as well as practical tests indicate that!). | ||||
* | | | | bugfix: regression from textpri() optimization | Rainer Gerhards | 2013-01-15 | 1 | -1/+2 |
| | | | | |||||
* | | | | 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: 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 | 1 | -11/+17 |
| | | | | | | | | | | | | | | | | also fixed a couple of smaller issues along that way | ||||
* | | | | Merge branch 'v7-stable-libnet-frag' | Rainer Gerhards | 2013-01-14 | 4 | -1/+27 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog | ||||
| * \ \ \ | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2013-01-14 | 1 | -1/+3 |
| |\ \ \ \ | | | |_|/ | | |/| | | |||||
| | * | | | Merge branch 'v5-stable' into v7-stable | Rainer Gerhards | 2013-01-14 | 1 | -1/+3 |
| | |\ \ \ | | | | |/ | | | |/| | |||||
| | | * | | bugfix: decrement string length | Tomas Heinrich | 2013-01-14 | 1 | -1/+3 |
| | | | | | |||||
| * | | | | added capability to output thread-id-to-function debug info | Rainer Gerhards | 2013-01-13 | 3 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | This is a useful debug aid, but nothing of concern for regular users. | ||||
| * | | | | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2013-01-09 | 3 | -1/+13 |
| |\| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog | ||||
| * | | | | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2013-01-09 | 2 | -1/+5 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac | ||||
| * \ \ \ \ | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2012-12-20 | 1 | -7/+18 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/omudpspoof/omudpspoof.c | ||||
* | | | | | | | optimize: do date() call in template processing only if actually needed | Rainer Gerhards | 2013-01-13 | 1 | -0/+4 |
| | | | | | | | |||||
* | | | | | | | Merge branch 'v7-stable' | Rainer Gerhards | 2013-01-09 | 3 | -1/+13 |
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog | ||||
| * | | | | | | 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 |
| | | | | | | | |||||
| * | | | | | | Check that sysinfo(2) can return uptime | Martin Carpenter | 2013-01-09 | 1 | -1/+6 |
| | | | | | | | |||||
| * | | | | | | Add LOG_AUDIT facility for eg Solaris | Martin Carpenter | 2013-01-09 | 1 | -0/+3 |
| | |_|/ / / | |/| | | | |