summaryrefslogtreecommitdiff
path: root/src/resolve
Commit message (Collapse)AuthorAge
* hashmap: introduce hash_ops to make struct Hashmap smallerMichal Schmidt2014-09-15
| | | | | | | | | 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.
* resolved: fall back to hardcoded ifindex when checking if a link is the loopbackTom Gundersen2014-09-13
| | | | | | Reported by Philippe De Swert <philippedeswert@gmail.com>. Coverity CID#1237656
* resolved: fix typo in log messageLennart Poettering2014-08-22
|
* shared: add MAXSIZE() and use it in resolvedDavid Herrmann2014-08-22
| | | | | | | | | | | The MAXSIZE() macro takes two types and returns the size of the larger one. It is much simpler to use than MAX(sizeof(A), sizeof(B)) and also avoids any compiler-extensions, unlike CONST_MAX() and MAX() (which are needed to avoid evaluating arguments more than once). This was suggested by Daniele Nicolodi <daniele@grinta.net>. Also make resolved use this macro instead of CONST_MAX(). This enhances readability quite a bit.
* notify: send STOPPING=1 from our daemonsLennart Poettering2014-08-21
|
* resolved: write resolv.conf search - switch argumentsTom Gundersen2014-08-20
| | | | Found by Lukáš Nykrýn.
* resolved: fix which return codes we checkLennart Poettering2014-08-20
| | | | Discovered by Lukas Nykryn
* resolved-dns-rr: fix typoLukas Nykryn2014-08-20
| | | | | a->rrsig.type_covered != a->rrsig.type_covered" is always false regardless of the values of its operands because those operands are identical.
* resolve: fix compilation on LLVM+clangDavid Herrmann2014-08-15
| | | | | LLVM+clang does not allow statement-expressions inside of type-declarations (file-scope). Use CONST_MAX() to avoid this.
* resolved: fix assertion when joining llmnr mcast groupLennart Poettering2014-08-15
|
* resolved: pull in domain names from sd-networkTom Gundersen2014-08-14
|
* resolved: clarify that LLMNR scopes must have a link assignedLennart Poettering2014-08-14
| | | | | | This is supposed to remove some compiler warnings: http://lists.freedesktop.org/archives/systemd-devel/2014-July/021393.html
* resolved: enable LLMNRLennart Poettering2014-08-14
| | | | | | THis was accidentally broken, as we truned off LLMNR far to frequently, where we only wanted to turn off LLMNr on IPV6 on kernels lacking support for it.
* resolved: allow passing on which protocol, family and interface to look ↵Lennart Poettering2014-08-14
| | | | | | something up Also, return on which protocol/family/interface we found something.
* sd-network: /_get_link_/_link_get_/Tom Gundersen2014-08-13
| | | | | | The link is the 'object', so make this in line with our usual naming convention. Suggested by Kay and Lennart.
* resolved: skip IPv6 LLMNR if IPv6 is not availableLennart Poettering2014-08-13
|
* resolved: return exit code of event loopLennart Poettering2014-08-12
|
* resolved: unify logic how we flush out DNS servers we learntLennart Poettering2014-08-12
|
* resolved: filter out duplicate DNS servers when writing resolv.confLennart Poettering2014-08-12
|
* resolved: initialize counterThomas Hindoe Paaboel Andersen2014-08-12
| | | | introduced in: a407657425a3e47fd2b559cd3bc800f791303f63
* sd-network: rename the per-ifindex calls to sd_network_get_link_xxx()Lennart Poettering2014-08-11
| | | | | This way we can introduce system-wide versions of these calls that are called the same way, but without the "link" in the name.
* resolved: when picking a new hostname make sure two hosts pick different onesLennart Poettering2014-08-11
| | | | | This way we can avoid always picking the same replacement hostnames when picking one.
* resolved: actually, the peer with the lower IP address wins conflictsLennart Poettering2014-08-11
|
* resolved: make sure we don't mark the wrong zone RRs conflictingLennart Poettering2014-08-11
|
* resolved: be a bit more communicative about conflictsLennart Poettering2014-08-11
|
* resolved: verify all RRs when we come back from suspendLennart Poettering2014-08-11
|
* resolved: destroy outstanding queries if the clients that initiated them dieLennart Poettering2014-08-11
|
* resolved: properly pass aborted transaction result back to clientsLennart Poettering2014-08-11
|
* resolved: implement full LLMNR conflict detection logicLennart Poettering2014-08-11
|
* resolved: properly check return value of dns_resource_record_equal()Lennart Poettering2014-08-11
|
* resolved: don't abort if a transaction is aborted because its scope is removedLennart Poettering2014-08-05
|
* resolved: add 100ms initial jitter to all LLMNR requestsLennart Poettering2014-08-05
|
* resolved: enforce ratelimit on LLMNR trafficLennart Poettering2014-08-05
|
* resolved: don't consider tentative addresses relevantLennart Poettering2014-08-05
|
* resolved: fix a message typoLennart Poettering2014-08-05
|
* resolved: stop the prober when we detect a conflict in LLMNRLennart Poettering2014-08-05
|
* resolved: don't override zone item state after starting the probeLennart Poettering2014-08-05
| | | | | After all, the probe might be finished immeidately (due to resources, ...), and we shouldn't then set the state back to probing.
* resolved: when sending fails, don't try connecting to the next DNS server if ↵Lennart Poettering2014-08-05
| | | | we actually use LLMNR as protocol
* resolved: never reuse transactions for probing that are already completed ↵Lennart Poettering2014-08-05
| | | | based on cached data
* resolved: bypass local cache when we issue a transaction for verification ↵Lennart Poettering2014-08-05
| | | | purposes
* resolved: if there's already an RR established that has the same name of an ↵Lennart Poettering2014-08-05
| | | | | | RR to be established, skip probing the name After all, what has been probed once, doesn't need to be probed again.
* resolved: actually read the initial state data from networkd when we initializeLennart Poettering2014-08-04
|
* resolved: read the per-interface LLMNR setting from networkd and act on itLennart Poettering2014-08-04
|
* resolved: fix order in which we destroy manager resourcesLennart Poettering2014-08-04
|
* resolved: when there's already somebody listening on the LLMNR ports, simple ↵Lennart Poettering2014-08-04
| | | | | | | | disable LLMNR and warn, but continue This allows us to run resolved inside an nspawn container that shares the network namespace with the host, if there's already an instance running.
* resolved: RRSIG recordsZbigniew Jędrzejewski-Szmek2014-08-03
|
* resolved: add identifiers for dnssec algorithmsZbigniew Jędrzejewski-Szmek2014-08-03
|
* resolved: DNSKEY recordsZbigniew Jędrzejewski-Szmek2014-08-03
|
* resolve-host: make arg_type an intZbigniew Jędrzejewski-Szmek2014-08-03
| | | | We are using it also to store _DNS_TYPE_INVALID, so it should be signed.
* resolve: add more record types and convert to gperf tableZbigniew Jędrzejewski-Szmek2014-08-03
| | | | | | | | | | | | | We are unlikely to evert support most of them, but we can at least display the types properly. The list is taken from the IANA list. The table of number->name mappings is converted to a switch statement. gcc does a nice job of optimizing lookup (when optimization is enabled). systemd-resolve-host -t is now case insensitive.