Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-03 | resolved: don't resolve the hostname "gateway" with LLMNR, leave that to ↵ | Lennart Poettering | |
nss-myhostname | |||
2014-11-28 | treewide: yet more log_*_errno + return simplifications | Michal Schmidt | |
Using: find . -name '*.[ch]' | while read f; do perl -i.mmm -e \ 'local $/; local $_=<>; s/(if\s*\([^\n]+\))\s*{\n(\s*)(log_[a-z_]*_errno\(\s*([->a-zA-Z_]+)\s*,[^;]+);\s*return\s+\g4;\s+}/\1\n\2return \3;/msg; print;' $f done And a couple of manual whitespace fixups. | |||
2014-11-28 | treewide: no need to negate errno for log_*_errno() | Michal Schmidt | |
It corrrectly handles both positive and negative errno values. | |||
2014-11-28 | treewide: auto-convert the simple cases to log_*_errno() | Michal Schmidt | |
As a followup to 086891e5c1 "log: add an "error" parameter to all low-level logging calls and intrdouce log_error_errno() as log calls that take error numbers", use sed to convert the simple cases to use the new macros: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/' Multi-line log_*() invocations are not covered. And we also should add log_unit_*_errno(). | |||
2014-11-17 | resolve: fix CID#1237549 Unchecked return value | Susant Sahani | |
2014-10-23 | resolve: make DnsScope::conflict_queue an OrderedHashmap | Michal Schmidt | |
on_conflict_dispatch() uses hashmap_steal_first() and then does something non-trivial with it. It may care about the order. | |||
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-08-15 | resolved: fix assertion when joining llmnr mcast group | Lennart Poettering | |
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: 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-11 | resolved: implement full LLMNR conflict detection logic | 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: never reuse transactions for probing that are already completed ↵ | Lennart Poettering | |
based on cached data | |||
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-01 | resolved: always drop multicast membership before adding one | Lennart Poettering | |
This is apparently necessary on some devices, such as veth. | |||
2014-08-01 | resolved: flush cache each time we change to a different DNS server | Lennart Poettering | |
2014-08-01 | resolved: beef up DNS server configuration logic | Lennart Poettering | |
We now maintain two lists of DNS servers: system servers and fallback servers. system servers are used in combination with any per-link servers. fallback servers are only used if there are no system servers or per-link servers configured. The system server list is supposed to be populated from a foreign tool's /etc/resolv.conf (not implemented yet). Also adds a configuration switch for LLMNR, that allows configuring whether LLMNR shall be used simply for resolving or also for responding. | |||
2014-07-31 | resolved: implement LLMNR uniqueness verification | Lennart Poettering | |
2014-07-30 | resolved: don't attempt to order empty answer array | Lennart Poettering | |
2014-07-30 | resolved: include SOA records in LLMNR replies for non-existing RRs to allow ↵ | Lennart Poettering | |
negative caching | |||
2014-07-30 | resolved: when answer A or AAAA questions, order responses by whether ↵ | Lennart Poettering | |
addresses are link-local or not | |||
2014-07-29 | resolved: the llmnr destination address check applies to queries, not to ↵ | Lennart Poettering | |
responses | |||
2014-07-29 | resolved: set LLMNR TCP and UDP TTLs to the values suggested by the RFC | Lennart Poettering | |
2014-07-29 | resolved: discard more invalid llmnr messages | Lennart Poettering | |
2014-07-29 | resolved: when resolving an address PTR record via llmnr, make a tcp ↵ | Lennart Poettering | |
connection by default | |||
2014-07-29 | resolve: add llmnr responder side for UDP and TCP | Lennart Poettering | |
Name defending is still missing. | |||
2014-07-23 | resolved: rework logic so that we can share transactions between queries of ↵ | Lennart Poettering | |
different clients | |||
2014-07-18 | resolved: do not use unitialized variable | Zbigniew Jędrzejewski-Szmek | |
2014-07-18 | in-addr-util: remove family_to_string() API | Lennart Poettering | |
we already have a more complete one with af_to_name(), that is generated from the header files, no need to duplicate this. | |||
2014-07-18 | change type for address family to "int" | Lennart Poettering | |
Let's settle on a single type for all address family values, even if UNIX is very inconsitent on the precise type otherwise. Given that socket() is the primary entrypoint for the sockets API, and that uses "int", and "int" is relatively simple and generic, we settle on "int" for this. | |||
2014-07-18 | resolved: add LLMNR support for looking up names | Lennart Poettering | |
2014-07-17 | resolved: add DNS cache | Lennart Poettering | |
2014-07-17 | resolved: fix check for mdns names | Lennart Poettering | |
2014-07-17 | resolved: we are never authoritative for localhost | Lennart Poettering | |
2014-07-17 | resolved: properly handle MTU logic | Lennart Poettering | |
2014-07-16 | resolved: support for TCP DNS queries | Lennart Poettering | |
2014-07-16 | resolved: add a DNS client stub resolver | Lennart Poettering | |
Let's turn resolved into a something truly useful: a fully asynchronous DNS stub resolver that subscribes to network changes. (More to come: caching, LLMNR, mDNS/DNS-SD, DNSSEC, IDN, NSS module) |