Search squid archive

Re: Bandwidth by URL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/4/05, Daniel Figueira <daniel.figueira@xxxxxxxxx> wrote:
> Let's say I have a 1Mbps link to the internet. I want to create a list
> of "important urls". All urls that are NOT in the "important urls"
> list can only use 500kbps while all URLs in the "important urls" list
> get to use the full 1Mbps. Is this possible? Can I implement this
> using delay pools?
> 
> In one line: I want to limit everything except a list of urls.
> 
> Thank you
> 

Well this has been answerd many times allready but let's have a look
at this example:

# start...
# add the list of urls one at atime (regular expression)
acl mysites url_regex -i ^http://news\.yahoo\.com
acl mysites url_regex -i ^http://finance\.yahoo\.com
acl mysites url_regex -i ^http://maps\.yahoo\.com
# and so on .....
# configure delay pool
delay_pools 1
delay_class 1 1
delay_parameters 1 64000/64000
delay_access 1 deny mysites
delay_access 1 allow all
# end...

This well limit all traffic to 512kbps except for the urls in (mysites) acl.

-- 
Regards.
Abu Khaled


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux