Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add posix-timezone and tzdb-timezone DHCPv6 options.v2.88 | Simon Kelley | 2022-12-04 | 1 | -0/+2 |
| | | | | They are already in place for DHCPv4. | ||||
* | Handle malformed DNS replies better.v2.88rc5 | Simon Kelley | 2022-11-26 | 3 | -17/+32 |
| | | | | | | If we detect that that reply from usptream is malformed, transform it into a SERVFAIL reply before sending to the original requestor. | ||||
* | Fix warning in cache.c | Brad Smith | 2022-11-26 | 1 | -1/+3 |
| | |||||
* | Make max staleness of stale cache entries configurable and default to one day. | Dominik Derigs | 2022-11-26 | 5 | -11/+39 |
| | |||||
* | Fix use-after-free in mark_servers() | Petr Menšík | 2022-11-26 | 1 | -3/+5 |
| | |||||
* | fixup! Handle DS records for unsupported crypto algorithms. | Petr Menšík | 2022-11-22 | 1 | -1/+1 |
| | |||||
* | Merge i18n strings.v2.88rc4 | Simon Kelley | 2022-11-21 | 11 | -5870/+7559 |
| | |||||
* | Add /etc/hosts gotcha to man page section for --dhcp-hosts. | Simon Kelley | 2022-11-21 | 1 | -1/+2 |
| | |||||
* | Optimise readng large number --server options at start up. | Simon Kelley | 2022-11-21 | 3 | -21/+49 |
| | | | | | | | | | | | When re-reading upstream servers from /etc/resolv.conf or other sources that can change dnsmasq tries to avoid memory fragmentation by re-using existing records that are being re-read unchanged. This involves seaching all the server records for each new one installed. During startup this search is pointless, and can cause long start times with thousands of --server options because the work needed is O(n^2). Handle this case more intelligently. Thanks to Ye Zhou for spotting the problem and an initial patch. | ||||
* | Fix CHANGELOG typos. | Matthias Andree | 2022-11-18 | 1 | -8/+8 |
| | |||||
* | Update german translation for release 2.88. | Conrad Kostecki | 2022-11-17 | 1 | -4/+4 |
| | |||||
* | Fix SEGV on --local= added by immediately previous commit.v2.88rc3 | Simon Kelley | 2022-11-17 | 1 | -6/+8 |
| | |||||
* | Fix struct hostinfo free code and BSD compile.v2.88rc2 | Simon Kelley | 2022-11-17 | 3 | -22/+27 |
| | | | | | | | | | | The code added in6 c596f1cc1d92b2b90ef5ce043ace314eefa868b fails to free the returned datastructures from gethostinfo() because sdetails.hostinfo is used to loop through the addresses and ends up NULL. In some libc implementations this results in a SEGV when freeaddrinfo() is called. Also fix FTBFS under BSD. Thanks to Johnny S. Lee for the bug report. | ||||
* | Handle DS records for unsupported crypto algorithms correctly.v2.88rc1 | Simon Kelley | 2022-11-16 | 3 | -24/+44 |
| | | | | | | Such a DS, as long as it is validated, should allow answers in the domain is attests to be returned as unvalidated, and not as a validation error. | ||||
* | Fix GOST signature algorithms for DNSSEC validation. | Simon Kelley | 2022-11-16 | 1 | -7/+9 |
| | | | | | | | | Use CryptoPro version of the hash function. Handle the little-endian wire format of key data. Get the wire order of S and R correct. Note that Nettle version 3.6 or later is required for GOST support. | ||||
* | Handle known DNSSEC signature algorithms which are not supported. | Simon Kelley | 2022-11-13 | 1 | -1/+12 |
| | | | | | | | | | | This fixes a confusion if certain algorithms are not supported because the version is the crypto library is too old. The validation should be treated the same as for a completely unknown algorithm, (ie return unverified answer) and not as a validation failure (ie return SERVFAIL). The algorithems affected are GOST and ED448. | ||||
* | Fix --server=/domain/#v2.88test3 | Simon Kelley | 2022-11-07 | 1 | -2/+4 |
| | |||||
* | Fix --server with multiple domains. | Simon Kelley | 2022-11-07 | 1 | -17/+20 |
| | |||||
* | Make specifying nameservers by name work for DBus API. | Simon Kelley | 2022-11-07 | 3 | -19/+59 |
| | |||||
* | Call freeaddrinfo() in domain_rev[46]() | Simon Kelley | 2022-11-07 | 1 | -0/+6 |
| | |||||
* | Extend specifying DNS servers by domain-name to --rev-serverv2.88test2 | Simon Kelley | 2022-11-06 | 4 | -31/+56 |
| | | | | | | | | Also Dbus SetDomainServers method. Revert getaddrinfo hints.ai_socktype to SOCK_DGRAM to eliminate duplicating every address three times for DGRAM, STREAM and RAW in the results. | ||||
* | Fix breakage of --local=/domain.name/1.2.3.4 in immediately previous commit. | Simon Kelley | 2022-11-06 | 1 | -4/+8 |
| | |||||
* | Allow domain names as well is IP addresses in --server options. | Dominik Derigs | 2022-11-05 | 5 | -86/+267 |
| | |||||
* | Bump Debian version and close bug. | Simon Kelley | 2022-11-02 | 1 | -0/+8 |
| | |||||
* | Reconcile "names" and "address" counts when reading hostfiles. | Simon Kelley | 2022-10-30 | 2 | -6/+6 |
| | |||||
* | Inotify: make "flushed" log message more understandable. | Simon Kelley | 2022-10-27 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | Saying we've "flushed x outdated entries" is confusing, since the count is the total number of entries in the modified file, most of which are going to get added straight back when the file is re-read. The log now looks like dnsmasq: inotify: /tmp/dir/1 (new or modified) dnsmasq: inotify: flushed 1 addresses read from /tmp/dir/1 dnsmasq: read /tmp/dir/1 - 2 addresses which hopefully make it more obvious that /tmp/dir/1 contained one address before, and now contains two. | ||||
* | Do not (try to) re-read deleted files inside a --hostsdir. | Dominik Derigs | 2022-10-27 | 1 | -3/+9 |
| | |||||
* | Fix in dhcpv4 rapid-commit code. | Simon Kelley | 2022-10-27 | 1 | -1/+8 |
| | | | | | | | | | | 1) Cosmetic: don't log the tags twice. 2) Functional. If a host has an old lease for a different address, the rapid-commit will appear to work, but the old lease will not be removed and the new lease will not be recorded, so the client and server will have conflicting state, leading to problems later. | ||||
* | Add --no-round-robin option. | Simon Kelley | 2022-10-18 | 5 | -4/+22 |
| | |||||
* | Fix loss of DNS servers on config reload. | Simon Kelley | 2022-10-17 | 2 | -2/+14 |
| | | | | | | | | | A bug, introduced in 2.87, which could result in DNS servers being removed from the configuration when reloading server configuration from DBus, or re-reading /etc/resolv.conf Only servers from the same source should be replaced, but some servers from other sources (ie hard coded or another dynamic source) could mysteriously disappear. | ||||
* | Handle multiple addresses when removing duplicates in host files. | Dominik Derigs | 2022-10-16 | 1 | -6/+7 |
| | |||||
* | Enhance --hostdir so that records are automatically removed when re-reading. | Dominik Derigs | 2022-10-16 | 5 | -2/+33 |
| | | | | Initial patch from Dominik Derigs, re-written by Simon Kelley. | ||||
* | Improve logging of DNS record source from --hostsdir files. | Dominik Derigs | 2022-10-16 | 4 | -65/+119 |
| | | | | | Patch author Dominik Derigs <dl6er@dl6er.de> with subsequent bugfixes and tweaks from Simon Kelley. | ||||
* | Move fast-dns-retry and use-stale-cache writeups in the CHANGELOG.v2.88test1 | Simon Kelley | 2022-10-14 | 1 | -16/+16 |
| | | | | These are 2.88 changes, but the branch merge put them unde 2.87. | ||||
* | Merge branch 'aws' | Simon Kelley | 2022-10-13 | 15 | -162/+758 |
|\ | |||||
| * | Add ClearMetrics Dbus method.aws | Simon Kelley | 2022-09-16 | 4 | -3/+34 |
| | | |||||
| * | Optimise cache code when stale caching in use. | Simon Kelley | 2022-09-16 | 1 | -4/+9 |
| | | | | | | | | Exclude DNSSEC entries from stale caching. | ||||
| * | Don't exclude stale-cache answers from "local answered" metric. | Simon Kelley | 2022-09-16 | 1 | -1/+3 |
| | | |||||
| * | Initialise modified-moving-average latency calc better. | Simon Kelley | 2022-09-16 | 1 | -1/+4 |
| | | | | | | | | | | Use the first value, rather than initialising at zero, which takes many queries to converge. | ||||
| * | Split failed queries in retries in stat counting. | Simon Kelley | 2022-09-16 | 4 | -6/+11 |
| | | |||||
| * | Tweak server-selection logic in the fast-retry case. | Simon Kelley | 2022-09-15 | 1 | -7/+8 |
| | | |||||
| * | Keep a per-DNS-server moving average of query latency. | Simon Kelley | 2022-09-15 | 4 | -8/+22 |
| | | |||||
| * | Combine server stats from all records for the same server in DBUS method. | Simon Kelley | 2022-09-15 | 1 | -18/+31 |
| | | | | | | | | | | | | The DBUS per-server stats method should combine the stats from different records (for different domains) in the same way at the logging code. | ||||
| * | Count NXDOMAIN replies from each server. | Simon Kelley | 2022-09-15 | 4 | -5/+12 |
| | | |||||
| * | Add metric for queries which never see an answer. | Simon Kelley | 2022-09-15 | 3 | -0/+4 |
| | | |||||
| * | Make fast-retry more configurable and do exponential backoff. | Simon Kelley | 2022-09-15 | 5 | -18/+40 |
| | | |||||
| * | Remove unused vars. | Simon Kelley | 2022-09-13 | 1 | -1/+1 |
| | | |||||
| * | Return EDE_STALE extended error when returning stale data from cache. | Simon Kelley | 2022-09-12 | 1 | -1/+14 |
| | | |||||
| * | Add stale cache replies to metrics. | Simon Kelley | 2022-09-12 | 4 | -1/+5 |
| | | |||||
| * | Add GetServerMetrics method to DBus interface. | Simon Kelley | 2022-09-12 | 2 | -0/+62 |
| | |