Tom Gundersen
6b34a6c995
resolved: cache - add more detailed cache debug logging
2015-08-17 07:18:30 +02:00
Tom Gundersen
240b589b14
resolved: cache - use clock_boottime_or_monotonic()
...
We cannot rely on CLOCK_BOOTTIME being supported by the kernel, so fallack
to CLOCK_MONOTONIC if the former is not supported.
2015-08-03 13:42:44 +02:00
Lennart Poettering
cab5b05903
resolved: fix crash when shutting down
...
Reported by Cristian Rodríguez
http://lists.freedesktop.org/archives/systemd-devel/2015-May/031626.html
2015-05-18 23:23:17 +02:00
Michal Schmidt
d5099efc47
hashmap: introduce hash_ops to make struct Hashmap smaller
...
It is redundant to store 'hash' and 'compare' function pointers in
struct Hashmap separately. The functions always comprise a pair.
Store a single pointer to struct hash_ops instead.
systemd keeps hundreds of hashmaps, so this saves a little bit of
memory.
2014-09-15 16:08:50 +02:00
Lennart Poettering
a407657425
resolved: implement full LLMNR conflict detection logic
2014-08-11 15:06:22 +02:00
Lennart Poettering
3ef77d0476
resolved: properly check return value of dns_resource_record_equal()
2014-08-11 15:06:22 +02:00
Lennart Poettering
95dd6257a6
resolved: don't bother caching negative RRs when the SOA TTL is 0 anyway
2014-08-01 00:58:13 +02:00
Lennart Poettering
9a015429b3
resolved: use CLOCK_BOOTTIME instead of CLOCK_MONOTONIC when aging caches and timeing out transactions
...
That way the cache doens't get confused when the system is suspended.
2014-08-01 00:58:12 +02:00
Lennart Poettering
0ec7c46eed
resolved: properly handle adding empty replies to cache
2014-07-30 14:21:18 +02:00
Lennart Poettering
ddf163393b
resolved: never cache ANY lookups
2014-07-30 14:05:48 +02:00
Lennart Poettering
d2f47562d5
resolved: only cache answer RRs, never additional or authoritative RRs of responses
2014-07-30 01:47:10 +02:00
Lennart Poettering
623a4c97b9
resolve: add llmnr responder side for UDP and TCP
...
Name defending is still missing.
2014-07-29 20:57:58 +02:00
Lennart Poettering
7e8e0422ae
resolved: implement negative caching
2014-07-23 02:00:40 +02:00
Lennart Poettering
faa133f3aa
resolved: rework logic so that we can share transactions between queries of different clients
2014-07-23 02:00:40 +02:00
Lennart Poettering
cbd4560ea2
resolved: various bad memory access fixes to the cache
2014-07-18 21:01:40 +02:00
Lennart Poettering
322345fdb9
resolved: add DNS cache
2014-07-17 19:39:50 +02:00