Re: [squid-users] cache_peer selection

2023-05-13 Thread Amos Jeffries
On 13/05/2023 2:53 am, Alex Rousskov wrote: On 5/12/23 07:28, Alexeyяр Gruzdov wrote: Hello Guys! Thank you for your help that was before! Could you explain somethings - For example I have a five cache_peer servers peer1 peer2 peer3 peer4 And users like: User-100 User-101 For

Re: [squid-users] cache_peer selection

2023-05-12 Thread Alex Rousskov
On 5/12/23 07:28, Alexeyяр Gruzdov wrote: Hello Guys! Thank you for your help that was before! Could you explain somethings - For example I have a five cache_peer servers peer1 peer2 peer3 peer4 And users like: User-100 User-101 For forwarding requests over  existed cache_peer I use an

[squid-users] cache_peer selection

2023-05-12 Thread Alexeyяр Gruzdov
Hello Guys! Thank you for your help that was before! Could you explain somethings - For example I have a five cache_peer servers peer1 peer2 peer3 peer4 And users like: User-100 User-101 For forwarding requests over existed cache_peer I use an external ACL and "note" option - all works

Re: [squid-users] cache_peer selection based on username

2021-01-12 Thread roee klinger
Hey Amos, Thanks, I fixed the keys with the proper "_" character. Seems like I was in a hurry and did some config mistakes, "proxy0.2" and "proxy0.3" are supposed to be "proxy1" and "proxy2". Regarding the helper, I also forgot to mention, I am using 2 helpers, one for IP whitelisting and one for

Re: [squid-users] cache_peer selection based on username

2021-01-12 Thread Amos Jeffries
On 12/01/21 9:17 pm, Eliezer Croitoru wrote: Hey Amos, One thing that the auth helper cannot do with this note is the ttl. The auth ttl is different then the request IP binding/routing. That can be added in via the the key_extras detail. Though I am still worried that the OP *only* asked

Re: [squid-users] cache_peer selection based on username

2021-01-12 Thread Eliezer Croitoru
to use 0-1. Eliezer Eliezer Croitoru Tech Support Mobile: +972-5-28704261 Email: ngtech1...@gmail.com Zoom: Coming soon -Original Message- From: squid-users On Behalf Of Amos Jeffries Sent: Tuesday, January 12, 2021 3:46 AM To: squid-users@lists.squid-cache.org Subject: Re: [s

Re: [squid-users] cache_peer selection based on username

2021-01-11 Thread Amos Jeffries
On 11/01/21 8:06 am, roee klinger wrote: Thanks, Eliezer, I was able to get it working. Here is an example in case anybody runs into this in the future: acl mynote1 note mykey note1 acl mynote2 note mykey note2 FYI, key names ending with "_" character are reserved for custom keys

Re: [squid-users] cache_peer selection based on username

2021-01-11 Thread Eliezer Croitoru
le: +972-5-28704261 Email: ngtech1...@gmail.com <mailto:ngtech1...@gmail.com> Zoom: Coming soon From: roee klinger Sent: Sunday, January 10, 2021 5:51 PM To: squid-users@lists.squid-cache.org Cc: Eliezer Croitoru Subject: Re: [squid-users] cache_peer selection based on username

Re: [squid-users] cache_peer selection based on username

2021-01-10 Thread NgTech LTD
Squid provides the acl login or username. http://www.squid-cache.org/Doc/config/acl/ should have maybe ident. you will need to include a usernames file which contains them. I believe a note in a helper should do that better. Eliezer On Sun, Jan 10, 2021, 17:33 roee klinger wrote: > Hey, > >

Re: [squid-users] cache_peer selection based on username

2021-01-10 Thread roee klinger
..@gmail.com > > Zoom: Coming soon > > > > > > *From:* squid-users *On > Behalf Of *roee klinger > *Sent:* Sunday, January 10, 2021 5:33 PM > *To:* squid-users@lists.squid-cache.org > *Subject:* [squid-users] cache_peer selection based on username > > > > Hey

Re: [squid-users] cache_peer selection based on username

2021-01-10 Thread roee klinger
From: squid-users On Behalf Of > roee klinger > Sent: Sunday, January 10, 2021 5:33 PM > To: squid-users@lists.squid-cache.org > Subject: [squid-users] cache_peer selection based on username > > Hey, > > I am trying to figure out the best way to select cache peers ba

Re: [squid-users] cache_peer selection based on username

2021-01-10 Thread Eliezer Croitoru
gtech1...@gmail.com Zoom: Coming soon From: squid-users On Behalf Of roee klinger Sent: Sunday, January 10, 2021 5:33 PM To: squid-users@lists.squid-cache.org Subject: [squid-users] cache_peer selection based on username Hey, I am trying to figure out the best way to select cache peers

[squid-users] cache_peer selection based on username

2021-01-10 Thread roee klinger
Hey, I am trying to figure out the best way to select cache peers based on the client username, I have read extensively but I cannot figure out the best way to do it. so far I have: external_acl_type user_whitelist_external children-max=20 ttl=300 %>lp %>a script.sh acl whitelisted_users

Re: [squid-users] cache_peer selection

2010-01-29 Thread Amos Jeffries
Dieter Bloms wrote: Hi, On Wed, Jan 27, Soporte Técnico AlemNet wrote: How can i make cache_peer selection for blocks of ip of my network ? Example. 192.168.0.xxx i want to use cache_peer 172.16.1.1 192.168.1.xxx i want to use cache_peer 172.16.1.2 192.168.1.xxx i want to use DIRECT this

[squid-users] cache_peer selection

2010-01-27 Thread Soporte Técnico AlemNet
How can i make cache_peer selection for blocks of ip of my network ? Example. 192.168.0.xxx i want to use cache_peer 172.16.1.1 192.168.1.xxx i want to use cache_peer 172.16.1.2 192.168.1.xxx i want to use DIRECT any help ?

Re: [squid-users] cache_peer selection

2010-01-27 Thread Dieter Bloms
Hi, On Wed, Jan 27, Soporte Técnico AlemNet wrote: How can i make cache_peer selection for blocks of ip of my network ? Example. 192.168.0.xxx i want to use cache_peer 172.16.1.1 192.168.1.xxx i want to use cache_peer 172.16.1.2 192.168.1.xxx i want to use DIRECT this has to be done