From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Fri, 24 Jan 2003 17:39:48 +0000 Subject: Re: [LARTC] Filter for large packets? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Friday 24 January 2003 10:43, Simon Stemplinger wrote: > Hi, > > i am using the wondershaper script on a DSL-router-firewall combination > for several LAN clients. My Problem is that the port based filter rules > dont match bulk traffic satisfyingly, because many file sharing programs > allow to use custom ports. Usually a few connections that is not > recognized as bulk are enough to fill up the 1:20 queue and slow down > www and other normal traffic. Can anyone tell me a filter rule that > matches Packets greater that a certain number of bytes. I think > classifying outgoing packets > 512 or 1024 bytes as bulk should help > here. Do you think this is a good idea, or am i missing something? Maybe iptables can help you. It has a length match option so you can mark the packets based on the lengths. 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/