Skip to content
Snippets Groups Projects
  1. Dec 07, 2017
  2. Nov 28, 2017
  3. 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
  4. Aug 01, 2017
  5. 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
  6. Jul 07, 2017
  7. Jun 13, 2017
  8. Mar 21, 2017
  9. 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
  10. Feb 28, 2017
  11. Feb 16, 2017
  12. Jan 27, 2017
  13. Jan 11, 2017
  14. 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