Skip to content
Snippets Groups Projects
  1. Dec 21, 2021
    • 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)
      Verified
      46158186
    • Tomas Krizek's avatar
      ede: mark every error with a unique tag · 4df10646
      Tomas Krizek authored
      To allow for easier debugging, each origin of an extended DNS error has
      a unique 4-byte identifier that is included in the extra_text message.
      
      The identifiers are random 4-letter base32 strings, generated with:
      base32 /dev/random | head -c 4
      Verified
      4df10646
    • Tomas Krizek's avatar
      policy: add extended errors · 42bcbad2
      Tomas Krizek authored
      Verified
      42bcbad2
  2. Nov 24, 2021
  3. Nov 23, 2021
  4. Nov 19, 2021
  5. Oct 20, 2021
  6. Aug 10, 2021
    • Vladimír Čunát's avatar
      policy trace-logging improvements · 54ab3f78
      Vladimír Čunát authored and Tomas Krizek's avatar Tomas Krizek committed
      The logs can be triggered from policy actions, in per-request fashion:
      - they're on LOG_DEBUG level but always sent, regardless of log config
      - those messages will show double group tags: "[reqdbg][foo   ]"
        (but they lack proper meta-data - about location of the log's origin)
      - reqdbg is *in addition* to normal logs, so the lines may be duplicated
        if that's how the logging was configured
      Verified
      54ab3f78
  7. Jul 29, 2021
  8. Jun 23, 2021
  9. Feb 08, 2021
  10. Dec 31, 2020
  11. Nov 10, 2020
  12. Oct 21, 2020
  13. Jun 30, 2020
  14. Apr 14, 2020
  15. Apr 02, 2020
  16. Mar 25, 2020