Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-01 | resolved: make TXT RR generation and parsing more in-line with RFC 6763, ↵ | Lennart Poettering | |
section 6.1 The RFC says to encode an single empty TXT string instead of an empty TXT array. It also says to treat a zero-length TXT RR as a TXT array with a single zero-length string. | |||
2014-11-27 | resolve: reject empty TXT records | Stanisław Pitucha | |
TXT records should have at least one character, so enforce this. Before 0f84a72 parser SIGSEGV'd on ->txt.strings being NULL, but even if this is fixed we should reject invalid TXT records. | |||
2014-11-27 | resolve: set error code on failure | Stanisław Pitucha | |
Set the error code in case of incorrect name. This prevents continuing and failing an assert(name) later on. | |||
2014-11-27 | resolve: fix redirection loops in compressed RR | Stanisław Pitucha | |
Loops in RR compression were only detected for the first entry. Multiple redirections should be allowed, each one checking for an infinite loop on its own starting point. Also update the pointer on each redirection to avoid longer loops of labels and redirections, in names like: (start) [len=1] "A", [ptr to start] (David: rename variable to "jump_barrier" and add reference to RFC) | |||
2014-11-01 | resolved: dns-packet - use unaligned read/write helpers | Tom Gundersen | |
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-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-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-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 | resolved: fix deserialization of UTF8 host names | 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: 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: 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-30 | resolved: properly return start index when appending RR to packet | Lennart Poettering | |
2014-07-30 | resolved: don't accept messages with ANY RRs | Lennart Poettering | |
2014-07-29 | resolved: discard more invalid llmnr messages | Lennart Poettering | |
2014-07-29 | resolve: add llmnr responder side for UDP and TCP | Lennart Poettering | |
Name defending is still missing. | |||
2014-07-23 | resolved: implement negative caching | Lennart Poettering | |
2014-07-23 | resolved: rework logic so that we can share transactions between queries of ↵ | Lennart Poettering | |
different clients | |||
2014-07-18 | resolved: add LLMNR support for looking up names | Lennart Poettering | |
2014-07-17 | resolved: add DNS cache | Lennart Poettering | |
2014-07-16 | resolved: add CNAME lookup support | Lennart Poettering | |
2014-07-16 | dns-packet: allow dynamic resizing of DNS packets | Lennart Poettering | |
2014-07-16 | dns-domain: introduce macros for accessing all DNS header fields | Lennart Poettering | |
2014-07-15 | resolve: avoid use of uninitalized variable | Zbigniew Jędrzejewski-Szmek | |
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) |