[squid-users] Debugging http_access and http_reply_access

squid-users at filter.luko.org squid-users at filter.luko.org
Thu Feb 4 00:21:36 UTC 2016


> debug_options 11,2 28,3
> 
> 11,2 gives you the HTTP messages.
> 28,3 gives you the ACL processing action and results.
> 
> Its a bit like quantum mechanics at the moment though. You can know 
> the request mesage details. OR you can know the ACL matching. Not both 
> at once.
>
>
> > Are there any other debug sections which would be more appropriate 
> > to the task?  If not, is there another more suitable approach?
> 
> Why exactly are you doing this? What are you trying to achieve with it?

The intent is to record which rule matched each request, for accounting & historical purposes.  And also to help less-technical administrators to find (& resolve) unexpected behaviour in their http_access policies.  Ideally, it would be great to be able to get this information through observation alone, without making changes to a live config.

Luke




More information about the squid-users mailing list