summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git+ssh://git.adiscon.com/git/rsyslogRainer Gerhards2013-03-201-1/+1
|\ | | | | | | | | Conflicts: ChangeLog
| * bugfix: build on non-linux platforms failedRainer Gerhards2013-03-201-1/+1
| | | | | | | | The previous fix for this was incomplete.
* | Merge branch 'v7-stable' into tmpRainer Gerhards2013-03-201-13/+15
|\ \ | |/ |/|
| * Merge branch 'v6-stable' into tmpRainer Gerhards2013-03-202-14/+16
| |\
| | * Merge branch 'v5-stable' into v6-stableRainer Gerhards2013-03-201-13/+15
| | |\
| | | * bugfix: get rid of potential endless loop in doGetGID()Tomas Heinrich2013-03-201-13/+15
| | | |
* | | | bugfix: solve compile problems on non-Linux platformsRainer Gerhards2013-03-191-1/+1
| | | | | | | | | | | | | | | | Thanks to Michael Biebl for alerting us on this issue.
* | | | Merge branch 'v7-stable'Rainer Gerhards2013-03-182-0/+10
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/debug.h tools/syslogd.c
| * | | debug system improvement & bug fix for init system status (see below)Rainer Gerhards2013-03-152-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 Gerhards2013-03-121-1/+1
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'v5-stable' into v6-stableRainer Gerhards2013-03-122-2/+4
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | Conflicts: action.c queue.c (some code moved from action.c --> queue.c)
* | | | mmanon: complete ipv4 functionalityRainer Gerhards2013-03-043-0/+10
| | | |
* | | | mmanon: add ability to specify number of bits to be anonymizedRainer Gerhards2013-03-041-0/+2
| | | |
* | | | Merge branch 'master' into master-omjournalRainer Gerhards2013-02-273-0/+45
|\ \ \ \
| * | | | added ability to configure debug system via rsyslog.confRainer Gerhards2013-02-273-0/+45
| | | | |
* | | | | imuxsock: add capability to ignore messages from ourselfesRainer Gerhards2013-02-262-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 settingRainer Gerhards2013-01-227-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 440aaff114607e82aefee56336846611a2e35c9cRainer Gerhards2013-01-222-12/+14
| | | | | | | | | | | | | | | | extended testbench run brought up some issues...
* | | | optimize: move lowercasing of hostnames to cacheRainer Gerhards2013-01-246-54/+85
| | | | | | | | | | | | | | | | so we save this on each name lookup!
* | | | refactor cvthname() for cleaner codeRainer Gerhards2013-01-241-33/+27
| | | |
* | | | fix: gtls stream driver must support new interfaceRainer Gerhards2013-01-241-5/+3
| | | |
* | | | Merge branch 'master' into master-dns-propsRainer Gerhards2013-01-241-6/+10
|\ \ \ \
| * | | | regression fix: programname was not properly handledRainer Gerhards2013-01-241-6/+10
| | | | | | | | | | | | | | | | | | | | Regression from recent refactoring - never released.
* | | | | optimize: have dns cache pre-create rsyslog prop_t'sRainer Gerhards2013-01-2413-77/+90
|/ / / /
* | | | fix memory leak (regression from batch optimization work - unreleased)Rainer Gerhards2013-01-181-0/+1
| | | |
* | | | refactor / simplifyRainer Gerhards2013-01-181-5/+3
| | | |
* | | | optimize: reduce nbr of strcpy() in FROMHOST processingRainer Gerhards2013-01-186-30/+41
| | | |
* | | | dnscache: switch to use hashtable instead of linked listRainer Gerhards2013-01-182-72/+58
| | | |
* | | | optimize memory layout for much better cache hitsRainer Gerhards2013-01-153-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() optimizationRainer Gerhards2013-01-151-1/+2
| | | |
* | | | optimize: use fixed size (8 bits) instead of enumRainer Gerhards2013-01-151-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 Gerhards2013-01-141-2/+2
| | | |
* | | | optimize: use built-in str comparison, as this is optimized in assemblyRainer Gerhards2013-01-141-7/+1
| | | | | | | | | | | | | | | | | | | | do only when possible. However, the profiler only shows as *very* minimal effect.
* | | | optimize: save inspection of already-inspected dataRainer Gerhards2013-01-141-2/+8
| | | | | | | | | | | | | | | | this is just a small improvement, but let's get the benefit ;)
* | | | optimize: slight improvement due to isdigit() replacementRainer Gerhards2013-01-141-2/+3
| | | |
* | | | optimize: iscntrl() seems to be surprisingly slowRainer Gerhards2013-01-141-4/+3
| | | | | | | | | | | | | | | | at least so tells the profiler...
* | | | optimize: obtaining programnameRainer Gerhards2013-01-143-64/+35
| | | | | | | | | | | | | | | | included some additional refactoring for cleaner code
* | | | optimzize: msg/getNow() - remove snprintfRainer Gerhards2013-01-141-8/+26
| | | | | | | | | | | | | | | | instead, we use a lookup table for the values.
* | | | optimize: permit cancel during object destructionRainer Gerhards2013-01-141-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/textpriRainer Gerhards2013-01-142-11/+14
| | | | | | | | | | | | | | | | remove snprintf() in favor for quicker code
* | | | omfile: improved async writing, finally enabled full async writeRainer Gerhards2013-01-141-11/+17
| | | | | | | | | | | | | | | | also fixed a couple of smaller issues along that way
* | | | Merge branch 'v7-stable-libnet-frag'Rainer Gerhards2013-01-144-1/+27
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * \ \ \ Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2013-01-141-1/+3
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | Merge branch 'v5-stable' into v7-stableRainer Gerhards2013-01-141-1/+3
| | |\ \ \ | | | | |/ | | | |/|
| | | * | bugfix: decrement string lengthTomas Heinrich2013-01-141-1/+3
| | | | |
| * | | | added capability to output thread-id-to-function debug infoRainer Gerhards2013-01-133-0/+24
| | | | | | | | | | | | | | | | | | | | This is a useful debug aid, but nothing of concern for regular users.
| * | | | Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2013-01-093-1/+13
| |\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2013-01-092-1/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| * \ \ \ \ Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2012-12-201-7/+18
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/omudpspoof/omudpspoof.c
* | | | | | | optimize: do date() call in template processing only if actually neededRainer Gerhards2013-01-131-0/+4
| | | | | | |