Re: traffic control based on the downloaded bytes

Linux Advanced Routing and Traffic Control

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

 



On Wednesday 06 November 2002 20:49, Gabor Csuri wrote:
> > > Hi All,
> > >
> > >  I'm new on this list. I'm the admin of the server in our house.
> > > We have a 768k/128k DSL line.
> > > There are 11 flats using this bandwith without any control.
> > > Some of them are "high donwloader" and the browsing speed is
> >
> > decreasing a
> >
> > > lot when the downloaders are waken up. :(
> > > I have an idea how the downloaders and the browsers can use
> >
> > this bandwith
> >
> > > without any conflict.
> > > My question is: Is it possible with iproute2 ?
> > > My idea: I define a bandwith to downloaders (maybe 512k).
> > > If any of the downloading thread exceed a limit (maybe 4Mbyte) it
> > > passed into the 512k bandwith.
> > > How can I do this trick?
> >
> > Go to the LARTC website and look at the WonderShaper script. It
> > does pretty
> > much what you want. Just set the port list to what you consider
> > "downloading" (probably ftp and ftpdata). I use this to keep my downloads
> > from interfering with my roommate's gaming.
>
> Hi Kenneth,
>  I've taken a look to wondershaper and I think this is a half-solution for
> me.
> I can set up priority by port-number and other properties but I think I
> can't separate packet which is a part of a 70KB gif image (part of a web
> page) or it's a part of a 800MB CD image coming from a website also. This
> is my problem.
You have to use some tricks if you want to do this.  See my previous post.  I 
think the delay pools of squid are the best solution.  The problem is that tc 
nor iptables has an idea about what's transferred.  Squids does.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux