Skip to content
Snippets Groups Projects
  1. Apr 11, 2019
    • Vladimír Čunát's avatar
      cache: fix incorrect TTL of positive packets in cache · eb40d0a0
      Vladimír Čunát authored and Petr Špaček's avatar Petr Špaček committed
      It's a regression of b00ee5fa (v3.0.0).  Fortunately, since that
      version we use cache for positive packets only when they are BOGUS
      (see `bool want_pkt =`) so that they're available for +cd queries.
      Therefore the impact was really negligible, until the DoT module.
      eb40d0a0
    • Petr Špaček's avatar
      DoH experiment · 53fef489
      Petr Špaček authored
      First version which actually works with Firefox DoH in default
      configuration.
      
      Limitations:
      - does not support HTTP GET method
      - headers for HTTP cache are not generated
      - error handling is largely missing
      - no tests
      - ACLs will not work, modules do not see source IP address of the HTTP
      endpoint
      53fef489
  2. Apr 10, 2019
  3. Apr 08, 2019
    • Petr Špaček's avatar
      Merge branch 'ds-algo-nodata' into 'master' · 8b3f916f
      Petr Špaček authored
      validate nitpick fix: unsupported algo edge case
      
      See merge request knot/knot-resolver!798
      8b3f916f
    • Vladimír Čunát's avatar
      validate nitpick fix: unsupported algo edge case · 2bd31a48
      Vladimír Čunát authored and Petr Špaček's avatar Petr Špaček committed
      kr_dnskeys_trusted() semantics is changed, but I do NOT consider that
      a part of public API.
      
      Go insecure due to algorithm support even if DNSKEY is NODATA.
      I can't see how that's relevant to practical usage, but I think this new
      behavior makes more sense.  We still do try to fetch the DNSKEY even
      though we have information about its un-usability beforehand.
      I'd consider fixing that a premature optimization.
      We'll still be affected if the DNSKEY query SERVFAILs or something.
      
      Thanks to PowerDNS people for catching this!
      2bd31a48
  4. Apr 05, 2019
  5. Apr 04, 2019