Re: [squid-users] Howto make Squid config dependent on hostname?

2022-09-16 Thread Alex Rousskov
On 9/16/22 10:22, Hildegard Meier wrote: I dnot know what "common #line notion" should be (searching on internet matches only the squid man page) It is a poorly worded reference to "#line" directives used by some programming languages for documenting the original location of lines in

Re: [squid-users] Howto make Squid config dependent on hostname?

2022-09-16 Thread Hildegard Meier
I found about man squid -f file Use the given config-file instead of /etc/squid/squid.conf . If the file name starts with a ! or | then it is assumed to be an external command or command line. Can for example be used to pre-process the configuration before it

Re: [squid-users] Howto make Squid config dependent on hostname?

2022-09-16 Thread Alex Rousskov
On 9/16/22 06:30, Hildegard Meier wrote: Squid currently only supports three kinds of conditions: true, false, and integer equality comparison (as documented). I think it would be very good to give some concrete examples of how one can use the if-condition. I agree. For now, your best

Re: [squid-users] Howto make Squid config dependent on hostname?

2022-09-16 Thread Hildegard Meier
> > node1:/etc/hosts > ... > 192.0.2.1 node1.example.com > 192.0.2.2 node2.example.com peer-cache-node.example.com > ... > > node2:/etc/hosts > ... > 192.0.2.1 node1.example.com peer-cache-node.example.com > 192.0.2.2 node2.example.com > ... Thanks, but having

Re: [squid-users] Howto make Squid config dependent on hostname?

2022-09-16 Thread Hildegard Meier
> Squid currently only supports three kinds of conditions: true, > false, and integer equality comparison (as documented). I think it would be very good to give some concrete examples of how one can use the if-condition. The current abstract and vague "documentation" is totally unclear to me.

Re: [squid-users] [squid][v5.6] : problem with "slow" or "fast" acl

2022-09-16 Thread PERROT Eric DNUM SDCAST BST SSAIM
Hello Amos, This seems to be a solved issue. With your advices, I have manage to limit all my user except those who had a login starting by cg_*. 1 - annotation of the "cg_*" 's flow : _# Comptes generiques_ acl userCgPrefix proxy_auth_regex ^cg_ acl markCgGroup annotate_transaction

Re: [squid-users] squid-users Digest, Vol 97, Issue 20

2022-09-16 Thread Amos Jeffries
On 13/09/22 00:39, Adiseshu Channasamudhram wrote: Hello Amos Thank you for looking in to this. Below is the configuration ... FYI, below is advice for Squid-4+, if you have an older version then please upgrade ASAP. Current stable Squid is v5.7. ### logformat

Re: [squid-users] Is there a way to ignore incoming If-Modified-Since request?

2022-09-16 Thread Amos Jeffries
Sorry, No there is no option to ignore revalidations on incoming traffic. Cheers Amos ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users

Re: [squid-users] [squid][v5.6] : problem with "slow" or "fast" acl

2022-09-16 Thread Amos Jeffries
On 16/09/22 19:11, PERROT Eric DNUM SDCAST BST SSAIM wrote: Hello Elizer and David, Sorry for the delay, I have been monopolized by another subject... I am not sur to understand how note acl could help me. If the idear of "note acl" is similar to the one proposed by Amos (creating a group

Re: [squid-users] Howto make Squid config dependent on hostname?

2022-09-16 Thread Amos Jeffries
On 16/09/22 15:26, Grant Taylor wrote: On 9/15/22 8:29 AM, Hildegard Meier wrote: Hello, Hi, we have two Squid servers (Linux hosts) and each shall have the very same config file /etc/squid/squid.conf which is versioned and deployed from a central deployment server.  So each host shall

Re: [squid-users] [squid][v5.6] : problem with "slow" or "fast" acl

2022-09-16 Thread PERROT Eric DNUM SDCAST BST SSAIM
Hello Elizer and David, Sorry for the delay, I have been monopolized by another subject... I am not sur to understand how note acl could help me. If the idear of "note acl" is similar to the one proposed by Amos (creating a group with annotate acl). My requirement is to have special