[squid-users] Squid doesn't call helper

Amos Jeffries squid3 at treenet.co.nz
Tue Oct 20 11:38:20 UTC 2020


On 20/10/20 6:18 pm, Kornexl, Anton wrote:
> Squid 4.10 on Ubuntu 20.04
> 
>  
> 
> The configured program is started but not called (or the result not used)
> 

Please check cache.log to find out which of those two very different
things is happening.

One means the ACL is not being checked or credentials not provided. The
other means credentials are invalid.

You may need to set this directive:
  debug_options 11,2 29,5 28,4

> The authentication window does not show up in the browser

That means the auth result was not deny.


> 
> All request are denied because acl proxyuser doesn’t match
> 

There is no deny line in your shown config using auth ACLs.


> The same config runs on squid 3.5.27 on Ubuntu 18.04 and squid 4.13 on
> opensuse 4.13
> 
>  
> 
> How can i debug this problem
> 

Check cache.log with this directive set:
  debug_options 11,2 29,5 28,4


> Other helpers are also not called/used
> 
>  

That strongly implies you have an ordering problem in your config file.
One early ACL allowing or denying traffic before any helpers get checked.


> 
> http_access allow jufi1
> 
> http_access allow jufi1-6
> 
> http_access allow jufi2
> 
> http_access allow jufi2-6
> 

Since they are all the same type, and used the same way at the same time
You can combine all those ACLs into one name.

> 
> http_access allow proxyusers
> 

Please try the recommended auth config:

  http_access deny !proxyusers
  http_access allow localnet



Amos


More information about the squid-users mailing list