Re: [squid-users] Delay pool not limiting each connection

2018-09-17 Thread Arsalan Hussain
you need to understand delay_parameters 1 625000/625000 625000/625000 625000/625000 625000/625000( You defined 625000 max and also given 625000 to individual) see this how you can limit each user bytes of bandwidht delay_parametes1 62500/62500 25000/25000 # each user has given an average o

Re: [squid-users] Delay pool not limiting each connection

2018-09-17 Thread Arsalan Hussain
Dear Sekarit you are using class-1 pool which has a single aggregate bucket to allocate to all users and every one can use the maximum available FCFS basis. you need to use class-2 delay pool has an aggregate bucket and 256 individual buckets which distributed among clients t keep them in limit w

Re: [squid-users] Delay pool not limiting each connection

2018-09-17 Thread Sekar Duraisamy
Anyone can help me on this? On Mon, Sep 17, 2018 at 6:45 PM, Sekar Duraisamy wrote: > Hello All, > > I have tried to limit the bandwidth for each requests with 5Mbps speed > with below. > > delay_pools 1 > delay_class 1 2 > delay_access 1 allow all > delay_parameters 1 625000/625000 625000/625000

Re: [squid-users] Delay pool not limiting each connection

2018-09-17 Thread Amos Jeffries
On 18/09/18 1:15 AM, Sekar Duraisamy wrote: > Hello All, > > I have tried to limit the bandwidth for each requests with 5Mbps speed > with below. > > delay_pools 1 > delay_class 1 2 > delay_access 1 allow all > delay_parameters 1 625000/625000 625000/625000 > > > But it is limiting total bandwi

Re: [squid-users] delay-pool based on authentication

2018-03-30 Thread vvv25
Thank you very much for support! Yes, using the config pattern I gave in my first post to this thread. Just replace the exclusion 'deny' with 'allow'. " Use: delay_access 2 allow !users all " This didn't work for me because users have to be authenticated first. So I configured 2 instances no

Re: [squid-users] delay-pool based on authentication

2018-03-28 Thread Amos Jeffries
On 29/03/18 07:31, vvv25 wrote: > >> On 27/03/18 02:51, vvv25 wrote: >>> Thank you for your time Amos, >>> >>> the thing is, I want to have the connection to be restricted by default. >>> May be I don't understand how to define acl's in the right order. >>> Or I cannot figure out how to separate

Re: [squid-users] delay-pool based on authentication

2018-03-28 Thread vvv25
On 27/03/18 02:51, vvv25 wrote: Thank you for your time Amos, the thing is, I want to have the connection to be restricted by default. May be I don't understand how to define acl's in the right order. Or I cannot figure out how to separate authenticated users from not authenticated. You misu

Re: [squid-users] delay-pool based on authentication

2018-03-26 Thread Amos Jeffries
On 27/03/18 02:51, vvv25 wrote: > Thank you for your time Amos, > > the thing is, I want to have the connection to be restricted by default. > May be I don't understand how to define acl's in the right order. > Or I cannot figure out how to separate authenticated users from not > authenticated. Y

Re: [squid-users] delay-pool based on authentication

2018-03-26 Thread Amos Jeffries
On 27/03/18 02:46, vv...@gmx.net wrote: > 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. > This is because a) nobody is allowed to even use the proxy unless the

Re: [squid-users] delay-pool based on authentication

2018-03-26 Thread Yuri
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, vv...@gmx.net пишет: > Dear Yuri, > > thank you for your quick reply. > I spend weekend trying and

Re: [squid-users] delay-pool based on authentication

2018-03-26 Thread vvv25
Thank you for your time Amos, the thing is, I want to have the connection to be restricted by default. May be I don't understand how to define acl's in the right order. Or I cannot figure out how to separate authenticated users from not authenticated. Do you have some suggestions? Any help w

Re: [squid-users] delay-pool based on authentication

2018-03-26 Thread vvv25
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

Re: [squid-users] delay-pool based on authentication

2018-03-24 Thread Amos Jeffries
On 25/03/18 04:15, vvv25 wrote:> > 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). The thing with DelayPool is that to "set" no restriction you *dont* assign a delay pool. Wha

Re: [squid-users] delay-pool based on authentication

2018-03-24 Thread Yuri
https://wiki.squid-cache.org/Features/DelayPools 24.03.2018 21:15, vv...@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 poo

Re: [squid-users] delay pool not workin

2017-09-26 Thread Amos Jeffries
On 23/09/17 04:30, Alex Gutiérrez Martínez wrote: Pool #3 requires the domain name of a single transaction to simultaneously be *mail.yahoo.com AND *.linkedin.com AND *.youtube.com   Obviously that is impossible, so nothing can match the line that allows. Pool #1 should match a few things. But

Re: [squid-users] delay pool not workin

