From: =?iso-8859-1?Q?John_B=E4ckstrand?= Date: Fri, 12 Jul 2002 11:42:39 +0000 Subject: Re: [LARTC] Shaping per type/size of connection Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org > Hi! > Currently I'm controlling 4 Mbit Connection based on the source and > destination ports, so that ftp traffic doesn't clog the line and udp packets > and other time critical things (ssh, irc, etc...) get priority. > > Normally that works just fine, but two problems remain: > > - How do I recognize traffic from non-standard ports? > (like a ftp-server on port 1337) > > - Big http-transfers still clog the line > I want my users to be able to surf fast. But when they download > big files from a webserver this transfer should be slowed down. > > Perhaps a way to slow down any connection that exceeds a certain size would > solve both problems. Any suggestions, pointers or ideas for a better policy > are welcome! WFQ seems to do just this, but in lack of any real implementation there is wrr: http://wipl-wrr.sourceforge.net/ It has the ability to automatically lower the weights of streams with high bandwidth-usage. --- John B=E4ckstrand _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/