Search squid archive

Re: Config Recommendations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/12/2016 4:05 a.m., creditu@xxxxxx wrote:
> 
> Quick follow up.  When using debug 28,3 does this record
> cache_peer_access and deny_info acls in the cache log?  Since I'm using
> the same ACL declaration  for both the cache_peer_access and http_access
> statements,  in a lot of cases, I just want to make sure I'm
> interpreting  the ACL debug information correctly.
> 

In 3.1 that debug level logs details of ACL tests, regardless of where
that test is used.

Current Squid log the config line being checked at one of those levels.
But IIRC that is not available in 3.1.


> For example:
> acl www dstdomain www.example.com
> cache_peer 10.10.10.1 parent 80 0 no-query no-digest originserver
> round-robin
> cache_peer_access 10.10.10.1 allow www
> cache_peer_access 10.10.10.1 deny all
> 
> cache_peer 10.10.10.2 parent 80 0 no-query no-digest originserver
> round-robin
> cache_peer_access 10.10.10.2 allow www
> cache_peer_access 10.10.10.2 deny all
> . . . 
> http_access allow www
> 

For any given request http_access is checked long before cache_peer_access.

see <http://wiki.squid-cache.org/SquidFaq/OrderIsImportant> about
callout sequence.

Amos

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux