Skip to content
Snippets Groups Projects
  1. Jan 11, 2022
  2. Jan 10, 2022
  3. Jan 05, 2022
  4. Dec 22, 2021
    • Vladimír Čunát's avatar
      daemon/zimport: rewrite, support ZONEMD · d7a065c5
      Vladimír Čunát authored
      The approach of the code was rather hacky, simulating some packets
      arriving from upstream and making the module stack CONSUME that.
      Instead we take a direct approach now: use the simplified validator API
      and then insert into cache directly.
      
      One effect is improved performance, and consequently roughly halving
      the lag which happens when prefill module invokes this.
      (With root zone the lag goes down to 0.1 s from over 0.2 s,
       on my relatively fast CPU.  Fortunately it's just once a day.)
      d7a065c5
  5. Dec 21, 2021
    • Vladimír Čunát's avatar
      policy: add policy.IPTRACE logging action · 89aab472
      Vladimír Čunát authored and Tomas Krizek's avatar Tomas Krizek committed
      89aab472
    • Tomas Krizek's avatar
      policy: log selected actions · 46158186
      Tomas Krizek authored
      The following actions will now be logged in debug level (or request
      tracing): ANSWER, DENY, DENY_MSG, DROP, REFUSE, TC
      
      This can be useful for RPZ and other policy debugging.
      
      Purposefully ommitted actions:
      PASS - since it's the same as normal processing
      REROUTE - the action itself comes from renumber module
      STUB,FORWARD,TLS_FORWARD - this could be more confusing than useful
        (e.g. when response comes from cache)
      46158186
    • Tomas Krizek's avatar
      libknot: bump dependency version to 3.0.2 · 5ec65369
      Tomas Krizek authored
      Version 2.9 isn't supported anymore anyway, but 3.0.2 is needed for
      extended error constants.
      5ec65369
  6. Nov 30, 2021
  7. Nov 25, 2021
  8. Nov 23, 2021
  9. Nov 19, 2021
  10. Nov 04, 2021
  11. Oct 20, 2021
  12. Oct 13, 2021
  13. Oct 11, 2021
  14. Oct 07, 2021
  15. Sep 20, 2021
    • Tomas Krizek's avatar
      lua: use notice level for log() · 39dd89db
      Tomas Krizek authored and Vladimír Čunát's avatar Vladimír Čunát committed
      By default, notice level is set. Thus, if users want to use log() in the
      same way as pre-5.4, they'd have to increase the log level. This bumps
      the log level of log() function to keep the same behavior.
      39dd89db
  16. Aug 19, 2021
  17. Aug 18, 2021
    • Tomas Krizek's avatar
      doh2: ensure memory from unsent streams is freed · da6bbccb
      Tomas Krizek authored
      The nghttp2 on_stream_close callback is only called for streams that are
      properly closed. If we need to tear down the HTTP connection due to any
      reason (e.g. IO error in underlying layer), some streams may not be
      propely closed.
      
      Due to HTTP/2 flow control, we may also wait indefinitely for the data
      to be written. This can also cause the stream to never be properly
      closed.
      
      To handle these cases, a reference of allocated data is kept and we
      ensure everything is freed once we're closing the http session.
      da6bbccb
  18. Aug 10, 2021
  19. Jul 30, 2021
  20. Jul 29, 2021
  21. Jul 28, 2021
  22. Jun 23, 2021
  23. Jun 18, 2021
    • Vladimír Čunát's avatar
      daemon/worker: fix a memory leak · 5b2ba2d2
      Vladimír Čunát authored and Tomas Krizek's avatar Tomas Krizek committed
      Discovered case: TCP write towards upstream fails due to ECONNRESET,
      and on this place of code we "forget" the whole qr_task and thus its
      corresponding kr_request, so it remains unanswered and using memory.
      5b2ba2d2
  24. Jun 10, 2021
  25. May 31, 2021
    • Tomas Krizek's avatar
      rename kind="doh" to kind="doh_legacy" · 6d1a878e
      Tomas Krizek authored
      The purpose of this change is to make it harder to accidentally use the
      legacy DoH implementation and free up the "doh" kind which may be used
      as an alias to a modern implementation in the future.
      6d1a878e
  26. May 06, 2021
  27. May 05, 2021
  28. Apr 30, 2021
  29. Apr 28, 2021
  30. Apr 14, 2021
  31. Apr 10, 2021
  32. Apr 08, 2021