Re: [squid-users] delay_pool

From: Carlos Manuel Trepeu Pupo <charlie.mtp_at_gmail.com>
Date: Fri, 29 Jul 2011 14:11:29 -0400

Well, here it's the scenario:

few servers 10.10.10.0/24
4 PC's admin 10.10.10.0/24
1 client across a Kerio 10.10.10.52
bandwidth : 120 Kb/s

I just want to filter Kerio client, but nothing happen !! A few weeks
ago, someone tell me about the thrust in XFF, but I don't understand.

I thought that with this delay access I will control everybody, but
not !!! HELP !!!

delay_pools 1

delay_class 1 1
delay_parameters 1 1024/1024
delay_access 1 allow all

This delay it's just a test, and not working !!!

2011/7/29 Christian Tosta <christian.tosta_at_gmail.com>:
> acl BadDownloads url_regex -i "/etc/squid/rules/bad_downloads.url_regex"
> acl BigDownloads rep_header Content-Length ^[3-9]?+[0-9]{0,7}$ # Match sizes
> of 30 MB to infinity
> ### Bandwidth Control
> #############################################################################
> delay_initial_bucket_level 100
> delay_pools 3
> delay_class 1 2
> delay_parameters 1 -1/-1 -1/-1
> delay_access 1 allow Servers # Free bandwidth for servers
> delay_access 1 deny all
> delay_class 2 2
> delay_parameters 2 120000/120000 4000/8000 # Big Downloads at 32-64kbps per
> IP
> delay_access 2 allow Downloads
> delay_access 2 allow BigDownloads
> delay_access 2 deny all
> delay_class 3 2
> delay_parameters 3 120000/120000 20000/28000 # Other Access at 160-224kbps
> per IP
> delay_access 3 allow IpsIntranet
> delay_access 3 deny all
>
> 2011/7/29 Carlos Manuel Trepeu Pupo <charlie.mtp_at_gmail.com>
>>
>> In my squid 3.0 STABLE1 I have the following configuration:
>>
>> delay_pools 1
>>
>> delay_class 1 1
>> delay_parameters 1 1024/1024
>> delay_access 1 allow all
>>
>> But one user are downloading at 120 Kb/s
>>
>> Why it's that ?
>
>
Received on Fri Jul 29 2011 - 18:11:37 MDT

This archive was generated by hypermail 2.2.0 : Sat Jul 30 2011 - 12:00:02 MDT