summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* logsig: add config parameters (for omfile)Rainer Gerhards2013-03-074-8/+126
|
* logsig: preserve necessary state during file closed timeRainer Gerhards2013-03-072-12/+84
|
* logsig: add support to read signature filesRainer Gerhards2013-03-074-56/+452
| | | | ... still incomplete ...
* logsig: write block-sig recordRainer Gerhards2013-03-063-57/+217
| | | | | also some general improvements, e.g. random data is now gathered correctly
* logsig: first PoC of actually writing to signature fileRainer Gerhards2013-03-052-11/+80
|
* logsig: more interface plumbingRainer Gerhards2013-03-053-5/+42
|
* logsig: build base plumbing for signature multi-provider interfaceRainer Gerhards2013-03-056-2/+189
|
* logsig: PoC for some TLV support functionsRainer Gerhards2013-03-041-2/+97
| | | | also first steps at integrating them into rest of PoC
* logsigner: sign via merkle tree approach (still PoC, non production)Rainer Gerhards2013-02-213-125/+319
|
* logsig: add pseudocodish C skeleton for signature algoRainer Gerhards2013-02-181-0/+124
|
* 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
| | | | | |
* | | | | | Merge branch 'v7-stable'Rainer Gerhards2013-01-093-1/+13
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | | fix typo from last patch, prevented compile on non-solarisRainer Gerhards2013-01-091-2/+2
| | | | | |
| * | | | | Use compatibility library if getifaddrs(3) not availableMartin Carpenter2013-01-091-0/+4
| | | | | |
| * | | | | Check that sysinfo(2) can return uptimeMartin Carpenter2013-01-091-1/+6
| | | | | |
| * | | | | Add LOG_AUDIT facility for eg SolarisMartin Carpenter2013-01-091-0/+3
| | |_|/ / | |/| | |
* | | | | Merge branch 'v7-stable'Rainer Gerhards2013-01-083-8/+23
|\| | | |