Re: [squid-users] How to use cbq

From: lupuscramus <lupuscramus_at_hyperthese.net>
Date: Thu, 23 Dec 2010 19:05:33 +0100

> > Do you know someone who managed to use the squid marked packets
> > to make a QoS based on ip source with classful queuing ? (cbq, htb)
>
> Yes, I do this. For an example you could have a look at my website. It
> is out of date and probably not exactly what you are looking for, but it
> would probably give you an idea:
>
> http://www.andybev.com/index.php/Fair_traffic_shaping_an_ADSL_line_for_a_lo
> cal_network_using_Linux
>
On your website I don't see where you use Squid to mark packets. Hum, I've
noticed something : when i make
tc class show dev eth0
I can see there are packets which pass by the class I want : they are packets
marked by Squid : the source is the proxy and the destination is the web
server. They represent a little proportion of packets between my user and my
web server (there is mainly download with HTTP)

However, I want to limit the download rate : packets from web server to proxy
server.

Is there a way to do this ? Was the feature written for this ?

Thanks,
Grégoire Leroy
Received on Thu Dec 23 2010 - 18:05:46 MST

This archive was generated by hypermail 2.2.0 : Sat Dec 25 2010 - 12:00:04 MST