Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2014-08-03 | resolved: add identifiers for dnssec algorithms | Zbigniew Jędrzejewski-Szmek | |
2014-08-03 | resolved: DNSKEY records | Zbigniew Jędrzejewski-Szmek | |
2014-08-03 | resolve-host: make arg_type an int | Zbigniew Jędrzejewski-Szmek | |
We are using it also to store _DNS_TYPE_INVALID, so it should be signed. | |||
2014-08-03 | resolve: add more record types and convert to gperf table | Zbigniew Jędrzejewski-Szmek | |
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. | |||
2014-08-03 | resolved: align last rr column | Zbigniew Jędrzejewski-Szmek | |
2014-08-03 | resolved: avoid possible dereference of null pointer | Thomas Hindoe Paaboel Andersen | |
In dns_scope_make_reply_packet the structs q, answer, and soa can be null. We should check for null before reading their fields. | |||
2014-08-03 | resolved: remove unused variables | Thomas Hindoe Paaboel Andersen | |