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 u

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 abou

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

2021-01-12 Thread Eliezer Croitoru
quid-users] cache_peer selection based on username 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 >

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 lik

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, > > I

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

2021-01-10 Thread roee klinger
ail.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 based

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 externa