Skip to content
Snippets Groups Projects
  1. Jan 23, 2018
  2. Jan 08, 2018
  3. Jan 04, 2018
  4. Dec 21, 2017
    • Marek Vavruša's avatar
      lib/resolve: add support for per-request logging · 0a04428e
      Marek Vavruša authored
      This is useful in many troubleshooting scenarios when you want debug logs
      just for a single request. It's going to expand on TRACE flag functionality
      in the next PRs, so that special requests can be invoked with various tracers attached.
      
      Currently this is only available in the C modules that can set the callback,
      it's not called anywhere in the library yet.
      0a04428e
  5. Dec 08, 2017
  6. Dec 07, 2017
  7. Nov 28, 2017
  8. Nov 24, 2017
    • Marek Vavruša's avatar
      daemon/lua: fixed unused variables, whitespace, cleanup · 3162da83
      Marek Vavruša authored
      Also fixed improper promotion of `ffi` to global variable.
      
      ```
      $ luacheck --codes daemon/lua/
      Checking daemon/lua/config.lua                    OK
      Checking daemon/lua/kres-gen.lua                  OK
      Checking daemon/lua/kres.lua                      OK
      Checking daemon/lua/sandbox.lua                   OK
      Checking daemon/lua/trust_anchors.lua             OK
      Checking daemon/lua/zonefile.lua                  OK
      
      Total: 0 warnings / 0 errors in 6 files
      ```
      3162da83
  9. Aug 01, 2017
  10. Jul 11, 2017
    • Vladimír Čunát's avatar
      policy: follow RFC6303 more closely · bd3ba69b
      Vladimír Čunát authored
      In particular, try to make the locally-served zones valid,
      including SOA and NS in apex, empty non-terminal vs. NXDOMAIN, etc.
      I might've missed something, but it should certainly be closer to ideal.
      bd3ba69b
  11. Jul 07, 2017
  12. Jun 13, 2017
  13. Mar 21, 2017
  14. Mar 15, 2017
    • Vladimír Čunát's avatar
      trust anchors: store in prettier format (#167) · 262396f9
      Vladimír Čunát authored
      The output is only better if built with libknot >= 2.4.0.
      As a side-effect, add lua method knot_rrset_t::txt_dump;
      it's a light wrapper around knot_rrset_txt_dump.
      
      Re-tested rolling with a.moot-servers.net, to be sure.
      262396f9
  15. Feb 28, 2017
  16. Feb 16, 2017
  17. Jan 27, 2017
  18. Jan 11, 2017
  19. Dec 19, 2016
    • Ondřej Surý's avatar
      Remove bashisms from script/gen-cdefs.sh · e450beda
      Ondřej Surý authored
      e450beda
    • Vladimír Čunát's avatar
      allow generating most cdefs for lua · 06b0d3d4
      Vladimír Čunát authored and Ondřej Surý's avatar Ondřej Surý committed
      Motivation: maintaining these by hand in kres.lua is tricky, as just
      inserting or reordering the structures can do anything and isn't
      detected in general.  For example, `rr_array_t::at` has always
      "missed a star".
      
      A couple libknot structure fields have apparently changed name since
      the old definitions were written; in most cases I renamed them in *.lua.
      
      The file daemon/lua/kres-gen.lua will be regenerated only if explicitly
      deleted.  That requires building with debug symbols and gdb on $PATH.
      06b0d3d4