]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
policy: log selected actions
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 15 Dec 2021 15:11:46 +0000 (16:11 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 21 Dec 2021 14:23:21 +0000 (15:23 +0100)
commit461581868b4416ef210a47167e072f44cef8acfa
tree11419e6170f434dacad95bc681597123ded6b5ee
parentbfa1665199d1d1c112221c6765942c7a7bcfb566
policy: log selected actions

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)
NEWS
daemon/lua/kres-gen-30.lua
daemon/lua/kres-gen-31.lua
daemon/lua/kres-gen.sh
modules/policy/policy.lua