Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-01 | resolved: flush cache each time we change to a different DNS server | Lennart Poettering | |
2014-08-01 | resolved: read the system /etc/resolv.conf unless we wrote it ourselves | Lennart Poettering | |
This way we integrate nicely with foreign network management stacks, such as NM. | |||
2014-08-01 | networkd: track the MTU of each link | Tom Gundersen | |
And inform the DHCPv4 clients about it. | |||
2014-08-01 | sd-dhcp-client: allow the max dhcp message size to be set to the MTU of the link | Tom Gundersen | |
2014-08-01 | libudev: use get_*_creds from shared rather than util_lookup_* | Tom Gundersen | |
2014-08-01 | resolved: rename resolved.h to resolved-manager.h | Lennart Poettering | |
After all it pretty much exlcusively containers definitions about the "Manager" object, hence let's call this the most obvious way. | |||
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-08-01 | nss: always explicitly reset all error variables | Lennart Poettering | |
glibc appears to be broken if we don't explicitly reset all error variables, let's work around that. https://bugzilla.redhat.com/show_bug.cgi?id=1125975 | |||
2014-08-01 | Revert "networkd: don't assume udev_device_new_from_device_id sets errno" | Tom Gundersen | |
libudev now does set errno correctly, so we can indeed rely on this. This reverts commit 2b49732c3d511007ae2c413997e56c40f678d79a. | |||
2014-08-01 | libudev: set errno when udev_device_new_from_* or udev_device_get_parent_* fail | Tom Gundersen | |
2014-08-01 | nss-resolve: fallback to the class NSS "dns" module if we cannot contact ↵ | Lennart Poettering | |
resolved That way DNS resolution works both with and without resolved running. | |||
2014-08-01 | resolved: don't bother caching negative RRs when the SOA TTL is 0 anyway | Lennart Poettering | |
2014-08-01 | resolved: use CLOCK_BOOTTIME instead of CLOCK_MONOTONIC when aging caches ↵ | Lennart Poettering | |
and timeing out transactions That way the cache doens't get confused when the system is suspended. | |||
2014-08-01 | resolved: fix negative caching of IDNA domains | Lennart Poettering | |
2014-08-01 | resolved: handle IDNA domains | Lennart Poettering | |
Make sure we format UTF-8 labels as IDNA when writing them to DNS packets, and as native UTF-8 when writing them to mDNS or LLMNR packets. When comparing or processing labels always consider native UTF-8 and IDNA formats equivalent. | |||
2014-07-31 | resolved: fix serialization of LOC records, check correctness | Zbigniew Jędrzejewski-Szmek | |
2014-07-31 | kdbus: update header | Kay Sievers | |
2014-07-31 | hostnamed: watch system hostname changes and update LLMNR RRs accordingly | Lennart Poettering | |
2014-07-31 | resolved: fix deserialization of UTF8 host names | Lennart Poettering | |
2014-07-31 | resolved: accept UTF-8 hostnames from bus clients | Lennart Poettering | |
2014-07-31 | resolved: various fixes regarding encoding of UTF8 characters in DNS RRs | Lennart Poettering | |
2014-07-31 | resolved: properly compare RRs we cannot parse | Lennart Poettering | |
2014-07-31 | resolved: properly process SSHFP RRs | Lennart Poettering | |
2014-07-31 | resolved: properly process SRV records | Lennart Poettering | |
2014-07-31 | resolved: provide properly named way to access SPF data in RRs | Lennart Poettering | |
2014-07-31 | resolved: make sure we always initialize r when parsing TXT records | Lennart Poettering | |
2014-07-31 | resolved: properly process DNAME RRs | Lennart Poettering | |
2014-07-31 | resolved: implement LLMNR uniqueness verification | Lennart Poettering | |
2014-07-31 | resolved: fix multi-record packets with TXTs | Zbigniew Jędrzejewski-Szmek | |
2014-07-31 | resolved: LOC records | Zbigniew Jędrzejewski-Szmek | |
LOC records have a version field. So far only version 0 has been published, but if a record with a different version was encountered, our only recourse is to treat it as an unknown type. This is implemented with the 'unparseable' flag, which causes the serialization/deserialization and printing function to cause the record as a blob. The flag can be used if other packet types cannot be parsed for whatever reason. | |||
2014-07-31 | resolved: SPF records | Zbigniew Jędrzejewski-Szmek | |
2014-07-31 | resolved: TXT records | Zbigniew Jędrzejewski-Szmek | |
2014-07-31 | resolved: MX records | Zbigniew Jędrzejewski-Szmek | |
2014-07-31 | resolve-host: list types and classes | Zbigniew Jędrzejewski-Szmek | |
Also update systemctl to similar style. | |||
2014-07-31 | Always prefer our headers to system headers | Zbigniew Jędrzejewski-Szmek | |
In practice this shouldn't make much difference, but sometimes our headers might be newer, and we want to test them. | |||
2014-07-31 | Constify option table and add missing option | Zbigniew Jędrzejewski-Szmek | |
2014-07-31 | man: add udev.conf(5) | Zbigniew Jędrzejewski-Szmek | |
We generally have separate man pages for all configuration files. In this case udev.conf was already described in systemd-udevd.service(8), but it was hard to find. Docbook makes it hard to add a .so link from a different section, so describe udev.conf in its own page. | |||
2014-07-31 | systemd-analyze verify: improve error message | Zbigniew Jędrzejewski-Szmek | |
There's little sense in telling the user to look at the logs... | |||
2014-07-31 | core/load-fragment.c: correct argument sign and split up long lines | Zbigniew Jędrzejewski-Szmek | |
With everything on one line they are just harder to read. | |||
2014-07-31 | Properly report invalid quoted strings | Zbigniew Jędrzejewski-Szmek | |
$ systemd-analyze verify trailing-g.service [./trailing-g.service:2] Trailing garbage, ignoring. trailing-g.service lacks ExecStart setting. Refusing. Error: org.freedesktop.systemd1.LoadFailed: Unit trailing-g.service failed to load: Invalid argument. Failed to create trailing-g.service/start: Invalid argument | |||
2014-07-31 | Reject invalid quoted strings | Zbigniew Jędrzejewski-Szmek | |
String which ended in an unfinished quote were accepted, potentially with bad memory accesses. Reject anything which ends in a unfished quote, or contains non-whitespace characters right after the closing quote. _FOREACH_WORD now returns the invalid character in *state. But this return value is not checked anywhere yet. Also, make 'word' and 'state' variables const pointers, and rename 'w' to 'word' in various places. Things are easier to read if the same name is used consistently. mbiebl_> am I correct that something like this doesn't work mbiebl_> ExecStart=/usr/bin/encfs --extpass='/bin/systemd-ask-passwd "Unlock EncFS"' mbiebl_> systemd seems to strip of the quotes mbiebl_> systemctl status shows mbiebl_> ExecStart=/usr/bin/encfs --extpass='/bin/systemd-ask-password Unlock EncFS $RootDir $MountPoint mbiebl_> which is pretty weird | |||
2014-07-31 | test-strv: add test which shows access to random memory | Zbigniew Jędrzejewski-Szmek | |
2014-07-30 | networkd: don't assume udev_device_new_from_device_id sets errno | Tom Gundersen | |
This reverts 6f4d55a8ae04e344a41fc2adef12ad99c2bb2927, as we cannot rely on errno here. Reported by David Herrmann. | |||
2014-07-30 | resolved: when we got a successful DNS reply, then only wait for other ↵ | Lennart Poettering | |
transactions on the same scope, nowhere else | |||
2014-07-30 | resolved: properly set TTL in SOA records | Lennart Poettering | |
2014-07-30 | resolved: don't attempt to order empty answer array | Lennart Poettering | |
2014-07-30 | resolved: properly return start index when appending RR to packet | Lennart Poettering | |
2014-07-30 | resolved: add API for resolving specific RRs | Lennart Poettering | |
2014-07-30 | networkd: improve error message when udev device can not be found | Tom Gundersen | |
Reported by Raimonds Cicans <ray@apollo.lv> | |||
2014-07-30 | resolved: properly pass empty answers back to bus clients | Lennart Poettering | |