1. 16 Apr, 2018 1 commit
  2. 15 Apr, 2018 1 commit
  3. 12 Apr, 2018 1 commit
  4. 11 Apr, 2018 2 commits
    • Simon Kelley's avatar
      Fix DNS server fd garbage collection. · 4441cf76
      Simon Kelley authored
      If we're talking to upstream servers from a fixed port, specified by query-port
      we create the fds to do this once, before dropping root, so that ports <1024 can be used.
      
      But we call check_servers() before reading /etc/resolv.conf, so if the only servers
      are in resolv.conf, at that point there will be no servers, and the fds get garbage
      collected away, only to be recreated (but without root) after we read /etc/resolv.conf
      
      Make pre-allocated server fds immortal, to avoid this problem.
      4441cf76
    • Simon Kelley's avatar
      Set V6ONLY on DNS upstream socket. · e83915d1
      Simon Kelley authored
      If query-port is set, we create sockets bound to the wildcard address and the query port for
      IPv4 and IPv6, but the IPv6 one fails, because is covers IPv4 as well, and an IPv4 socket
      already exists (it gets created first). Set V6ONLY to avoid this.
      e83915d1
  5. 08 Apr, 2018 1 commit
  6. 26 Mar, 2018 1 commit
  7. 24 Mar, 2018 2 commits
  8. 19 Mar, 2018 1 commit
  9. 18 Mar, 2018 1 commit
  10. 11 Mar, 2018 3 commits
  11. 09 Mar, 2018 1 commit
  12. 07 Mar, 2018 2 commits
    • Petr Menšík's avatar
      Allow trailing dot in CNAME. · 56f06239
      Petr Menšík authored
      I got reported bug in Fedora [1], that cname is broken in new releases.
      At first I though this was false report, but there is still new
      regression in cname handling.
      
      Before, it accepted alias with trailing dot. Not it would accept only
      target, but not alias.
      
      cname=alias.,target
      
      is no longer valid. The issue is it will count size to skip after
      canonicalize. If that ignores trailing dot, next name would be "". And
      that is invalid and refused, dnsmasq refuses to start.
      
      I also think that any whitespace like tab should be possible after
      comma. So this fixes also 30858e3b.
      56f06239
    • Simon Kelley's avatar
      Fix nettle_hash() function to avoid ABI incompatibilities. · f3223fbf
      Simon Kelley authored
      The way of accessing the list of available hashes on nettle was
      vulnerable to breaking if the version of libnettle in use was
      different to the version dnsmasq was compiled against.
      Change to a new system if libnettle >= 3.4 is in use.
      Older versions if nettle are still OK, once 3.4 is reached,
      the ABi problem is fixed. Thanks to Petr Menšík for clues on this.
      f3223fbf
  13. 17 Feb, 2018 7 commits
  14. 15 Feb, 2018 5 commits
  15. 09 Feb, 2018 1 commit
  16. 07 Feb, 2018 2 commits
  17. 31 Jan, 2018 1 commit
  18. 30 Jan, 2018 1 commit
  19. 26 Jan, 2018 3 commits
  20. 21 Jan, 2018 2 commits
  21. 20 Jan, 2018 1 commit