[squid-users] delay-pool based on authentication

Yuri yvoinov at gmail.com
Mon Mar 26 14:01:28 UTC 2018


Probably, yes.

I'm not so good in delay pools, but I guess you moving to right direction.

First require to make clean users separation.

I think, Amos can consult you better. ;-)


26.03.2018 19:46, vvv25 at gmx.net пишет:
> 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 at gmail.com>:
>
>> https://wiki.squid-cache.org/Features/DelayPools
>>
>>
>> 24.03.2018 21:15, vvv25 at gmx.net пишет:
>>> 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 at lists.squid-cache.org
>>> http://lists.squid-cache.org/listinfo/squid-users
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-- 
"C++ seems like a language suitable for firing other people's legs."

*****************************
* C++20 : Bug to the future *
*****************************


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20180326/4429a8b8/attachment.sig>


More information about the squid-users mailing list