Skip to content
Snippets Groups Projects
  1. Nov 13, 2016
  2. Oct 24, 2016
  3. Oct 20, 2016
  4. Aug 25, 2016
  5. Aug 23, 2016
  6. Aug 11, 2016
  7. Aug 10, 2016
  8. Jul 16, 2016
  9. Jul 06, 2016
    • Marek Vavruša's avatar
      93303da5
    • Marek Vavruša's avatar
      daemon: workers are interconnected with IPC pipes · de7b3862
      Marek Vavruša authored
      forks are connected with IPC pipes to process
      group leader and can execute expressions on its
      behalf. so running commands over all workers
      is easy now:
      
      > hostname() -- single
      localhost
      
      > map 'hostname()' -- all
      localhost
      localhost
      localhost
      de7b3862
    • Marek Vavruša's avatar
      daemon/worker: track query in BEGIN and dst addr · e4747066
      Marek Vavruša authored
      * in the begin() layer, the incoming query is
        exposed as req->qsource.packet, it is invalidated
        after begin() and should not be modified
      * the destination address (local interface) is
        also tracked for filtering purposes
      e4747066
    • Marek Vavruša's avatar
      lib/resolve: store auth addr/rtt in consume() layer · e9ffeb1a
      Marek Vavruša authored
      during the consume step, the information about
      upstream authoritative (address and current rtt)
      is exposed in the request structure, just like
      information about current query
      e9ffeb1a
    • Marek Vavruša's avatar
      modules/http: graphs, prometheus metrics, websocks · cf2a18b0
      Marek Vavruša authored
      * http embeds modified lua-http server code that
        reuses single cqueue for all h2 client sockets,
        this is also because the API in upstream is unstable
      * http embeds rickshaw for real-time graphs over
        websockets, it displays latency heatmap by default
        and can show several other metrics
      * http shows a world map with pinned recently contacted
        authoritatives, where diameter represents number
        of queries sent and colour its average RTT, so
        you can see where the queries are going
      * http now exports several endpoints and websockets:
        /stats for statistics in JSON, and /metrics for
        metrics in Prometheus text format
      cf2a18b0
  10. May 20, 2016
    • Marek Vavruša's avatar
      lib: cache api v2, removed dep on libknot db.h · e68c3a0a
      Marek Vavruša 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
  11. Apr 18, 2016
    • Marek Vavruša's avatar
      daemon: mode(strict|normal|permissive) · e61c48ef
      Marek Vavruša authored
      the daemon has now three modes of strictness
      checking from strict to permissive.
      it reflects the tradeoff between resolving the
      query in as few steps as possible and security
      for insecure zones
      e61c48ef
  12. Apr 07, 2016
  13. Apr 06, 2016
    • Marek Vavruša's avatar
      trust_anchors: added custom timers, limit history · 5e7591f0
      Marek Vavruša authored
      new trust anchors variables:
      * trust_anchors.hold_down_time = 30 * day
      * trust_anchors.refresh_time = nil
      * trust_anchors.keep_removed = 0
      
      these could be used to control how often should
      root trust anchors be checked and how many removed
      keys should be kept in log (0 by default)
      5e7591f0
  14. Feb 03, 2016
  15. Jan 30, 2016
  16. Jan 23, 2016
  17. Jan 22, 2016
  18. Jan 21, 2016
  19. Jan 11, 2016
  20. Dec 23, 2015
  21. Dec 17, 2015
  22. Dec 10, 2015
  23. Dec 08, 2015
  24. Dec 05, 2015
    • Marek Vavruša's avatar
      daemon: root trust anchors automatically bootstrapped from IANA · 1af623da
      Marek Vavruša authored
      if the root key file doesn’t exist, it will be populated from root DNSKEY query, which will be validated against root trust anchors retrieved over HTTPS with IANA cert verification against built-in current IANA cert CA. it requires luasocket and luasec for it to work. trust anchors XML file signature is not checked, as there’s no facility for PKCS7 checking yet.
      1af623da
  25. Nov 24, 2015
  26. Nov 18, 2015
  27. Nov 17, 2015