Yes, I could, but the whole point of this approach is to limit only the
download of specific files and leave the browsing to full speed, so no, I
can't use cbq/htb or any other qdisc. What do you mean by DAP PORTS? DAP
connects to the proxy server like a regular browser connecting to a proxy
server ( IE, firefox, opera, etc.), so maybe you are confusing things a bit
or maybe I did not understood you correctly.
Alex
----- Original Message -----
From: "ashkan almaspour" <ashkan.almaspour@gmail.com>
To: "Alex" <alex@hostingcenter.ro>
Sent: Tuesday, June 21, 2005 10:55 AM
Subject: Re: [squid-users] crazy delay pools
you can use cbq for DAP Ports to limit download.
On 6/21/05, Alex <alex@hostingcenter.ro> wrote:
> Hi guys,
> I have a very annoying problem and maybe someone here might be able to
> help
> me.
>
> Here's the thing: I have squid setup with delay pools in the following
> config:
>
> acl files urlpath_regex -i "/etc/squid/files"
>
> delay_pools 3
> delay_class 1 3
> delay_class 2 3
> delay_class 3 3
>
> delay_parameters 1 -1/-1 -1/-1 8192/8192
> delay_parameters 2 -1/-1 -1/-1 4096/4096
> delay_parameters 3 -1/-1 -1/-1 16384/16384
>
> delay_access 1 deny nolimit
> delay_access 1 deny clients-32k
> delay_access 1 deny clients-128k
> delay_access 1 allow files
> delay_access 1 deny all
>
> delay_access 2 deny clients-64k
> delay_access 2 deny clients-128k
> delay_access 2 deny nolimit
> delay_access 2 allow files
> delay_access 2 deny all
>
> delay_access 3 deny nolimit
> delay_access 3 deny clients-64k
> delay_access 3 deny clients-32k
> delay_access 3 allow files
> delay_access 3 deny all
>
> contents of /etc/squid/files
>
> \.exe$
> \.com$
> \.mp3$
> \.mp2$
> \.vqf$
> \.tbz$
> \.tar$
> \.gz$
> \.bz2$
> \.rpm$
> ....and so on
>
> Basically what I need to do is limit the download of specific file types
> (by
> extension). This works for most of the users, but I get reports from
> various
> people that by using DAP (download accelerator) with "extreme acceleration
> speed" setting, the can override the limits that I impose. Why is this
> happening? I tested the setup with FlashGet, GetRight and other download
> managers, but only with DAP I have managed to get these unexpected
> results.
>
> I'm using squid-2.5.STABLE9-2 on a RH 9
>
> Anybody knows why and maybe what I can do to stop this?
>
> Alex
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by LG-Network(http://www.lgnet.ro), and is
> believed to be clean.
>
>
-- This message has been scanned for viruses and dangerous content by LG-Network(http://www.lgnet.ro), and is believed to be clean. -- This message has been scanned for viruses and dangerous content by LG-Network(http://www.lgnet.ro), and is believed to be clean.Received on Tue Jun 21 2005 - 07:02:56 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:02 MDT