On Tue, 22 Nov 2005, Ghislain Garcon wrote:

in squid 2.5 stable 12, when aclNBCheck is called, the callback is called even if no acl has matched.

Yes. It returns the result of the access control via callback to the provided callback.

Is there a tip to know in the callback if an acl has matched or not? (
Without adding a value in allow_t )

No.

aclNBCheck is a complete access list check, i.e. checking the whole http_access ruleset, not just a single acl element list.

If your rule set is not a simple allow/deny type ruleset but you need to know which rule (not acl) was matched then this needs to be redesigned somewhat.

What is it you need to match and have as result?

Regards
Henrik

Reply via email to