Dear Yuri,
thank you for your quick reply.
I spend weekend trying and testing some options.
My problem is, i cannot separate authenticated users from not
authenticated.
Here in detail:
if I try to do something like this
---- cut ----
acl users proxy_auth "/etc/squid/users"
http_access allow users
delay_pools 2
delay_class 1 1
delay_parameters 1 -1/-1 # no limit
delay_access 1 allow users
delay_access 1 deny all
delay_class 2 3
delay_parameters 2 -1/-1 -1/-1 196608/786432 # no limit, no limit, 1.5
Mbit/s per user 6.0 Mbis/s once
delay_access 2 allow all
---- cut ----
then every user is asked for authentication. If they cancel that, they
cannot access nothing.
if I try to start with the restricted delay pool
---- cut ----
delay_pools 2
delay_class 1 1
delay_parameters 1 -1/-1 # no limit
delay_access 1 allow users
delay_access 1 deny all
delay_class 2 3
delay_parameters 2 -1/-1 -1/-1 196608/786432 # no limit, no limit, 1.5
Mbit/s per user 6.0 Mbis/s once
delay_access 2 allow all
acl users proxy_auth "/etc/squid/users"
http_access allow users
---- cut ----
than every user is restricted and no query for authentication occurs.
How can I separate not authenticated users from authenticated?
I cannot use IPs because all IPs are in the same range.
Thank you in advance!
Regards,
Vitaly
Am Sat, 24 Mar 2018 16:20:24 +0100 schrieb Yuri <yvoinov@xxxxxxxxx>:
https://wiki.squid-cache.org/Features/DelayPools
24.03.2018 21:15, vvv25@xxxxxxx пишет:
Dear Comunity,
I have the following question:
Is it possible with squid to select delay pool depending on whether
the user is authenticated or not?
Background:
I want to set up a slow delay pool by default. (for unauthenticated
users)
For registered users I want to assign another delay pool with no
restriction (full speed).
Any suggestion is welcome.
Thank you very much!
Regards,
Vitaly
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users