From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Stemplinger Date: Fri, 24 Jan 2003 17:38:58 +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="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org I figure it should be tc filter add dev $DEV parent 1: protocol ip prio 10 u32 \ match ip protocol 6 0xff \ match u8 0x05 0x0f at 0 \ match u8 0x04 0x04 at 2 \ match u8 0x10 0xff at 33 \ flowid 1:30 but it doesn=B4t work... what am I doing wrong? regards, Simon Simon Stemplinger wrote: > Hi, > > i am using the wondershaper script on a DSL-router-firewall=20 > combination for several LAN clients. My Problem is that the port based=20 > filter rules dont match bulk traffic satisfyingly, because many file=20 > sharing programs allow to use custom ports. Usually a few connections=20 > that is not recognized as bulk are enough to fill up the 1:20 queue=20 > and slow down www and other normal traffic. Can anyone tell me a=20 > filter rule that matches Packets greater that a certain number of=20 > bytes. I think classifying outgoing packets > 512 or 1024 bytes as=20 > bulk should help here. Do you think this is a good idea, or am i=20 > missing something? > > What would be a good size threshold to separate normal from bulk traffic? > > regards, > Simon _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/