[squid-users] External ACL TTL not working as expected

Amos Jeffries squid3 at treenet.co.nz
Sat Jan 31 09:33:10 UTC 2015


On 31/01/2015 5:14 p.m., Alberto Perez wrote:
> Amos,
> You rock it,
> Thanks a lot, now its working pretty well.
> 
> I was partialy aware of PHP limitation when used to build external
> helpers any way I gave it not too much importance since was working
> fine, I will rewrite code in python ASAP, I appreciate your
> recommendations.
> 
> Please if is not too much to ask, I will like to ask you about another
> issue I have not been able to make it work, im trying to skip access
> logging of a subnet, in old versions of squid (3.1) I was using the
> following configuration
> 
> 
> acl ip_upredes src 10.2.100.0/24
> 
> log_access deny ip_upredes
> log_access allow all
> 
> 
> As of squid 3.4 log_access directive was no longer available I was
> trying to change to
> 
> cache_access_log stdio:/var/log/squid3/access.log
> cache_store_log stdio:/var/log/squid3/store.log
> access_log none ip_upredes
> 

That should be:

 access_log stdio:/var/log/squid3/access.log squid !ip_upredes

Amos



More information about the squid-users mailing list