Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | optimze: reduce memory operations during dns resolution/hostname setting | Rainer Gerhards | 2013-01-22 | 1 | -10/+90 |
| | | | | | | | | | | 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 | 1 | -11/+12 |
| | | | | extended testbench run brought up some issues... | ||||
* | optimize: move lowercasing of hostnames to cache | Rainer Gerhards | 2013-01-24 | 1 | -36/+61 |
| | | | | so we save this on each name lookup! | ||||
* | optimize: have dns cache pre-create rsyslog prop_t's | Rainer Gerhards | 2013-01-24 | 1 | -20/+33 |
| | |||||
* | optimize: reduce nbr of strcpy() in FROMHOST processing | Rainer Gerhards | 2013-01-18 | 1 | -10/+15 |
| | |||||
* | dnscache: switch to use hashtable instead of linked list | Rainer Gerhards | 2013-01-18 | 1 | -71/+57 |
| | |||||
* | cosmetic: remove compiler warning | Rainer Gerhards | 2012-11-03 | 1 | -1/+1 |
| | |||||
* | dns cache: working on invalid resolution bug, again | Rainer Gerhards | 2012-02-09 | 1 | -2/+4 |
| | | | | the proposed solution did not work out well... | ||||
* | dns cache: experimental fix for name resulution problem | Rainer Gerhards | 2012-02-08 | 1 | -1/+1 |
| | |||||
* | dns chache: added some more error instrumentation | Rainer Gerhards | 2012-02-06 | 1 | -15/+14 |
| | |||||
* | dnscache: bugfix, potentially grabagge data accessed | Rainer Gerhards | 2011-06-07 | 1 | -4/+6 |
| | | | | This was a bug of the new implementation, never released code. | ||||
* | added upper limit on # of dns cache entries to prevent DoS | Rainer Gerhards | 2011-06-07 | 1 | -2/+59 |
| | |||||
* | added a first implementation of a DNS name cache | Rainer Gerhards | 2011-06-06 | 1 | -0/+295 |
this still has a couple of weaknesses, like no size limit, no expiration of entries, suboptimal algorithms -- but it should perform better than what we had previously. Implementation will be improved based on feedback during the next couple of releases |