On 8/4/05, Daniel Figueira <daniel.figueira@gmail.com> 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 KhaledReceived on Thu Aug 04 2005 - 11:25:01 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:01 MDT