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

Bug#47625: bandwidth limitation wanted



On Fri, 2001-09-21 at 06:22, Matt Zimmerman wrote:
> On Wed, Sep 19, 2001 at 09:49:13PM -0500, Colin Watson wrote:
> 
> > On Tue, Sep 04, 2001 at 02:34:14PM +0200, Paolo Redaelli wrote:
> > > 
> > > I would like to have a --bandwidth-limit=30kbps like option.
> > 
> > Why not use a package designed for limiting bandwidth, like shaper?
("Do
> > one thing and do it well.")
> 
> Or, batch your downloads and run them at off-peak times.
I've read the docs of both shaper and shaperd.
I need something to limit the bandwidth available to a particular
user/program, because the program that use most of the bandwidth (i.e.:
apt-get upgrade) runs on the gateway machine. I can't just limit http
bandwidth coming from gateway machine (originating from 127.0.0.1).
A possible solution is to make bandwith-eater program pass throught a
proxy on the gateway machine that limits their bandwidth. 
I searched for such a program (apt-cache search proxy , looking at the
description of every program), but I can't found it. Perhaps Squid in
its gorgeous completeness has some feature like this.

...

I've looked at it and it seems that it is possible do achieve it with
squid. Well, now I wonder: is there anything smaller/simpler?
There's an italian says: "Curiosity killed the cat" 

        MIAOOHOHO
        Paolo Redaelli


PS for the italian: "Don't say 'cat' if don't have it in your bag"
(Trapattoni)
PPS: mhmh I'll look if I can do a quick hack in python. 




Reply to: