Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | resolved: dns-packet - use unaligned read/write helpers | Tom Gundersen | 2014-11-01 | 1 | -12/+6 |
| | |||||
* | resolve: make DnsScope::conflict_queue an OrderedHashmap | Michal Schmidt | 2014-10-23 | 2 | -6/+6 |
| | | | | | on_conflict_dispatch() uses hashmap_steal_first() and then does something non-trivial with it. It may care about the order. | ||||
* | mac: rename apis with mac_{selinux/smack}_ prefix | WaLyong Cho | 2014-10-23 | 1 | -1/+1 |
| | |||||
* | resolved: simplify detection of packets from the loopback device | Lennart Poettering | 2014-10-22 | 3 | -23/+2 |
| | | | | | | | 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. | ||||
* | resolve: add missing header | Lukasz Skalski | 2014-10-17 | 1 | -0/+1 |
| | | | | Change-Id: I64f7c6b446f6d92057c35cc3d4e29bd2bad8f75b | ||||
* | resolved: apply label to /run/systemd/resolve/resolv.conf | Zbigniew Jędrzejewski-Szmek | 2014-10-14 | 2 | -3/+10 |
| | | | | | | | 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. | ||||
* | resolved: split out writing of resolv.conf | Zbigniew Jędrzejewski-Szmek | 2014-10-14 | 1 | -27/+34 |
| | | | | manager_write_resolv_conf() is quite long anyway. | ||||
* | hashmap: introduce hash_ops to make struct Hashmap smaller | Michal Schmidt | 2014-09-15 | 14 | -22/+35 |
| | | | | | | | | | 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 loopback | Tom Gundersen | 2014-09-13 | 1 | -1/+7 |
| | | | | | | Reported by Philippe De Swert <philippedeswert@gmail.com>. Coverity CID#1237656 | ||||
* | resolved: fix typo in log message | Lennart Poettering | 2014-08-22 | 1 | -1/+1 |
| | |||||
* | shared: add MAXSIZE() and use it in resolved | David Herrmann | 2014-08-22 | 2 | -2/+2 |
| | | | | | | | | | | | 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 daemons | Lennart Poettering | 2014-08-21 | 1 | -1/+3 |
| | |||||
* | resolved: write resolv.conf search - switch arguments | Tom Gundersen | 2014-08-20 | 1 | -1/+1 |
| | | | | Found by Lukáš Nykrýn. | ||||
* | resolved: fix which return codes we check | Lennart Poettering | 2014-08-20 | 1 | -2/+2 |
| | | | | Discovered by Lukas Nykryn | ||||
* | resolved-dns-rr: fix typo | Lukas Nykryn | 2014-08-20 | 1 | -7/+7 |
| | | | | | 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+clang | David Herrmann | 2014-08-15 | 2 | -2/+2 |
| | | | | | 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 group | Lennart Poettering | 2014-08-15 | 1 | -1/+4 |
| | |||||
* | resolved: pull in domain names from sd-network | Tom Gundersen | 2014-08-14 | 2 | -5/+75 |
| | |||||
* | resolved: clarify that LLMNR scopes must have a link assigned | Lennart Poettering | 2014-08-14 | 1 | -0/+4 |
| | | | | | | This is supposed to remove some compiler warnings: http://lists.freedesktop.org/archives/systemd-devel/2014-July/021393.html | ||||
* | resolved: enable LLMNR | Lennart Poettering | 2014-08-14 | 1 | -3/+2 |
| | | | | | | 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 Poettering | 2014-08-14 | 7 | -33/+137 |
| | | | | | | something up Also, return on which protocol/family/interface we found something. | ||||
* | sd-network: /_get_link_/_link_get_/ | Tom Gundersen | 2014-08-13 | 1 | -3/+3 |
| | | | | | | 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 available | Lennart Poettering | 2014-08-13 | 2 | -13/+22 |
| | |||||
* | resolved: return exit code of event loop | Lennart Poettering | 2014-08-12 | 1 | -0/+2 |
| | |||||
* | resolved: unify logic how we flush out DNS servers we learnt | Lennart Poettering | 2014-08-12 | 5 | -26/+28 |
| | |||||
* | resolved: filter out duplicate DNS servers when writing resolv.conf | Lennart Poettering | 2014-08-12 | 3 | -10/+67 |
| | |||||
* | resolved: initialize counter | Thomas Hindoe Paaboel Andersen | 2014-08-12 | 1 | -2/+2 |
| | | | | introduced in: a407657425a3e47fd2b559cd3bc800f791303f63 | ||||
* | sd-network: rename the per-ifindex calls to sd_network_get_link_xxx() | Lennart Poettering | 2014-08-11 | 1 | -2/+2 |
| | | | | | 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 ones | Lennart Poettering | 2014-08-11 | 1 | -2/+10 |
| | | | | | This way we can avoid always picking the same replacement hostnames when picking one. | ||||
* | resolved: actually, the peer with the lower IP address wins conflicts | Lennart Poettering | 2014-08-11 | 2 | -6/+6 |
| | |||||
* | resolved: make sure we don't mark the wrong zone RRs conflicting | Lennart Poettering | 2014-08-11 | 3 | -3/+11 |
| | |||||
* | resolved: be a bit more communicative about conflicts | Lennart Poettering | 2014-08-11 | 2 | -4/+15 |
| | |||||
* | resolved: verify all RRs when we come back from suspend | Lennart Poettering | 2014-08-11 | 5 | -0/+64 |
| | |||||
* | resolved: destroy outstanding queries if the clients that initiated them die | Lennart Poettering | 2014-08-11 | 3 | -0/+47 |
| | |||||
* | resolved: properly pass aborted transaction result back to clients | Lennart Poettering | 2014-08-11 | 1 | -2/+5 |
| | |||||
* | resolved: implement full LLMNR conflict detection logic | Lennart Poettering | 2014-08-11 | 11 | -58/+467 |
| | |||||
* | resolved: properly check return value of dns_resource_record_equal() | Lennart Poettering | 2014-08-11 | 3 | -2/+4 |
| | |||||
* | resolved: don't abort if a transaction is aborted because its scope is removed | Lennart Poettering | 2014-08-05 | 1 | -2/+4 |
| | |||||
* | resolved: add 100ms initial jitter to all LLMNR requests | Lennart Poettering | 2014-08-05 | 3 | -1/+35 |
| | |||||
* | resolved: enforce ratelimit on LLMNR traffic | Lennart Poettering | 2014-08-05 | 3 | -3/+14 |
| | |||||
* | resolved: don't consider tentative addresses relevant | Lennart Poettering | 2014-08-05 | 1 | -1/+1 |
| | |||||
* | resolved: fix a message typo | Lennart Poettering | 2014-08-05 | 1 | -3/+3 |
| | |||||
* | resolved: stop the prober when we detect a conflict in LLMNR | Lennart Poettering | 2014-08-05 | 1 | -1/+2 |
| | |||||
* | resolved: don't override zone item state after starting the probe | Lennart Poettering | 2014-08-05 | 1 | -2/+2 |
| | | | | | 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 Poettering | 2014-08-05 | 1 | -0/+5 |
| | | | | we actually use LLMNR as protocol | ||||
* | resolved: never reuse transactions for probing that are already completed ↵ | Lennart Poettering | 2014-08-05 | 4 | -5/+15 |
| | | | | based on cached data | ||||
* | resolved: bypass local cache when we issue a transaction for verification ↵ | Lennart Poettering | 2014-08-05 | 1 | -16/+21 |
| | | | | purposes | ||||
* | resolved: if there's already an RR established that has the same name of an ↵ | Lennart Poettering | 2014-08-05 | 1 | -6/+26 |
| | | | | | | 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 initialize | Lennart Poettering | 2014-08-04 | 1 | -0/+4 |
| | |||||
* | resolved: read the per-interface LLMNR setting from networkd and act on it | Lennart Poettering | 2014-08-04 | 3 | -10/+46 |
| |