[squid-users] Limit Bandwith for youtube....

Amos Jeffries squid3 at treenet.co.nz
Fri Aug 26 02:03:13 UTC 2016


On 26/08/2016 8:35 a.m., erdosain9 wrote:
> Hi.Thanks
> Yes i have a delay pool pointing to googlevideo.com and its working... but,
> it's strange because... look this.
> The proxy for now is being tested. And I have very few users (ip) in the
> proxy.
> So i have this delay pool and acl.
> 
...
> 
> The strange is that if i look the Download avg in Mikrotik i see too much
> download in the proxy ip.  as if the proxy was downloading a lot of data.
> (but like i say i just have a few users) and if my delay pools are
> working... the proxy should not exceed 1200kb... and sometimes reaches much
> higher values.
> 
> On the other hand, if I see the ip (in the mikrotik) dialoguing with the
> proxy, many are from google .... and reach much higher speeds than allowed.
> But if I see a video ... yes, really slow connection, ie the delay pool
> seems to work.
> What can be what is happening ??

YouTube is not only using googlevideo domain. That domain is for the
video itself, but many other parts of the visible page and pieces of the
vidoe layer and TLS dependencies use other Google owned or hosted
domains. All of that can use hundreds of objects not in *.googlevideo.com.

There are other things too. But I dont have time right now to write that
up. You can use debug_options 11,2 to see the HTTP message headers and
figure it out.

Amos



More information about the squid-users mailing list