Hello Guys!
Could you explain me how the annotation transaction works and how it related to acl that I could to use with cache_peers
ok! Lets look to my case example:
1. I have three of cache_peers:
cache_peer peerG1.com parent 40001 0 no-query no-digest name=peerG1 round-robin
cache_peer peerG2.com parent 40002 0 no-query no-digest name=peerG2 round-robin
cache_peer peerG3.com parent 40003 0 no-query no-digest name=peerG3 round-robin
proxy_peerG3_acl proxy_auth "../users.peerG3.txt" proxy_all_acl proxy_auth "../users.all.txt"
And these all works like I need, But - once I am changing a list of users (add or remove) - I need to use "squid -k reconfigure"...... but of course better to go without this reconfigure and use ACL like in a dynamic mode. Squid supports the external ACL, but this is slow ACL, but cache_peer doesn't support the low_acl. Also there is one more option - called annotation_transaction - could you explain me how I could to use this in my case ? Thank you. AlexG
Could you explain me how the annotation transaction works and how it related to acl that I could to use with cache_peers
ok! Lets look to my case example:
1. I have three of cache_peers:
cache_peer peerG1.com parent 40001 0 no-query no-digest name=peerG1 round-robin
cache_peer peerG2.com parent 40002 0 no-query no-digest name=peerG2 round-robin
cache_peer peerG3.com parent 40003 0 no-query no-digest name=peerG3 round-robin
2. I have cache_peer_acces policy:
cache_peer_access peerG1 allow proxy_peerG1_acl cache_peer_access peerG1 allow proxy_all_acl cache_peer_access peerG1 deny all
cache_peer_access peerG2 allow proxy_peerG2_acl cache_peer_access peerG2 allow proxy_all_acl cache_peer_access peerG2 deny all
cache_peer_access peerG3 allow proxy_peerG3_acl
cache_peer_access peerG3 allow proxy_all_acl
cache_peer_access peerG3 deny all
3. And of course ACL defined:
proxy_peerG1_acl proxy_auth "../users.peerG1.txt"
proxy_peerG2_acl proxy_auth "../users.peerG2.txt"cache_peer_access peerG1 allow proxy_peerG1_acl cache_peer_access peerG1 allow proxy_all_acl cache_peer_access peerG1 deny all
cache_peer_access peerG2 allow proxy_peerG2_acl cache_peer_access peerG2 allow proxy_all_acl cache_peer_access peerG2 deny all
cache_peer_access peerG3 allow proxy_peerG3_acl
proxy_peerG3_acl proxy_auth "../users.peerG3.txt" proxy_all_acl proxy_auth "../users.all.txt"
And these all works like I need, But - once I am changing a list of users (add or remove) - I need to use "squid -k reconfigure"...... but of course better to go without this reconfigure and use ACL like in a dynamic mode. Squid supports the external ACL, but this is slow ACL, but cache_peer doesn't support the low_acl. Also there is one more option - called annotation_transaction - could you explain me how I could to use this in my case ? Thank you. AlexG
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users