Re: aclNBCheck and callback

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 22 Nov 2005 14:34:01 +0100 (CET)

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
Received on Tue Nov 22 2005 - 06:34:05 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:15 MST