Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | logsig: write integers in most compact from to tlv file | Rainer Gerhards | 2013-03-08 | 1 | -21/+39 | |
| | | | | | ||||||
* | | | | | logsig: implement sig.block.sizelimit parameter | Rainer Gerhards | 2013-03-08 | 1 | -2/+14 | |
| | | | | | ||||||
* | | | | | logsig: add config parameters (for omfile) | Rainer Gerhards | 2013-03-07 | 4 | -8/+126 | |
| | | | | | ||||||
* | | | | | logsig: preserve necessary state during file closed time | Rainer Gerhards | 2013-03-07 | 2 | -12/+84 | |
| | | | | | ||||||
* | | | | | logsig: add support to read signature files | Rainer Gerhards | 2013-03-07 | 4 | -56/+452 | |
| | | | | | | | | | | | | | | | | | | | | ... still incomplete ... | |||||
* | | | | | logsig: write block-sig record | Rainer Gerhards | 2013-03-06 | 3 | -57/+217 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | also some general improvements, e.g. random data is now gathered correctly | |||||
* | | | | | logsig: first PoC of actually writing to signature file | Rainer Gerhards | 2013-03-05 | 2 | -11/+80 | |
| | | | | | ||||||
* | | | | | logsig: more interface plumbing | Rainer Gerhards | 2013-03-05 | 3 | -5/+42 | |
| | | | | | ||||||
* | | | | | logsig: build base plumbing for signature multi-provider interface | Rainer Gerhards | 2013-03-05 | 6 | -2/+189 | |
| | | | | | ||||||
* | | | | | logsig: PoC for some TLV support functions | Rainer Gerhards | 2013-03-04 | 1 | -2/+97 | |
| | | | | | | | | | | | | | | | | | | | | also first steps at integrating them into rest of PoC | |||||
* | | | | | logsigner: sign via merkle tree approach (still PoC, non production) | Rainer Gerhards | 2013-02-21 | 3 | -125/+319 | |
| | | | | | ||||||
* | | | | | logsig: add pseudocodish C skeleton for signature algo | Rainer Gerhards | 2013-02-18 | 1 | -0/+124 | |
|/ / / / | ||||||
* | | | | 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 | |
| | | | | | | |