summaryrefslogtreecommitdiffstats
path: root/runtime/dnscache.c
Commit message (Collapse)AuthorAgeFilesLines
* optimze: reduce memory operations during dns resolution/hostname settingRainer Gerhards2013-01-221-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 440aaff114607e82aefee56336846611a2e35c9cRainer Gerhards2013-01-221-11/+12
| | | | extended testbench run brought up some issues...
* optimize: move lowercasing of hostnames to cacheRainer Gerhards2013-01-241-36/+61
| | | | so we save this on each name lookup!
* optimize: have dns cache pre-create rsyslog prop_t'sRainer Gerhards2013-01-241-20/+33
|
* optimize: reduce nbr of strcpy() in FROMHOST processingRainer Gerhards2013-01-181-10/+15
|
* dnscache: switch to use hashtable instead of linked listRainer Gerhards2013-01-181-71/+57
|
* cosmetic: remove compiler warningRainer Gerhards2012-11-031-1/+1
|
* dns cache: working on invalid resolution bug, againRainer Gerhards2012-02-091-2/+4
| | | | the proposed solution did not work out well...
* dns cache: experimental fix for name resulution problemRainer Gerhards2012-02-081-1/+1
|
* dns chache: added some more error instrumentationRainer Gerhards2012-02-061-15/+14
|
* dnscache: bugfix, potentially grabagge data accessedRainer Gerhards2011-06-071-4/+6
| | | | This was a bug of the new implementation, never released code.
* added upper limit on # of dns cache entries to prevent DoSRainer Gerhards2011-06-071-2/+59
|
* added a first implementation of a DNS name cacheRainer Gerhards2011-06-061-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