2017-09-26 Thread Amos Jeffries
On 23/09/17 03:48, Heiler Bemerguy wrote: Amos, talking about delay pools, I have a question: does it work if the content being served is on a cache peer? It should, yes. Peers are no different than any other server in terms of I/O bytes. The only thing I'm aware of in current Squid is may

Re: [squid-users] delay pool not workin

2017-09-22 Thread Alex Gutiérrez Martínez
Pool #3 requires the domain name of a single transaction to simultaneously be *mail.yahoo.com AND *.linkedin.com AND *.youtube.com   Obviously that is impossible, so nothing can match the line that allows. Pool #1 should match a few things. But probably not what you are testing with. I suggest y

Re: [squid-users] delay pool not workin

2017-09-22 Thread Heiler Bemerguy
Amos, talking about delay pools, I have a question: does it work if the content being served is on a cache peer? I think it only "shapes" traffic from a SERVER to squid, right? not from a peer cache to squid.. :/ I'm having problems because we use a huge Microsoft Updates repository as a cac

Re: [squid-users] delay pool not workin

2017-09-22 Thread Amos Jeffries
On 23/09/17 02:31, Alex Gutiérrez Martínez wrote: Could someone be so kind  to explain to me why my rules do not work on my delays pools? ... Thanks again Mr. Jeffries, i change my delay to: acl navegación src 192.168.9.0/24 acl lento dstdomain "/etc/squid3/bloqueo/lento"   --> .youtube.com

Re: [squid-users] delay pool not workin

2017-09-22 Thread Alex Gutiérrez Martínez
Could someone be so kind  to explain to me why my rules do not work on my delays pools? i got this acl "lento", in spanish means slow acl lento url_regex -i "/etc/squid3/bloqueo/lento" his format is the next: .youtube.com .facebook.com First problem: you are putting domains in dstdomain fo

Re: [squid-users] delay pool not workin

2017-09-21 Thread Amos Jeffries
On 22/09/17 09:07, Alex Gutiérrez Martínez wrote: Could someone be so kind  to explain to me why my rules do not work on my delays pools? i got this acl "lento", in spanish means slow acl lento url_regex -i "/etc/squid3/bloqueo/lento" his format is the next: .youtube.com .facebook.com

Re: [squid-users] Delay pool class 2

2016-05-02 Thread Amos Jeffries
On 2/05/2016 9:52 p.m., Magic Link wrote: > Hi, > > i want to use delay pool with class 2. I don't understand how > requests are handled on each bucket. There are 2 type of buckets in > class 2, one aggregate and 256 individuals buckets. When aggregate > bucket is used ? Is there a priority betwee

Re: [squid-users] Delay pool with large negative numbers

2015-10-30 Thread Chico Venancio
This seems to be fixed in 3.5.10. Tough I still see a few large-ish negative numbers (-7373 for example) they seem to stop growing indefinitely. Chico Venancio CEO e Diretor de Criação VM TECH - (98) 9 8800 2743 2015-10-25 23:17 GMT-03:00 Amos Jeffries : > On 26/10/2015 5:23 a.m., Chico Venanci

Re: [squid-users] Delay pool with large negative numbers

2015-10-25 Thread Amos Jeffries
On 26/10/2015 5:23 a.m., Chico Venancio wrote: > Is everyone still having this issue? > We tried messing arround with the .conf and used a 32bit debian as well to > no avail. > No. Just those of you having it. I am suspecting that the problem is related to CONNECT tunnels. Since HTTPS traffic is

Re: [squid-users] Delay pool with large negative numbers

2015-10-25 Thread Chico Venancio
Is everyone still having this issue? We tried messing arround with the .conf and used a 32bit debian as well to no avail. Chico Venancio > 2015-10-14 0:03 GMT-03:00 Amos Jeffries : >> >> On 14/10/2015 11:46 a.m., Chico Venancio wrote: >> > I have configured delay pools for a client that delays ac

Re: [squid-users] Delay pool with large negative numbers

2015-10-13 Thread Amos Jeffries
On 14/10/2015 11:46 a.m., Chico Venancio wrote: > I have configured delay pools for a client that delays access to a few > sites, including youtube and facebook. > It seems to work for some clients, and has significantly reduced link > congestion. However, some clients seem to be unaffected by the

Re: [squid-users] Delay pool change

2015-04-15 Thread Amos Jeffries
On 15/04/2015 11:33 a.m., Hector Chan wrote: > Hi all, > > If I configure a new delay pool in the config file or reconfigure an > existing delay pool, do I have to restart squid? Can I send a SIGHUP to it > to re-read the config file instead ? If I send a SIGHUP, what would happen > to downloads

Re: [squid-users] delay pool

2015-02-19 Thread Amos Jeffries
On 20/02/2015 11:20 a.m., Hector Chan wrote: > Hi all, > > Is there anyway I can apply the delay pool to only cache miss ? I wanted > to let the client download as fast as possible if the request resulted in a > cache hit, but not on cache miss. That is the default behaviour for delay pools. Th