Re: Rate

Alby <[email protected]> Fri, 14 Feb 2003 14:32:27 -0500 (EST)
Newsgroups gmane.linux.linux-router
Message-ID <[email protected]>


h3ct0r:

	(ipchains) is only refering to the traffic control of specific
ports (nntp, pop, smtp, ftp, dns, etc...). In Jeroen's case, he was asking
how he could control the bandwidth of folks downloading files on the same
network as websurfers. Since downloading doesn't use a specific port,
(ipchains) cannot tier the bandwidth of the downloads. The remedy would
be to teir the bandwidth of all ports over 1024, but then your going to
effect more than just downloaders. If somebody on that network starts up
a video feed via WinMedia/Real they too will have their bandwidth capped.

	I am saying that "generally" you could control the traffic on a
general scale, but in doing so you effect more than just those looking to
download. Incoming Traffic could be tiered, but even that web surfer who
might open up a video/audio feed would then fall under the incoming-traffic
rules.

	Overall, the only resolution I can think of for Jeroen would be
to code something on an application level to tier downloads. But since
I don't code, I network, I cannot comment on what path to take down that
road. But if somebody has a specific link somewhere which shows how you
can tier the bandwidth of such a general function as download and at the
same time not effect other services which use ports over 1024, I'd be
very interested in reading it.

-Alby





> 
> in the ipchains-HOWTO exist a many lines dedicated to this questions, 
> you can give more priority to www port, nos not to ftp port.
> read de ipchains-HOWTO or iptables-HOWTO (www.linuxdoc.org)
> 
> 
> > From: "Jeroen Steenhuis (Dutch Plating Power BV)"
> > <[email protected]>
> > To: <[email protected]>
> > Sent: Friday, February 14, 2003 7:27 AM
> > Subject: [LRP] Rate
> > 
> > 
> > > > Is it possible to give download processes less priority (bandwidh)
> > then
> > > > somebody who is browsing the internet?
> > > >
> > > > People here are getting angry if sombody downloads a file,
> > browsing gets
> > > > very slow...

_______________________________________________
linux-router maillist  -  [email protected]
http://www.linuxrouter.org/mailman/listinfo/linux-router