Search squid archive

Re: How to select parent proxy based on user password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

You can use a customized password helper.
I am not sure if it is possible but you might be able to add “note” with your helper which will do just that.
With the username alone you cannot do what you want.
You might be able to use the same username but with a different realm but I am not sure
if squid has native support for multiple realms.

Maybe someone else might know if it is possible to write a auth helper which can add note for an authentication session.

Eliezer

----
Eliezer Croitoru
Tech Support
Mobile: +972-5-28704261
Email: mailto:ngtech1ltd@xxxxxxxxx

From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Ajb B
Sent: Tuesday, September 22, 2020 11:36 PM
To: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject:  How to select parent proxy based on user password

I know you can map a username to a parent proxy (i.e. cache_peer) using and acl directive, e.g.


```
acl parent_proxy_testuser_1 proxy_auth testuser1 

cache_peer <IP> parent <port> 0 proxy-only
cache_peer_access parent1 allow parent_proxy_testuser_1
cache_peer_access parent1 deny !parent_proxy_testuser_1
``` 
But how can you map the user password to a parent proxy?
E.g, so that
testuser1:qvmgPUJ5xW-121@18.234.74.214:3292
testuser1:qvmgPUJ5xW-122@18.234.74.214:3292
testuser1:qvmgPUJ5xW-123@18.234.74.214:3292
map to a different parent proxy?

I know that the external_acl_type directive allows you to create a custom ACL helper, but it does not accept a user password parameter.

Any help appreciated.

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux