Skip to content
Snippets Groups Projects
  1. Aug 11, 2016
  2. Jul 12, 2016
  3. May 20, 2016
    • Marek Vavrusa's avatar
      lib: cache api v2, removed dep on libknot db.h · e68c3a0a
      Marek Vavrusa authored
      this change introduces new API for cache backends,
      that is a subset of knot_db_api_t from libknot
      with several cache-specific operations
      
      major changes are:
      * merged 'cachectl' module into 'cache' as it is
        99% default-on and it simplifies things
      * not transaction oriented, transactions may be
        reused and cached for higher performance
      * scatter/gather API, this is important for
        latency and performance of non-local backends
        like Redis
      * faster and reliable cache clearing
      * cache-specific operations (prefix scan, ...) in
        the API not hacked in
      * simpler code for both backends and caller
      e68c3a0a
  4. May 18, 2016
  5. Dec 17, 2015
  6. Dec 10, 2015
  7. Dec 09, 2015
  8. Nov 26, 2015
  9. Nov 25, 2015
  10. Oct 22, 2015
  11. Oct 02, 2015
  12. Sep 28, 2015
  13. Sep 23, 2015
  14. Aug 20, 2015
  15. Aug 13, 2015
  16. Aug 12, 2015
  17. Aug 07, 2015
  18. Aug 05, 2015
  19. Aug 04, 2015
  20. Jul 15, 2015
  21. Jun 30, 2015
    • Marek Vavruša's avatar
      lib/validate: pseudocode of the validation flow · da79dc09
      Marek Vavruša authored
      1. validate module must be between iterate/cache
      2. produce: copy OPT with DO=1, ask for DNSKEY if we don’t have it
      3. resolve.c: subrequest DNSKEY if asked to do it
      4. consume: check DNSKEY and set it, validate RRSIGs against it
      
      another issues:
      
      rrsigcache is copypasta of rrcache, there is one special case with storing RRSIGs which doesn’t deserve it’s own module (if the validation is off, then nothing will get written in there anyway)
      
      since the resolution is asynchronous, layers must only *ask* resolver to do subrequests for them using query flags (like when we encounter an unknown zone cut)
      da79dc09