Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-22 | resolved: simplify detection of packets from the loopback device | Lennart Poettering | |
We can simplify our code quite a bit if we explicitly check for the ifindex being 1 on Linux as a loopback check. Apparently, this is hardcoded on Linux on the kernel, and effectively exported to userspace via rtnl and such, hence we should be able to rely on it. | |||
2014-10-17 | resolve: add missing header | Lukasz Skalski | |
Change-Id: I64f7c6b446f6d92057c35cc3d4e29bd2bad8f75b | |||
2014-10-13 | resolved: apply label to /run/systemd/resolve/resolv.conf | Zbigniew Jędrzejewski-Szmek | |
Under an SELinux system, we want the file that is created to have a proper context, different from the default for files in /run. This is so that the policy can give access to almost everyone to this file. | |||
2014-10-13 | resolved: split out writing of resolv.conf | Zbigniew Jędrzejewski-Szmek | |
manager_write_resolv_conf() is quite long anyway. | |||
2014-09-15 | hashmap: introduce hash_ops to make struct Hashmap smaller | Michal Schmidt | |
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-13 | resolved: fall back to hardcoded ifindex when checking if a link is the loopback | Tom Gundersen | |
Reported by Philippe De Swert <philippedeswert@gmail.com>. Coverity CID#1237656 | |||
2014-08-22 | resolved: fix typo in log message | Lennart Poettering | |
2014-08-22 | shared: add MAXSIZE() and use it in resolved | David Herrmann | |
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. | |||
2014-08-21 | notify: send STOPPING=1 from our daemons | Lennart Poettering | |
2014-08-20 | resolved: write resolv.conf search - switch arguments | Tom Gundersen | |
Found by Lukáš Nykrýn. | |||
2014-08-20 | resolved: fix which return codes we check | Lennart Poettering | |
Discovered by Lukas Nykryn | |||
2014-08-20 | resolved-dns-rr: fix typo | Lukas Nykryn | |
a->rrsig.type_covered != a->rrsig.type_covered" is always false regardless of the values of its operands because those operands are identical. | |||
2014-08-15 | resolve: fix compilation on LLVM+clang | David Herrmann | |
LLVM+clang does not allow statement-expressions inside of type-declarations (file-scope). Use CONST_MAX() to avoid this. | |||
2014-08-15 | resolved: fix assertion when joining llmnr mcast group | Lennart Poettering | |
2014-08-14 | resolved: pull in domain names from sd-network | Tom Gundersen | |
2014-08-14 | resolved: clarify that LLMNR scopes must have a link assigned | Lennart Poettering | |
This is supposed to remove some compiler warnings: http://lists.freedesktop.org/archives/systemd-devel/2014-July/021393.html | |||
2014-08-14 | resolved: enable LLMNR | Lennart Poettering | |
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. | |||
2014-08-14 | resolved: allow passing on which protocol, family and interface to look ↵ | Lennart Poettering | |
something up Also, return on which protocol/family/interface we found something. | |||
2014-08-13 | sd-network: /_get_link_/_link_get_/ | Tom Gundersen | |
The link is the 'object', so make this in line with our usual naming convention. Suggested by Kay and Lennart. | |||
2014-08-13 | resolved: skip IPv6 LLMNR if IPv6 is not available | Lennart Poettering | |
2014-08-12 | resolved: return exit code of event loop | Lennart Poettering | |
2014-08-12 | resolved: unify logic how we flush out DNS servers we learnt | Lennart Poettering | |
2014-08-12 | resolved: filter out duplicate DNS servers when writing resolv.conf | Lennart Poettering | |
2014-08-12 | resolved: initialize counter | Thomas Hindoe Paaboel Andersen | |
introduced in: a407657425a3e47fd2b559cd3bc800f791303f63 | |||
2014-08-11 | sd-network: rename the per-ifindex calls to sd_network_get_link_xxx() | Lennart Poettering | |
This way we can introduce system-wide versions of these calls that are called the same way, but without the "link" in the name. | |||
2014-08-11 | resolved: when picking a new hostname make sure two hosts pick different ones | Lennart Poettering | |
This way we can avoid always picking the same replacement hostnames when picking one. | |||
2014-08-11 | resolved: actually, the peer with the lower IP address wins conflicts | Lennart Poettering | |
2014-08-11 | resolved: make sure we don't mark the wrong zone RRs conflicting | Lennart Poettering | |
2014-08-11 | resolved: be a bit more communicative about conflicts | Lennart Poettering | |
2014-08-11 | resolved: verify all RRs when we come back from suspend | Lennart Poettering | |
2014-08-11 | resolved: destroy outstanding queries if the clients that initiated them die | Lennart Poettering | |
2014-08-11 | resolved: properly pass aborted transaction result back to clients | Lennart Poettering | |
2014-08-11 | resolved: implement full LLMNR conflict detection logic | Lennart Poettering | |
2014-08-11 | resolved: properly check return value of dns_resource_record_equal() | Lennart Poettering | |
2014-08-05 | resolved: don't abort if a transaction is aborted because its scope is removed | Lennart Poettering | |
2014-08-05 | resolved: add 100ms initial jitter to all LLMNR requests | Lennart Poettering | |
2014-08-05 | resolved: enforce ratelimit on LLMNR traffic | Lennart Poettering | |
2014-08-05 | resolved: don't consider tentative addresses relevant | Lennart Poettering | |
2014-08-05 | resolved: fix a message typo | Lennart Poettering | |
2014-08-05 | resolved: stop the prober when we detect a conflict in LLMNR | Lennart Poettering | |
2014-08-05 | resolved: don't override zone item state after starting the probe | Lennart Poettering | |
After all, the probe might be finished immeidately (due to resources, ...), and we shouldn't then set the state back to probing. | |||
2014-08-05 | resolved: when sending fails, don't try connecting to the next DNS server if ↵ | Lennart Poettering | |
we actually use LLMNR as protocol | |||
2014-08-05 | resolved: never reuse transactions for probing that are already completed ↵ | Lennart Poettering | |
based on cached data | |||
2014-08-05 | resolved: bypass local cache when we issue a transaction for verification ↵ | Lennart Poettering | |
purposes | |||
2014-08-05 | resolved: if there's already an RR established that has the same name of an ↵ | Lennart Poettering | |
RR to be established, skip probing the name After all, what has been probed once, doesn't need to be probed again. | |||
2014-08-04 | resolved: actually read the initial state data from networkd when we initialize | Lennart Poettering | |
2014-08-04 | resolved: read the per-interface LLMNR setting from networkd and act on it | Lennart Poettering | |
2014-08-04 | resolved: fix order in which we destroy manager resources | Lennart Poettering | |
2014-08-04 | resolved: when there's already somebody listening on the LLMNR ports, simple ↵ | Lennart Poettering | |
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. | |||
2014-08-03 | resolved: RRSIG records | Zbigniew Jędrzejewski-Szmek | |