Delay Pools Squid for youtube, facebook

Hi

I want to limit bandwidth by using delay pools in Squid for youtube, facebook
some experts please recommend.

Thanks

Hi

Could be made manually, have you tried? Squid - Delay Pools Bandwidth Management

not if I could create a module for NS7, It will be good idea @alefattorini @giacomo @davidep

regards

I can’t get it, please open a new topic trying to describe use case and benefits of that solution. @davide_marini might be interested.

1 Like

Squid delay pools are on my todo list since some months. I’ve collected some notes, hoping to find time to work on the code soon.
I’ll count on you as beta testers.

4 Likes

Hi

Here is my configure for download, Overall limit 2 Mbps, Per host 15KB/s
.
.
.# Deny requests to certain unsafe ports
http_access deny !Safe_ports

.# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports

.#Overall limit 2 Mbps, Per host 15KB/s
delay_pools 1
delay_class 1 3
delay_parameters 1 256000/512000 -1/-1 16000/32000
acl download_limit urlpath_regex -i "/etc/squid/format_videos"
delay_access 1 allow all download_limit

.# Only allow cachemgr access from localhost
http_access allow localhost manager
http_access deny manager
.
.

I try to test but a speed for download per host around 60~100KB/s, what is wrong?

Thanks

1 Like

I finally found some time to experiment with squid delay pools.
All my tests worked as expected, bandwidth was correctly limited per host.
I used your same configuration, experimenting with values between 64 bits/s (I know it’s silly) and 4 MBit/s.
Commands used:

export http_proxy=demosecurity:3128
wget http://speedtest.wdc01.softlayer.com/downloads/test500.zip

Hello Filippo

Thank you and when are you release ?

No ETA, since this is just the first testing step.