[squid-users] grouping multiple cache peers possible?

roee klinger roeeklinger60 at gmail.com
Wed Dec 22 15:21:56 UTC 2021


Hey

I have a group of about 6 cache peers:

cache_peer 100.70.162.11 parent 16211 0 proxy-only default name=proxy16211
cache_peer 100.70.162.12 parent 16212 0 proxy-only default name=proxy16212
cache_peer 100.70.162.13 parent 16213 0 proxy-only default name=proxy16213

cache_peer 100.70.163.11 parent 16311 0 proxy-only default name=proxy16311
cache_peer 100.70.163.12 parent 16312 0 proxy-only default name=proxy16312
cache_peer 100.70.163.13 parent 16313 0 proxy-only default name=proxy16313


I would like to allow user162_acl access only to the peers that start with
100.70.162 or that have a name that starts with proxy162, or maybe form a
group for them.
For example:

cache_peer_access 100.70.162.* allow user162_acl

or

cache_peer_access proxy162* allow user162_acl

or

cache_peer_access group=proxy162 allow user162_acl


is that possible to do with Squid or do I have to manually put a line for
each peer, for example:

cache_peer_access proxy16211 allow user162_acl
cache_peer_access proxy16212 allow user162_acl
cache_peer_access proxy16213 allow user162_acl


Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20211222/13555b46/attachment.htm>


More information about the squid-users mailing list